diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-06 17:09:18 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-06 17:09:18 +0200 |
commit | c133ae4049f68a9e32a85c9ead40c83613851b22 (patch) | |
tree | 62df41a87e42aea41995e228c571324c1e4ea218 /src/Daemon | |
parent | 6c35b832998b807c35eef0ffc1cce93262d5550c (diff) | |
parent | b9c0e8f9f8b3148e7ffc95b4eaf25299d9ead2a2 (diff) | |
download | abrt-c133ae4049f68a9e32a85c9ead40c83613851b22.tar.gz abrt-c133ae4049f68a9e32a85c9ead40c83613851b22.tar.xz abrt-c133ae4049f68a9e32a85c9ead40c83613851b22.zip |
Merge branch 'master' of ssh://vda@git.fedorahosted.org/git/abrt
Diffstat (limited to 'src/Daemon')
-rw-r--r-- | src/Daemon/CrashWatcher.cpp | 16 | ||||
-rw-r--r-- | src/Daemon/CrashWatcher.h | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/Daemon/CrashWatcher.cpp b/src/Daemon/CrashWatcher.cpp index 8e102c01..c64e22a0 100644 --- a/src/Daemon/CrashWatcher.cpp +++ b/src/Daemon/CrashWatcher.cpp @@ -871,3 +871,19 @@ map_crash_report_t CCrashWatcher::GetJobResult(uint64_t pJobID, const std::strin */ return pending_jobs[pSender][pJobID]; } + +vector_map_string_string_t CCrashWatcher::GetPluginsInfo() +{ + try + { + return m_pMW->GetPluginsInfo(); + } + catch(CABRTException &e) + { + if (e.type() == EXCEP_FATAL) + { + throw e; + } + Warning(e.what()); + } +} diff --git a/src/Daemon/CrashWatcher.h b/src/Daemon/CrashWatcher.h index bc71269d..420acc40 100644 --- a/src/Daemon/CrashWatcher.h +++ b/src/Daemon/CrashWatcher.h @@ -131,6 +131,7 @@ class CCrashWatcher virtual bool Report(map_crash_report_t pReport, const std::string &pUID); virtual bool DeleteDebugDump(const std::string& pUUID, const std::string& pUID); virtual map_crash_report_t GetJobResult(uint64_t pJobID, const std::string& pSender); + virtual vector_map_string_string_t GetPluginsInfo(); /* Observer methods */ void Status(const std::string& pMessage,const std::string& pDest="0"); |