diff options
author | deva <deva> | 2005-06-14 12:29:40 +0000 |
---|---|---|
committer | deva <deva> | 2005-06-14 12:29:40 +0000 |
commit | 430524810e67d3c223a2ab819f45b882b419c45d (patch) | |
tree | 0abb4b2dd3dabc414c755c30e52d0b5022ee8670 /src/info.h | |
parent | 0836a6e06f86e366017da3b2b2c132b3a4f2c877 (diff) |
Incorporated the use of the Info object everywhere... also using the log functionality.
Diffstat (limited to 'src/info.h')
-rw-r--r-- | src/info.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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; }; |