summaryrefslogtreecommitdiff
path: root/src/info.h
diff options
context:
space:
mode:
authordeva <deva>2005-06-14 12:29:40 +0000
committerdeva <deva>2005-06-14 12:29:40 +0000
commit430524810e67d3c223a2ab819f45b882b419c45d (patch)
tree0abb4b2dd3dabc414c755c30e52d0b5022ee8670 /src/info.h
parent0836a6e06f86e366017da3b2b2c132b3a4f2c877 (diff)
Incorporated the use of the Info object everywhere... also using the log functionality.
Diffstat (limited to 'src/info.h')
-rw-r--r--src/info.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/info.h b/src/info.h
index b142a33..99e55b7 100644
--- a/src/info.h
+++ b/src/info.h
@@ -37,6 +37,10 @@
#ifndef __MIAV_INFO_H__
#define __MIAV_INFO_H__
+#include "miav_config.h"
+// Cyclic include :(
+class MiavConfig;
+
#include <time.h>
#include <sys/types.h>
#include <unistd.h>
@@ -49,7 +53,6 @@ using namespace std;
class Info {
public:
Info();
-
virtual ~Info() {}
virtual void error(char* fmt, ...) = 0;
@@ -58,6 +61,8 @@ public:
void log(char* fmt, ...);
protected:
+ MiavConfig *config;
+
pthread_mutex_t mutex;
string log_filename;
};