summaryrefslogtreecommitdiff
path: root/2004/i/nono/src/config/config.h
diff options
context:
space:
mode:
Diffstat (limited to '2004/i/nono/src/config/config.h')
-rw-r--r--2004/i/nono/src/config/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/2004/i/nono/src/config/config.h b/2004/i/nono/src/config/config.h
index f56d558..f6f22df 100644
--- a/2004/i/nono/src/config/config.h
+++ b/2004/i/nono/src/config/config.h
@@ -41,6 +41,7 @@ class Config
int getNum (void);
Config &operator>> (int &num) { num = getNum (); return *this; }
const char *getId (void);
+ void getId (std::string &s);
bool getBool (void);
Config &operator>> (bool &b) { b = getBool (); return *this; }
double getFloat (void);
@@ -59,6 +60,7 @@ class Config
bool eof (void);
// Lance une erreur, on a pas trouvé ce qu'on voulais.
void noId (void);
+ void throwError (const char *msg);
private:
// Appellé par le lexer pour changer de fichier.
static bool wrap_handler (void *p);