#include <LocalStorage/ILocalStorage.h>
namespace WrtDeviceApis {
-
class WidgetInterfaceDAO :
public LocalStorage::Api::ILocalStorage
{
DPL::Optional<std::string> getValue(const std::string& key) const;
void clear(bool removeReadOnly);
size_t getStorageSize() const;
- std::string getValueByIndex(size_t index) const;
+ std::string getKeyByIndex(size_t index) const;
protected:
int m_widgetHandle;
bool copyPropertiesFromWrtDatabase();
static std::string databaseFileName(int widgetHandle);
};
-
}
#endif //WRTDEVICEAPIS_COMMONS_WIDGET_INTERFACE_DAO_H_
\ No newline at end of file