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

Diff of /smsdaemon/SmsDaemon.h

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

revision 145 by torben, Sun Dec 7 16:31:40 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 "IGsmModem.h"  
6    
7  #include <time.h>  #include <time.h>
8  #include <sys/time.h>  #include <sys/time.h>
9    
10  class SMS;  class SMS;
11    class EmbeddedHttp;
12    
13  class SmsDaemon  class SmsDaemon
14  {  {
15  public:  public:
16          SmsDaemon(IGsmModem& modem)          SmsDaemon(ISmsTransceiver& modem)
17                  : _modem(modem) {}                          : _modem(modem) {}
18    
19    
20          void Start();          void Start();
# Line 22  private: Line 26  private:
26    
27          void MainLoop();          void MainLoop();
28    
29          IGsmModem& _modem;          void ReloadConfig();
30    
31            ISmsTransceiver& _modem;
32          timeval _lastSmsCheck;          timeval _lastSmsCheck;
33            EmbeddedHttp* embeddedHttp;
34  };  };
35    
36    
37    #endif // __SMSDAEMON_H__
38    

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

  ViewVC Help
Powered by ViewVC 1.1.20