Parent Directory | Revision Log | Patch
revision 88 by torben, Mon Jun 16 09:04:05 2008 UTC | revision 208 by torben, Sun Dec 21 18:41:08 2008 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | #ifndef __SMSDAEMON_H__ | |
2 | #define __SMSDAEMON_H__ | |
3 | ||
4 | #include "GsmModem.h" | #include "ISmsTransceiver.h" |
#include "Sms.h" | ||
5 | ||
6 | #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(ISmsTransceiver& modem) |
15 | : _modem(modem) {} | : _modem(modem) {} |
16 | ||
17 | ||
18 | void Start(); | void Start(); |
# | Line 21 private: | Line 24 private: |
24 | ||
25 | void MainLoop(); | void MainLoop(); |
26 | ||
27 | GsmModem& _modem; | void ReloadConfig(); |
28 | ||
29 | ISmsTransceiver& _modem; | |
30 | timeval _lastSmsCheck; | |
31 | }; | }; |
32 | ||
33 | ||
34 | #endif // __SMSDAEMON_H__ | |
35 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |