summaryrefslogtreecommitdiff
path: root/lib/info.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/info.h')
-rw-r--r--lib/info.h19
1 files changed, 7 insertions, 12 deletions
diff --git a/lib/info.h b/lib/info.h
index d215577..b499421 100644
--- a/lib/info.h
+++ b/lib/info.h
@@ -28,18 +28,13 @@
#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>
-#include <stdarg.h>
+//#include <time.h>
+//#include <sys/types.h>
+//#include <unistd.h>
#include <pthread.h>
-#include <semaphore.h>
+//#include <semaphore.h>
#include <string>
-using namespace std;
+//using namespace std;
class Info {
public:
@@ -52,10 +47,10 @@ public:
void log(char* fmt, ...);
protected:
- MiavConfig *config;
+ // MiavConfig *config;
pthread_mutex_t mutex;
- string log_filename;
+ std::string log_filename;
};
// For the global info object