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

Diff of /smsdaemon/Sms.h

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

revision 142 by torben, Sun Dec 7 15:51:02 2008 UTC revision 196 by torben, Thu Dec 18 06:53:29 2008 UTC
# Line 13  public: Line 13  public:
13          std::string ExtractParameters();          std::string ExtractParameters();
14    
15    
16          void SetIndex(std::string i) {sms_index=i;}          void SetIndex(std::string i)
17          void SetSender(std::string s) {sender=s;}          {
18          void SetMessage(std::string m) {message=m;}                  sms_index=i;
19          void SetTimestamp(std::string t) {timestamp=t;}          }
20                    void SetSender(std::string s)
21            {
22                    sender=s;
23            }
24            void SetMessage(std::string m)
25            {
26                    message=m;
27            }
28            void SetTimestamp(std::string t)
29            {
30                    timestamp=t;
31            }
32    
33    
34          std::string GetIndex() {return sms_index;}  
35          std::string GetSender() {return sender;}          std::string GetIndex()
36          std::string GetMessage() {return message;}          {
37          std::string GetTimestamp() {return timestamp;}                  return sms_index;
38                    }
39            std::string GetSender()
40            {
41                    return sender;
42            }
43            std::string GetMessage()
44            {
45                    return message;
46            }
47            std::string GetTimestamp()
48            {
49                    return timestamp;
50            }
51    
52  private:  private:
53          std::string sms_index;          std::string sms_index;
54          std::string sender;          std::string sender;

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

  ViewVC Help
Powered by ViewVC 1.1.20