From 430524810e67d3c223a2ab819f45b882b419c45d Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 14 Jun 2005 12:29:40 +0000 Subject: Incorporated the use of the Info object everywhere... also using the log functionality. --- src/miav_config.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/miav_config.h') 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; -- cgit v1.2.3