diff options
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 |