/[projects]/smsdaemon/common.h
ViewVC logotype

Diff of /smsdaemon/common.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 91 by torben, Tue Jun 10 15:34:19 2008 UTC revision 92 by torben, Mon Jun 16 11:30:20 2008 UTC
# Line 5  Line 5 
5  #define VERSION "smsdaemon v0.1 by Torben Nielsen\n"  #define VERSION "smsdaemon v0.1 by Torben Nielsen\n"
6    
7    
 #include "PluginManager.h"  
 #include "TaskManager.h"  
8    
9  //time_t is defines as long int ! //No need to include time.h  //time_t is defines as long int ! //No need to include time.h
10    
# Line 35  public: Line 33  public:
33          std::string pidfile;          std::string pidfile;
34          std::string spooldir;          std::string spooldir;
35    
         PluginManager pluginManager;  
         TaskManager taskManager;  
36          long int daemonStart;          long int daemonStart;
37    
38          SmsCounter smsCounter;          SmsCounter smsCounter;
39    
40            class PluginManager* GetPluginManager();
41            class TaskManager* GetTaskManager();
42    
43          void logMessage(std::string str);          void logMessage(std::string str);
44          void setLogfile(std::string file) {_logFile = file;}          void setLogfile(std::string file) {_logFile = file;}
45    
# Line 48  public: Line 47  public:
47    
48          std::string getStatusMessage();          std::string getStatusMessage();
49  private:  private:
50          Common() {}          Common();
51          Common(const Common&) {}          Common(const Common&) {}
52          Common& operator=(const Common) {return *this;}          Common& operator=(const Common) {return *this;}
53            ~Common();
54    
55    
56    
57            class PluginManager* _pluginManager;
58            class TaskManager* _taskManager;
59    
60          void printUsage();          void printUsage();
61    

Legend:
Removed from v.91  
changed lines
  Added in v.92

  ViewVC Help
Powered by ViewVC 1.1.20