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

Diff of /smsdaemon/Common.h

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

revision 94 by torben, Mon Jun 16 11:57:48 2008 UTC revision 157 by torben, Mon Dec 8 21:28:40 2008 UTC
# Line 24  public: Line 24  public:
24    
25          bool isDaemon;          bool isDaemon;
26          bool isDebug;          bool isDebug;
27            bool daemonized;
28          int uid;          int uid;
29          int gid;          int gid;
30          volatile bool mainContinue;          volatile bool mainContinue;
31    
32            std::string configFilePath;
33    
34          std::string pidfile;          std::string pidfile;
35          std::string spooldir;          std::string spooldir;
36    
# Line 37  public: Line 40  public:
40    
41          class PluginManager* GetPluginManager();          class PluginManager* GetPluginManager();
42          class TaskManager* GetTaskManager();          class TaskManager* GetTaskManager();
43            class ConfigFile* GetConfigfile();
44            void SetConfigfile(class ConfigFile*);
45    
         void logMessage(std::string str);  
         void setLogfile(std::string file) {_logFile = file;}  
46    
47          void loadConfig(int argc, char* argv[]);          void loadConfig(int argc, char* argv[]);
48    
# Line 54  private: Line 57  private:
57    
58          class PluginManager* _pluginManager;          class PluginManager* _pluginManager;
59          class TaskManager* _taskManager;          class TaskManager* _taskManager;
60            class ConfigFile* _configFile;
61    
62          void printUsage();          void printUsage();
63    
         std::string _logFile;  
64  };  };
65    
66    

Legend:
Removed from v.94  
changed lines
  Added in v.157

  ViewVC Help
Powered by ViewVC 1.1.20