summaryrefslogtreecommitdiff
path: root/2004/i/nono/src/config/config.h
diff options
context:
space:
mode:
authorschodet2004-03-21 17:15:46 +0000
committerschodet2004-03-21 17:15:46 +0000
commit1be0aec720c1e3f1ffebc2844245933ac7d1c0a9 (patch)
tree25377ef2e1b1d64bc17a830ea213f67f7d41f0a0 /2004/i/nono/src/config/config.h
parent677ad16bf96efd9487e7659b15dafc718cd53b46 (diff)
Add: Logger.
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);