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

Diff of /smsdaemon/Common.h

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

revision 146 by torben, Sun Dec 7 20:06:12 2008 UTC revision 196 by torben, Thu Dec 18 06:53:29 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;
# Line 42  public: Line 43  public:
43          class ConfigFile* GetConfigfile();          class ConfigFile* GetConfigfile();
44          void SetConfigfile(class ConfigFile*);          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    
49          std::string getStatusMessage();          std::string getStatusMessage();
50  private:  private:
51          Common();          Common();
52          Common(const Common&) {}          Common(const Common&) {}
53          Common& operator=(const Common) {return *this;}          Common& operator=(const Common)
54            {
55                    return *this;
56            }
57          ~Common();          ~Common();
58    
59    
# Line 62  private: Line 64  private:
64    
65          void printUsage();          void printUsage();
66    
         std::string _logFile;  
67  };  };
68    
69    

Legend:
Removed from v.146  
changed lines
  Added in v.196

  ViewVC Help
Powered by ViewVC 1.1.20