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

Diff of /smsdaemon/SmsDaemon.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 88 by torben, Mon Jun 16 09:04:05 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 "GsmModem.h"  #include "ISmsTransceiver.h"
5    
 #include "Sms.h"  
6    
7    #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;
33            EmbeddedHttp* embeddedHttp;
34  };  };
35    
36    
37    #endif // __SMSDAEMON_H__
38    

Legend:
Removed from v.88  
changed lines
  Added in v.675

  ViewVC Help
Powered by ViewVC 1.1.20