1 |
#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__ |