#ifndef __SMSTOOLTRANSCEIVER_H__ #define __SMSTOOLTRANSCEIVER_H__ #include "ISmsTransceiver.h" class SmsToolTransceiver : public ISmsTransceiver { public: SmsToolTransceiver(); virtual void SendSms(std::string to, std::string message, bool allowMultipart); virtual std::vector ReadSms(bool readAll = false); virtual ~SmsToolTransceiver() {} private: SMS ParseFile(std::string path); void ParseHeaders(std::string& headerstring, SMS& sms); std::string CreateFilename(); std::string inboxdir; std::string outgoingdir; }; #endif // __SMSTOOLTRANSCEIVER_H__