--- smsdaemon/Common.h 2008/12/08 21:49:49 158 +++ smsdaemon/Common.h 2008/12/23 14:20:43 217 @@ -3,7 +3,6 @@ #include - //time_t is defines as long int ! //No need to include time.h class SmsCounter @@ -28,6 +27,7 @@ int uid; int gid; volatile bool mainContinue; + volatile bool reloadConfig; std::string configFilePath; @@ -36,6 +36,7 @@ long int daemonStart; + SmsCounter smsCounter; class PluginManager* GetPluginManager(); @@ -46,11 +47,15 @@ void loadConfig(int argc, char* argv[]); - std::string getStatusMessage(); + + std::string getStatusMessage(); private: Common(); Common(const Common&) {} - Common& operator=(const Common) {return *this;} + Common& operator=(const Common) + { + return *this; + } ~Common(); @@ -61,6 +66,7 @@ void printUsage(); + };