--- smsdaemon/Common.h 2008/12/18 06:53:29 196 +++ smsdaemon/Common.h 2010/04/27 21:06:53 678 @@ -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,6 +47,7 @@ void loadConfig(int argc, char* argv[]); + std::string getStatusMessage(); private: Common(); @@ -64,6 +66,7 @@ void printUsage(); + };