summaryrefslogtreecommitdiff
path: root/src/miav_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/miav_config.h')
-rw-r--r--src/miav_config.h9
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;