36 virtual bool HasKey (
const QByteArray& key) = 0;
51 virtual QVariant
Get (
const QByteArray& key) = 0;
61 virtual void Set (
const QByteArray& key,
const QVariant& value) = 0;
Provides access to a storage in an IPersistentStoragePlugin.
virtual bool HasKey(const QByteArray &key)=0
Checks if the given key exists in the storage.
virtual void Set(const QByteArray &key, const QVariant &value)=0
Stores the value under the given key.
virtual QVariant Get(const QByteArray &key)=0
Returns the value associated with the given key.
virtual ~IPersistentStorage()
Closes this storage handle.
Interface for plugins providing persistent (and possibly secure) storage.
virtual IPersistentStorage_ptr RequestStorage()=0
Request an proxy handle to the storage.
virtual ~IPersistentStoragePlugin()
std::shared_ptr< IPersistentStorage > IPersistentStorage_ptr