diff options
| author | Zdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com> | 2009-07-31 17:08:49 +0200 |
|---|---|---|
| committer | Zdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com> | 2009-07-31 17:08:49 +0200 |
| commit | de2c473ef6cb27a080bb0491f21d1280e2c971c5 (patch) | |
| tree | 7189bf00de07ea69fe29ee0a1435e7b65316a8d4 /lib/MiddleWare/MiddleWare.h | |
| parent | 3f89291d3dbb6ebd28cf7aaa1cbde24b27810bfc (diff) | |
| download | abrt-de2c473ef6cb27a080bb0491f21d1280e2c971c5.tar.gz abrt-de2c473ef6cb27a080bb0491f21d1280e2c971c5.tar.xz abrt-de2c473ef6cb27a080bb0491f21d1280e2c971c5.zip | |
added new interface for geting plugins' settings (will be used in gui)
Diffstat (limited to 'lib/MiddleWare/MiddleWare.h')
| -rw-r--r-- | lib/MiddleWare/MiddleWare.h | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/lib/MiddleWare/MiddleWare.h b/lib/MiddleWare/MiddleWare.h index 2144bba..6783c4e 100644 --- a/lib/MiddleWare/MiddleWare.h +++ b/lib/MiddleWare/MiddleWare.h @@ -198,6 +198,26 @@ class CMiddleWare */ void UnRegisterPlugin(const std::string& pName); /** + * A method, which sets up a plugin. + * @param pName A plugin name. + * @param pSettings A plugin's settings. + */ + void SetPluginSettings(const std::string& pName, + const map_plugin_settings_t& pSettings); + /** + * A method, which returns plugin's settings. + * @param pName A plugin name. + * @return Plugin's settings + */ + map_plugin_settings_t GetPluginSettings(const std::string& pName); + /** + * A method, which gets all plugins info (event those plugins which are + * disabled). It can be send via DBus to GUI and displayed to an user. + * Then a user can fill all needed informations like URLs etc. + * @return A vector of maps <key, vaule> + */ + vector_map_string_string_t GetPluginsInfo(); + /** * A method, which takes care of getting all additional data needed * for computing UUIDs and creating a report for particular analyzer * plugin. This report could be send somewhere afterwards. If a creation @@ -288,13 +308,6 @@ class CMiddleWare */ vector_pair_string_string_t GetUUIDsOfCrash(const std::string& pUID); /** - * A method, which gets all plugins info (event those plugins which are - * disabled). It can be send via DBus to GUI and displayed to an user. - * Then a user can fill all needed informations like URLs etc. - * @return A vector of maps <key, vaule> - */ - vector_map_string_string_t GetPluginsInfo(); - /** * A method, which set a GPG finger print check. * @param pCheck Is it enabled? */ |
