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

Diff of /smsdaemon/SmsDaemon.h

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

revision 95 by torben, Mon Jun 16 12:21:30 2008 UTC revision 208 by torben, Sun Dec 21 18:41:08 2008 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  #include <time.h>  #include <time.h>
7    #include <sys/time.h>
8    
9    class SMS;
10    
11  class SmsDaemon  class SmsDaemon
12  {  {
13  public:  public:
14          SmsDaemon(GsmModem& modem)          SmsDaemon(ISmsTransceiver& modem)
15                  : _modem(modem) {}                          : _modem(modem) {}
16    
17    
18          void Start();          void Start();
# Line 21  private: Line 24  private:
24    
25          void MainLoop();          void MainLoop();
26    
27          GsmModem& _modem;          void ReloadConfig();
28    
29            ISmsTransceiver& _modem;
30          timeval _lastSmsCheck;          timeval _lastSmsCheck;
31  };  };
32    
33    
34    #endif // __SMSDAEMON_H__
35    

Legend:
Removed from v.95  
changed lines
  Added in v.208

  ViewVC Help
Powered by ViewVC 1.1.20