-
-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1580 from mwestphal/rework_applicative_options
Rework applicative options
- Loading branch information
Showing
45 changed files
with
1,595 additions
and
1,289 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,20 @@ | ||
#ifndef F3DConfigFileTools_h | ||
#define F3DConfigFileTools_h | ||
/** | ||
* @class F3DConfigFileTools | ||
* @brief A namespace to recover path to config file and related directories, cross platform | ||
* | ||
* @brief A namespace to parse config files | ||
*/ | ||
#include "F3DOptionsTools.h" | ||
|
||
#ifndef F3DConfigFileTools_h | ||
#define F3DConfigFileTools_h | ||
|
||
#include <filesystem> | ||
#include <string> | ||
#include <vector> | ||
|
||
namespace F3DConfigFileTools | ||
{ | ||
std::filesystem::path GetUserConfigFileDirectory(); | ||
std::filesystem::path GetBinaryResourceDirectory(); | ||
std::vector<std::filesystem::path> GetConfigPaths(const std::string& configSearch); | ||
/** | ||
* Read config files using userConfig if any, return an optionEntries | ||
* containing ordered optionDict. | ||
*/ | ||
F3DOptionsTools::OptionsEntries ReadConfigFiles(const std::string& userConfig); | ||
} | ||
|
||
#endif |
Oops, something went wrong.