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

Annotation of /smsdaemon/SmsDaemon.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 88 - (hide annotations) (download)
Mon Jun 16 09:04:05 2008 UTC (15 years, 11 months ago) by torben
File MIME type: text/plain
File size: 256 byte(s)
Refactored some of the main.cpp code into SmsDaemon class.


1 torben 88
2     #include "GsmModem.h"
3    
4     #include "Sms.h"
5    
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     };

  ViewVC Help
Powered by ViewVC 1.1.20