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

Annotation of /smsdaemon/SmsToolTransceiver.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 151 - (hide annotations) (download)
Mon Dec 8 10:42:04 2008 UTC (15 years, 5 months ago) by torben
File MIME type: text/plain
File size: 596 byte(s)
Added a transceiver which uses smstools for interfaceing with the gsm modem.
-> http://smstools3.kekekasvi.com/


1 torben 151 #ifndef __SMSTOOLTRANSCEIVER_H__
2     #define __SMSTOOLTRANSCEIVER_H__
3    
4     #include "ISmsTransceiver.h"
5    
6     class SmsToolTransceiver : public ISmsTransceiver
7     {
8     public:
9     virtual void SendSms(std::string to, std::string message, bool allowMultipart);
10     virtual std::vector<SMS> ReadSms(bool readAll = false);
11    
12     virtual void DeleteSms(std::string smsIndex);
13     virtual int DeleteAllSms();
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    
22     };
23    
24    
25     #endif // __SMSTOOLTRANSCEIVER_H__

  ViewVC Help
Powered by ViewVC 1.1.20