Parent Directory | Revision Log | Patch
revision 95 by torben, Mon Jun 16 12:21:30 2008 UTC | revision 675 by torben, Tue Apr 27 20:07:12 2010 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | #ifndef __SMSDAEMON_H__ | |
2 | #define __SMSDAEMON_H__ | |
3 | ||
4 | #include "ISmsTransceiver.h" | |
5 | ||
#include "GsmModem.h" | ||
6 | ||
#include "Sms.h" | ||
7 | #include <time.h> | #include <time.h> |
8 | #include <sys/time.h> | |
9 | ||
10 | class SMS; | |
11 | class EmbeddedHttp; | |
12 | ||
13 | class SmsDaemon | class SmsDaemon |
14 | { | { |
15 | public: | public: |
16 | SmsDaemon(GsmModem& modem) | SmsDaemon(ISmsTransceiver& modem) |
17 | : _modem(modem) {} | : _modem(modem) {} |
18 | ||
19 | ||
20 | void Start(); | void Start(); |
# | Line 21 private: | Line 26 private: |
26 | ||
27 | void MainLoop(); | void MainLoop(); |
28 | ||
29 | GsmModem& _modem; | void ReloadConfig(); |
30 | ||
31 | ISmsTransceiver& _modem; | |
32 | timeval _lastSmsCheck; | timeval _lastSmsCheck; |
33 | EmbeddedHttp* embeddedHttp; | |
34 | }; | }; |
35 | ||
36 | ||
37 | #endif // __SMSDAEMON_H__ | |
38 |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |