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

Annotation of /smsdaemon/ProxyTransceiver.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 211 - (hide annotations) (download)
Sun Dec 21 22:08:20 2008 UTC (15 years, 5 months ago) by torben
File MIME type: text/plain
File size: 551 byte(s)
Add a Proxy Transceiver to enforce requirements on outgoing messages

1 torben 211 #ifndef __PROXYTRANSCEIVER_H__
2     #define __PROXYTRANSCEIVER_H__
3    
4     #include <string>
5     #include <vector>
6     #include "ISmsTransceiver.h"
7     #include "Sms.h"
8    
9    
10     class ProxyTransceiver : public ISmsTransceiver
11     {
12     public:
13     ProxyTransceiver(ISmsTransceiver& realtransceiver);
14    
15    
16     virtual void SendSms(std::string to, std::string message, bool allowMultipart);
17     virtual std::vector<SMS> ReadSms(bool readAll = false);
18    
19     virtual ~ProxyTransceiver() {}
20     private:
21     ISmsTransceiver& _transceiver;
22     std::string _countrycode;
23     bool _hasCC;
24     };
25    
26    
27     #endif // __PROXYTRANSCEIVER_H__

  ViewVC Help
Powered by ViewVC 1.1.20