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

Contents of /smsdaemon/ISmsTransceiver.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show 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 #ifndef __IGSMMODEM_H__
2 #define __IGSMMODEM_H__
3
4 #include <string>
5 #include <vector>
6 #include "Sms.h"
7
8
9 class IGsmModem
10 {
11 public:
12 virtual void SendSms(std::string to, std::string message, bool allowMultipart) = 0;
13 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 virtual ~IGsmModem() {}
19 };
20
21
22 #endif // __IGSMMODEM_H__

  ViewVC Help
Powered by ViewVC 1.1.20