#ifndef __SMS_H__ #define __SMS_H__ #include class SMS { public: SMS(); SMS(std::string _sender, std::string _message, std::string _timestamp=""); //decode an CMGF=1 text string static SMS FromRawString(const std::string& input); std::string sms_index; std::string sender; std::string message; std::string timestamp; }; std::string GetSmsCommand(SMS& sms); std::string GetSmsData(SMS& sms); #endif // __SMS_H__