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

Contents of /smsdaemon/SmsToolTransceiver.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 210 - (show annotations) (download)
Sun Dec 21 21:14:40 2008 UTC (15 years, 4 months ago) by torben
File MIME type: text/plain
File size: 578 byte(s)
No usage for DeleteAllSms(), since all incoming messages should be serviced

1 #ifndef __SMSTOOLTRANSCEIVER_H__
2 #define __SMSTOOLTRANSCEIVER_H__
3
4 #include "ISmsTransceiver.h"
5
6 class SmsToolTransceiver : public ISmsTransceiver
7 {
8 public:
9 SmsToolTransceiver();
10
11 virtual void SendSms(std::string to, std::string message, bool allowMultipart);
12 virtual std::vector<SMS> ReadSms(bool readAll = false);
13
14 virtual ~SmsToolTransceiver() {}
15
16 private:
17 SMS ParseFile(std::string path);
18 void ParseHeaders(std::string& headerstring, SMS& sms);
19 std::string CreateFilename();
20
21 std::string inboxdir;
22 std::string outgoingdir;
23
24 };
25
26
27 #endif // __SMSTOOLTRANSCEIVER_H__

  ViewVC Help
Powered by ViewVC 1.1.20