/[projects]/smsdaemon/SmsDaemon.h
ViewVC logotype

Contents of /smsdaemon/SmsDaemon.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 95 - (show annotations) (download)
Mon Jun 16 12:21:30 2008 UTC (15 years, 11 months ago) by torben
File MIME type: text/plain
File size: 297 byte(s)
Set an interval between sms reads from modem.

1
2 #include "GsmModem.h"
3
4 #include "Sms.h"
5 #include <time.h>
6
7
8 class SmsDaemon
9 {
10 public:
11 SmsDaemon(GsmModem& modem)
12 : _modem(modem) {}
13
14
15 void Start();
16 private:
17
18 void CreateLogMessage(SMS& sms,bool hasPlugin);
19
20 void CheckSms();
21
22 void MainLoop();
23
24 GsmModem& _modem;
25 timeval _lastSmsCheck;
26 };

  ViewVC Help
Powered by ViewVC 1.1.20