diff options
author | deva <deva> | 2005-06-14 12:29:40 +0000 |
---|---|---|
committer | deva <deva> | 2005-06-14 12:29:40 +0000 |
commit | 430524810e67d3c223a2ab819f45b882b419c45d (patch) | |
tree | 0abb4b2dd3dabc414c755c30e52d0b5022ee8670 /src/miav_config.h | |
parent | 0836a6e06f86e366017da3b2b2c132b3a4f2c877 (diff) |
Incorporated the use of the Info object everywhere... also using the log functionality.
Diffstat (limited to 'src/miav_config.h')
-rw-r--r-- | src/miav_config.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/miav_config.h b/src/miav_config.h index 5d1fa29..4bbcc59 100644 --- a/src/miav_config.h +++ b/src/miav_config.h @@ -31,6 +31,9 @@ /* * $Log$ + * Revision 1.7 2005/06/14 12:29:40 deva + * Incorporated the use of the Info object everywhere... also using the log functionality. + * * Revision 1.6 2005/05/03 08:31:59 deva * Removed the error object, and replaced it with a more generic info object. * @@ -46,6 +49,8 @@ using namespace std; #include "info.h" +// Cyclic include :( +class Info; typedef struct __cfg { string *name; @@ -58,7 +63,7 @@ typedef struct __cfg { class MiavConfig { public: - MiavConfig(char *file, Info* ginfo); + MiavConfig(char *file, Info *info); ~MiavConfig(); int readInt(char *node); @@ -66,8 +71,6 @@ public: string *readString(char *node); float readFloat(char *node); - Info* getInfoObj(); - private: Info *info; |