summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/config/config_data.hh
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/config/config_data.hh')
-rw-r--r--2005/i/robert/src/config/config_data.hh10
1 files changed, 7 insertions, 3 deletions
diff --git a/2005/i/robert/src/config/config_data.hh b/2005/i/robert/src/config/config_data.hh
index bf62bd8..0d0944e 100644
--- a/2005/i/robert/src/config/config_data.hh
+++ b/2005/i/robert/src/config/config_data.hh
@@ -56,10 +56,14 @@ class ConfigData
template<typename T>
void add (const std::string &id, const T &val);
private:
- /// Lance le parseur.
- void parse (const std::string &file);
+ /// Initialise (lit la ligne de commande et les fichiers de config.
+ void init (int &argc, char **&argv, const std::string &file);
+ /// Lance le parseur sur un fichier.
+ void parseFile (const std::string &file);
+ /// Lance le parseur sur une chaîne.
+ void parseString (const std::string &s);
};
-#include "config/config_data.tcc"
+#include "config_data.tcc"
#endif // config_data_hh