diff options
author | deva <deva> | 2006-07-20 17:53:04 +0000 |
---|---|---|
committer | deva <deva> | 2006-07-20 17:53:04 +0000 |
commit | c8df40b62cf30029a4acd1a57c8c54add54dda9b (patch) | |
tree | 42d06a4d502c6e0fd0cdbf7f836fdaffd847efa5 /lib/info.h | |
parent | a09f1b932560f11caf34a567ee226446a496a584 (diff) |
Utilized the global info object.
Utilized the global info object.
Diffstat (limited to 'lib/info.h')
-rw-r--r-- | lib/info.h | 19 |
1 files changed, 7 insertions, 12 deletions
@@ -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 |