Parent Directory | Revision Log
Make pretty astyle -t -b -N
1 | #ifndef __SMSDAEMON_H__ |
2 | #define __SMSDAEMON_H__ |
3 | |
4 | #include "ISmsTransceiver.h" |
5 | |
6 | #include <time.h> |
7 | #include <sys/time.h> |
8 | |
9 | class SMS; |
10 | |
11 | class SmsDaemon |
12 | { |
13 | public: |
14 | SmsDaemon(ISmsTransceiver& modem) |
15 | : _modem(modem) {} |
16 | |
17 | |
18 | void Start(); |
19 | private: |
20 | |
21 | void CreateLogMessage(SMS& sms,bool hasPlugin); |
22 | |
23 | void CheckSms(); |
24 | |
25 | void MainLoop(); |
26 | |
27 | ISmsTransceiver& _modem; |
28 | timeval _lastSmsCheck; |
29 | }; |
30 | |
31 | |
32 | #endif // __SMSDAEMON_H__ |
ViewVC Help | |
Powered by ViewVC 1.1.20 |