--- smsdaemon/SmsDaemon.h 2008/12/07 12:06:01 140 +++ smsdaemon/SmsDaemon.h 2008/12/18 06:53:29 196 @@ -1,5 +1,7 @@ +#ifndef __SMSDAEMON_H__ +#define __SMSDAEMON_H__ -#include "GsmModem.h" +#include "ISmsTransceiver.h" #include #include @@ -9,8 +11,8 @@ 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__ +