 |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Go to the documentation of this file.
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;
virtual IPersistentStorage_ptr RequestStorage()=0
Request an proxy handle to the storage.
virtual ~IPersistentStoragePlugin()
virtual ~IPersistentStorage()
Closes this storage handle.
Interface for plugins providing persistent (and possibly secure) storage.
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.
std::shared_ptr< IPersistentStorage > IPersistentStorage_ptr
Provides access to a storage in an IPersistentStoragePlugin.
virtual QVariant Get(const QByteArray &key)=0
Returns the value associated with the given key.