Parent Directory | Revision Log | Patch
revision 148 by torben, Sun Dec 7 20:18:20 2008 UTC | revision 196 by torben, Thu Dec 18 06:53:29 2008 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | #ifndef __SMSDAEMON_H__ | #ifndef __SMSDAEMON_H__ |
2 | #define __SMSDAEMON_H__ | #define __SMSDAEMON_H__ |
3 | ||
4 | #include "IGsmModem.h" | #include "ISmsTransceiver.h" |
5 | ||
6 | #include <time.h> | #include <time.h> |
7 | #include <sys/time.h> | #include <sys/time.h> |
# | Line 11 class SMS; | Line 11 class SMS; |
11 | class SmsDaemon | class SmsDaemon |
12 | { | { |
13 | public: | public: |
14 | SmsDaemon(IGsmModem& modem) | SmsDaemon(ISmsTransceiver& modem) |
15 | : _modem(modem) {} | : _modem(modem) {} |
16 | ||
17 | ||
18 | void Start(); | void Start(); |
# | Line 24 private: | Line 24 private: |
24 | ||
25 | void MainLoop(); | void MainLoop(); |
26 | ||
27 | IGsmModem& _modem; | ISmsTransceiver& _modem; |
28 | timeval _lastSmsCheck; | timeval _lastSmsCheck; |
29 | }; | }; |
30 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |