summaryrefslogtreecommitdiff
path: root/src/info.h
diff options
context:
space:
mode:
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;
};