From 9d2cb4518c3a8a72ccc714ddbc131aaa84506092 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 10 Nov 2010 00:10:22 +0100 Subject: Decouple settings handling from old-style plugins The breakage was discovered when i removed Logger class. it turned out the fix is somewhat involved. This change implements it as discussed with the rest of the team. Signed-off-by: Denys Vlasenko --- src/daemon/MiddleWare.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/daemon/MiddleWare.h') diff --git a/src/daemon/MiddleWare.h b/src/daemon/MiddleWare.h index 100a0720..cb0db9eb 100644 --- a/src/daemon/MiddleWare.h +++ b/src/daemon/MiddleWare.h @@ -130,7 +130,7 @@ void AddAnalyzerActionOrReporter(const char *pAnalyzer, const char *pActionOrReporter, const char *pArgs); -bool analyzer_has_InformAllUsers(const char *analyzer_name); +//bool analyzer_has_InformAllUsers(const char *analyzer_name); vector_map_crash_data_t GetCrashInfos(long caller_uid); int CreateReportThread(const char* crash_id, long caller_uid, int force, const char* pSender); @@ -138,4 +138,7 @@ void CreateReport(const char* crash_id, long caller_uid, int force, map_crash_da int DeleteDebugDump(const char *crash_id, long caller_uid); void DeleteDebugDump_by_dir(const char *dump_dir); +void GetPluginsInfo(map_map_string_t &map_of_plugin_info); +void GetPluginSettings(const char *plugin_name, map_plugin_settings_t &plugin_settings); + #endif /*MIDDLEWARE_H_*/ -- cgit