aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Conf.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/Conf.hpp b/include/Conf.hpp
index dd8b003..35dab86 100644
--- a/include/Conf.hpp
+++ b/include/Conf.hpp
@@ -96,12 +96,6 @@ namespace sibs
virtual void finished() = 0;
};
- class Config
- {
- public:
- static Result<bool> readFromFile(const _tinydir_char_t *filepath, ConfigCallback &callback);
- };
-
enum OptimizationLevel
{
OPT_LEV_NONE,
@@ -497,6 +491,12 @@ namespace sibs
void processField(StringView name, const ConfigValue &value) override;
void finished() override;
};
+
+ class Config
+ {
+ public:
+ static Result<bool> readFromFile(const _tinydir_char_t *filepath, SibsConfig &config);
+ };
void readSibsConfig(const FileString &projectPath, const FileString &projectConfFilePath, SibsConfig &sibsConfig, FileString &buildPath);
}