smsListConfiguration.h
36 virtual bool readConfiguration(boost::system::error_code &ec, std::string path = mConfigurationFilePath);
44 virtual bool writeConfiguration(boost::system::error_code &ec, std::string path = mConfigurationFilePath);
52 virtual bool writeDefaultConfiguration(boost::system::error_code &ec, std::string path = mConfigurationFilePath);
63 bool getSmsById(boost::system::error_code &ec, const std::string& smsid, boost::shared_ptr<Sms>& sms);
65 bool saveSmsInList(boost::system::error_code& ec, const std::string& sourceId, const boost::shared_ptr<Sms> sms);
66 bool deleteSmsFromList(boost::system::error_code& ec, const std::string& sourceId, const boost::shared_ptr<Sms> sms);
virtual bool writeConfiguration(boost::system::error_code &ec, std::string path=mConfigurationFilePath)
Writes the service configuration.
virtual bool writeDefaultConfiguration(boost::system::error_code &ec, std::string path=mConfigurationFilePath)
virtual bool readConfiguration(boost::system::error_code &ec, std::string path=mConfigurationFilePath)
Reads the service configuration.
Parent abstract class aimed to provide an interface for class children to manage the configuration fi...
Definition: configuration.h:43
static SmsListConfiguration * getInstance()
Obtain singleton instance.