--- smsdaemon/GsmModem.h 2008/06/11 19:42:24 59 +++ smsdaemon/GsmModem.h 2008/06/12 12:43:29 63 @@ -15,7 +15,7 @@ class IGsmModem { public: - virtual void SendSms(std::string to, std::string message) = 0; + virtual void SendSms(std::string to, std::string message, bool allowMultipart) = 0; virtual ~IGsmModem() {} }; @@ -27,7 +27,7 @@ void Init(); - virtual void SendSms(std::string to, std::string message); + virtual void SendSms(std::string to, std::string message, bool allowMultipart); void SendSmsPdu(std::string pdu, int len); std::vector ReadSms(bool readAll=false); @@ -44,14 +44,16 @@ class DebugGsmModem : public IGsmModem { public: - virtual void SendSms(std::string to, std::string message) - {_to=to; _message = message;} + virtual void SendSms(std::string to, std::string message, bool allowMultipart) + {_to=to; _message = message; _multipart = allowMultipart;} std::string GetTo() {return _to;} std::string GetMessage() {return _message;} + bool GetMultipart() {return _multipart;} private: std::string _to; std::string _message; + bool _multipart; }; #endif // __GSMMODEM_H__