diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-24 04:56:07 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-24 04:56:07 +0200 |
| commit | dcfbdc5844474ef8e577d5f1c2bfd2e71c43e5fc (patch) | |
| tree | 9d53e9d34e0d7288d14b73e4642ed60ccbabf77e /src/Daemon/MiddleWare.h | |
| parent | 677cd7bcd2ec48d7ffd756ee8cf33a9de06a32de (diff) | |
| download | abrt-dcfbdc5844474ef8e577d5f1c2bfd2e71c43e5fc.tar.gz abrt-dcfbdc5844474ef8e577d5f1c2bfd2e71c43e5fc.tar.xz abrt-dcfbdc5844474ef8e577d5f1c2bfd2e71c43e5fc.zip | |
simplifications by exposing g_pPluginManager
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/MiddleWare.h')
| -rw-r--r-- | src/Daemon/MiddleWare.h | 39 |
1 files changed, 4 insertions, 35 deletions
diff --git a/src/Daemon/MiddleWare.h b/src/Daemon/MiddleWare.h index 4b15af3e..d744f5d6 100644 --- a/src/Daemon/MiddleWare.h +++ b/src/Daemon/MiddleWare.h @@ -56,45 +56,14 @@ typedef enum { typedef std::map<std::string, vector_strings_t> report_status_t; typedef std::map<std::string, vector_pair_string_string_t> map_analyzer_actions_and_reporters_t; + +extern CPluginManager* g_pPluginManager; + + void CMiddleWare(const std::string& pPluginsConfDir, const std::string& pPluginsLibDir); void CMiddleWare_deinit(); /** - * Register particular plugin. - * @param pName A plugin name. - */ -void RegisterPlugin(const std::string& pName); -/** - * A method, which unregister particular plugin. - * @param pName A plugin name. - */ -void UnRegisterPlugin(const std::string& pName); -/** - * A method, which sets up a plugin. The settings are also saved in home - * directory of an user. - * @param pName A plugin name. - * @param pUID An uid of user. - * @param pSettings A plugin's settings. - */ -void SetPluginSettings(const std::string& pName, - const std::string& pUID, - const map_plugin_settings_t& pSettings); -/** - * A method, which returns plugin's settings according to user. - * @param pName A plugin name. - * @param pUID An uid of user. - * @return Plugin's settings accorting to user. - */ -map_plugin_settings_t GetPluginSettings(const std::string& pName, - 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 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 |
