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

Contents of /smsdaemon/SmsDaemon.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 149 - (show annotations) (download)
Sun Dec 7 20:58:41 2008 UTC (15 years, 5 months ago) by torben
File MIME type: text/plain
File size: 411 byte(s)
Refactoring / rename:
        IGsmModem -> ISmsTransceiver
        GsmModem -> ModemTransceiver
        DebugGsmModem -> DebugTransceiver

Move DebugTransceiver to its own files.


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