summaryrefslogtreecommitdiff
path: root/lib/info.h
diff options
context:
space:
mode:
authordeva <deva>2006-07-20 17:53:04 +0000
committerdeva <deva>2006-07-20 17:53:04 +0000
commitc8df40b62cf30029a4acd1a57c8c54add54dda9b (patch)
tree42d06a4d502c6e0fd0cdbf7f836fdaffd847efa5 /lib/info.h
parenta09f1b932560f11caf34a567ee226446a496a584 (diff)
Utilized the global info object.
Utilized the global info object.
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