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

Annotation of /smsdaemon/ISmsTransceiver.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (hide annotations) (download)
Sun Dec 7 16:27:34 2008 UTC (15 years, 5 months ago) by torben
Original Path: smsdaemon/IGsmModem.h
File MIME type: text/plain
File size: 418 byte(s)
Refactor IGsmModem, in order to ease adding another sms transceiver

1 torben 90 #ifndef __IGSMMODEM_H__
2     #define __IGSMMODEM_H__
3    
4     #include <string>
5 torben 144 #include <vector>
6     #include "Sms.h"
7 torben 90
8 torben 144
9 torben 90 class IGsmModem
10     {
11     public:
12     virtual void SendSms(std::string to, std::string message, bool allowMultipart) = 0;
13 torben 144 virtual std::vector<SMS> ReadSms(bool readAll = false) = 0;
14    
15     virtual void DeleteSms(std::string smsIndex) = 0;
16     virtual int DeleteAllSms() = 0;
17    
18 torben 90 virtual ~IGsmModem() {}
19     };
20    
21    
22     #endif // __IGSMMODEM_H__

  ViewVC Help
Powered by ViewVC 1.1.20