--- smsdaemon/SmsDaemon.h 2008/06/16 09:04:05 88 +++ smsdaemon/SmsDaemon.h 2008/12/18 06:53:29 196 @@ -1,15 +1,18 @@ +#ifndef __SMSDAEMON_H__ +#define __SMSDAEMON_H__ -#include "GsmModem.h" - -#include "Sms.h" +#include "ISmsTransceiver.h" +#include +#include +class SMS; class SmsDaemon { public: - SmsDaemon(GsmModem& modem) - : _modem(modem) {} + SmsDaemon(ISmsTransceiver& modem) + : _modem(modem) {} void Start(); @@ -21,5 +24,10 @@ void MainLoop(); - GsmModem& _modem; + ISmsTransceiver& _modem; + timeval _lastSmsCheck; }; + + +#endif // __SMSDAEMON_H__ +