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

Diff of /smsdaemon/DebugTransceiver.h

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

revision 149 by torben, Sun Dec 7 20:58:41 2008 UTC revision 210 by torben, Sun Dec 21 21:14:40 2008 UTC
# Line 12  Line 12 
12    
13  class DebugTransceiver : public ISmsTransceiver  class DebugTransceiver : public ISmsTransceiver
14  {  {
15  public:  public:
16          DebugTransceiver() : _print(false) {}          DebugTransceiver() : _print(false) {}
17          DebugTransceiver(bool print) : _print(print) {}          DebugTransceiver(bool print) : _print(print) {}
18          virtual ~DebugTransceiver() {}          virtual ~DebugTransceiver() {}
# Line 20  public: Line 20  public:
20          virtual std::vector<SMS> ReadSms(bool readAll=false);          virtual std::vector<SMS> ReadSms(bool readAll=false);
21          virtual void SendSms(std::string to, std::string message, bool allowMultipart);          virtual void SendSms(std::string to, std::string message, bool allowMultipart);
22    
         virtual void DeleteSms(std::string smsIndex) {}  
         virtual int DeleteAllSms() { return 0;}  
23    
24    
25            std::string GetTo()
26          std::string GetTo() {return _to;}          {
27          std::string GetMessage() {return _message;}                  return _to;
28          bool GetMultipart() {return _multipart;}          }
29            std::string GetMessage()
30            {
31                    return _message;
32            }
33            bool GetMultipart()
34            {
35                    return _multipart;
36            }
37  private:  private:
38          std::string _to;          std::string _to;
39          std::string _message;          std::string _message;

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

  ViewVC Help
Powered by ViewVC 1.1.20