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

Diff of /smsdaemon/DebugTransceiver.h

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

revision 180 by torben, Fri Dec 12 12:54:27 2008 UTC revision 196 by torben, Thu Dec 18 06:53:29 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    
23          virtual int DeleteAllSms() { return 0;}          virtual int DeleteAllSms()
24            {
25                    return 0;
26            }
27    
28    
29    
30          std::string GetTo() {return _to;}          std::string GetTo()
31          std::string GetMessage() {return _message;}          {
32          bool GetMultipart() {return _multipart;}                  return _to;
33            }
34            std::string GetMessage()
35            {
36                    return _message;
37            }
38            bool GetMultipart()
39            {
40                    return _multipart;
41            }
42  private:  private:
43          std::string _to;          std::string _to;
44          std::string _message;          std::string _message;

Legend:
Removed from v.180  
changed lines
  Added in v.196

  ViewVC Help
Powered by ViewVC 1.1.20