◆ PluginData()
◆ loadStoredData()
string PluginData::loadStoredData |
( |
const std::string & |
key | ) |
|
Load stored data for a given key.
- Parameters
-
key | Given key for data load |
- Returns
- JSON string with found data or empty JSON data
◆ persistPluginData()
bool PluginData::persistPluginData |
( |
const std::string & |
key, |
|
|
const std::string & |
data, |
|
|
const std::string & |
service_name |
|
) |
| |
Store plugin data for a given key.
- Parameters
-
key | The given key |
data | The JSON data to save (as string) |
service_name | The name of service |
- Returns
- true on success, false otherwise.
The documentation for this class was generated from the following files: