--- smsdaemon/GsmModem.h 2008/06/12 12:43:29 63 +++ smsdaemon/GsmModem.h 2008/06/12 15:23:11 67 @@ -44,8 +44,11 @@ class DebugGsmModem : public IGsmModem { public: - virtual void SendSms(std::string to, std::string message, bool allowMultipart) - {_to=to; _message = message; _multipart = allowMultipart;} + DebugGsmModem() : _print(false) {} + DebugGsmModem(bool print) : _print(print) {} + + + virtual void SendSms(std::string to, std::string message, bool allowMultipart); std::string GetTo() {return _to;} std::string GetMessage() {return _message;} @@ -54,6 +57,7 @@ std::string _to; std::string _message; bool _multipart; + bool _print; }; #endif // __GSMMODEM_H__