#ifndef __DEBUGTRANSCEIVER_H__ #define __DEBUGTRANSCEIVER_H__ #include "ISmsTransceiver.h" #include #include #include "Sms.h" class DebugTransceiver : public ISmsTransceiver { public: DebugTransceiver() : _print(false) {} DebugTransceiver(bool print) : _print(print) {} virtual ~DebugTransceiver() {} virtual std::vector ReadSms(bool readAll=false); virtual void SendSms(std::string to, std::string message, bool allowMultipart); virtual void DeleteSms(std::string smsIndex) {} virtual int DeleteAllSms() { return 0;} std::string GetTo() {return _to;} std::string GetMessage() {return _message;} bool GetMultipart() {return _multipart;} private: std::string _to; std::string _message; bool _multipart; bool _print; }; #endif // __DEBUGTRANSCEIVER_H__