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

Diff of /smsdaemon/SmsToolTransceiver.h

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

revision 151 by torben, Mon Dec 8 10:42:04 2008 UTC revision 196 by torben, Thu Dec 18 06:53:29 2008 UTC
# Line 6  Line 6 
6  class SmsToolTransceiver : public ISmsTransceiver  class SmsToolTransceiver : public ISmsTransceiver
7  {  {
8  public:  public:
9      virtual void SendSms(std::string to, std::string message, bool allowMultipart);          SmsToolTransceiver();
     virtual std::vector<SMS> ReadSms(bool readAll = false);  
10    
11      virtual void DeleteSms(std::string smsIndex);          virtual void SendSms(std::string to, std::string message, bool allowMultipart);
12      virtual int DeleteAllSms();          virtual std::vector<SMS> ReadSms(bool readAll = false);
13      virtual ~SmsToolTransceiver() {}  
14            virtual int DeleteAllSms();
15            virtual ~SmsToolTransceiver() {}
16    
17  private:  private:
18          SMS ParseFile(std::string path);          SMS ParseFile(std::string path);
19          void ParseHeaders(std::string& headerstring, SMS& sms);          void ParseHeaders(std::string& headerstring, SMS& sms);
20          std::string CreateFilename();          std::string CreateFilename();
21    
22            std::string inboxdir;
23            std::string outgoingdir;
24    
25  };  };
26    

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

  ViewVC Help
Powered by ViewVC 1.1.20