--- smsdaemon/SmsDaemon.h 2008/11/02 20:14:20 114 +++ smsdaemon/SmsDaemon.h 2008/12/18 06:53:29 196 @@ -1,16 +1,18 @@ +#ifndef __SMSDAEMON_H__ +#define __SMSDAEMON_H__ -#include "GsmModem.h" +#include "ISmsTransceiver.h" -#include "Sms.h" #include #include +class SMS; class SmsDaemon { public: - SmsDaemon(GsmModem& modem) - : _modem(modem) {} + SmsDaemon(ISmsTransceiver& modem) + : _modem(modem) {} void Start(); @@ -22,6 +24,10 @@ void MainLoop(); - GsmModem& _modem; + ISmsTransceiver& _modem; timeval _lastSmsCheck; }; + + +#endif // __SMSDAEMON_H__ +