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

Diff of /smsdaemon/Task.h

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

revision 129 by torben, Sat Dec 6 19:30:20 2008 UTC revision 149 by torben, Sun Dec 7 20:58:41 2008 UTC
# Line 3  Line 3 
3    
4  #include <string>  #include <string>
5    
6  class IGsmModem;  class ISmsTransceiver;
7    
8  /* A Task is some piece of code that must be executed regularly, no matter whether  /* A Task is some piece of code that must be executed regularly, no matter whether
9   * the daemon has received any SMS.   * the daemon has received any SMS.
# Line 30  public: Line 30  public:
30    
31          std::string GetName() {return _name;}          std::string GetName() {return _name;}
32                    
33          virtual void ExecuteTask(IGsmModem& modem) = 0;          virtual void ExecuteTask(ISmsTransceiver& modem) = 0;
34    
35          bool IsTemporary() { return _isTemporary; }              bool IsTemporary() { return _isTemporary; }    
36          bool IsFinished() { return _isFinished; }          bool IsFinished() { return _isFinished; }

Legend:
Removed from v.129  
changed lines
  Added in v.149

  ViewVC Help
Powered by ViewVC 1.1.20