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