--- smsdaemon/SmsDaemon.h 2008/06/16 09:04:05 88 +++ smsdaemon/SmsDaemon.h 2008/12/07 20:58:41 149 @@ -1,14 +1,17 @@ +#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) + SmsDaemon(ISmsTransceiver& modem) : _modem(modem) {} @@ -21,5 +24,10 @@ void MainLoop(); - GsmModem& _modem; + ISmsTransceiver& _modem; + timeval _lastSmsCheck; }; + + +#endif // __SMSDAEMON_H__ +