smsSource.h
29 virtual void createSms(const std::string& remoteId,const std::string& content,const dpySms::SmsDirection& dir,const struct tm creationDate, boost::shared_ptr<Sms>& sms) = 0;
64 virtual boost::system::error_code getSmsInfo(const std::string& smsid, dpySms::SmsInformation& info) const;
73 virtual boost::system::error_code sendSms(const std::string& destination, const std::string& content, std::string& smsid) = 0;
virtual boost::system::error_code getSmsInfo(const std::string &smsid, dpySms::SmsInformation &info) const
Retrieve sms related information.
virtual std::list< boost::shared_ptr< ISms > > getSmsList() const
Retrieve sms list from the sms source.
virtual boost::system::error_code sendSms(const std::string &destination, const std::string &content, std::string &smsid)=0
Sends a sms to a specified phone number or address.
virtual boost::system::error_code deleteSms(const std::string &smsid)=0
Delete a specific sms from the sms list.