--- smsdaemon/GsmModem.h 2008/06/11 12:41:10 53 +++ smsdaemon/GsmModem.h 2008/06/11 16:08:37 57 @@ -25,17 +25,17 @@ GsmModem(SerialPort& serialport); virtual ~GsmModem() {} + void Init(); virtual void SendSms(std::string to, std::string message); std::vector ReadSms(bool readAll=false); void DeleteSms(std::string smsIndex); int DeleteAllSms(); private: - void Init(); std::string GetResponse(); std::string Command(std::string command, std::string term = "OK\r\n"); - + bool _timeout; SerialPort& m_port; };