--- smsdaemon/SmsDaemon.h 2008/06/16 09:04:05 88 +++ smsdaemon/SmsDaemon.h 2010/04/27 20:07:12 675 @@ -1,15 +1,20 @@ +#ifndef __SMSDAEMON_H__ +#define __SMSDAEMON_H__ -#include "GsmModem.h" +#include "ISmsTransceiver.h" -#include "Sms.h" +#include +#include +class SMS; +class EmbeddedHttp; class SmsDaemon { public: - SmsDaemon(GsmModem& modem) - : _modem(modem) {} + SmsDaemon(ISmsTransceiver& modem) + : _modem(modem) {} void Start(); @@ -21,5 +26,13 @@ void MainLoop(); - GsmModem& _modem; + void ReloadConfig(); + + ISmsTransceiver& _modem; + timeval _lastSmsCheck; + EmbeddedHttp* embeddedHttp; }; + + +#endif // __SMSDAEMON_H__ +