16 #ifndef ALEXA_CLIENT_SDK_CAPABILITIESDELEGATE_INCLUDE_CAPABILITIESDELEGATE_STORAGE_CAPABILITIESDELEGATESTORAGEINTERFACE_H_ 17 #define ALEXA_CLIENT_SDK_CAPABILITIESDELEGATE_INCLUDE_CAPABILITIESDELEGATE_STORAGE_CAPABILITIESDELEGATESTORAGEINTERFACE_H_ 20 #include <unordered_map> 23 namespace capabilitiesDelegate {
51 virtual bool open() = 0;
56 virtual void close() = 0;
73 virtual bool store(
const std::unordered_map<std::string, std::string>& endpointIdToConfigMap) = 0;
81 virtual bool load(std::unordered_map<std::string, std::string>* endpointConfigMap) = 0;
105 virtual bool erase(
const std::unordered_map<std::string, std::string>& endpointIdToConfigMap) = 0;
119 #endif // ALEXA_CLIENT_SDK_CAPABILITIESDELEGATE_INCLUDE_CAPABILITIESDELEGATE_STORAGE_CAPABILITIESDELEGATESTORAGEINTERFACE_H_ virtual bool clearDatabase()=0
::std::string string
Definition: gtest-port.h:1097
Definition: CapabilitiesDelegateStorageInterface.h:32
virtual bool load(std::unordered_map< std::string, std::string > *endpointConfigMap)=0
virtual bool store(const std::string &endpointId, const std::string &endpointConfig)=0
Whether or not curl logs should be emitted.
Definition: AVSConnectionManager.h:36
virtual ~CapabilitiesDelegateStorageInterface()=default
virtual bool erase(const std::string &endpointId)=0
virtual bool createDatabase()=0