diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-17 11:48:18 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-17 11:48:18 +0200 |
commit | 19329569c399e944d24d293c5ee90c945ed482a1 (patch) | |
tree | ed90a82a85a36e614b397a784bda46b91cb7a6e3 /lib/CommLayer/CommLayerServerDBus.cpp | |
parent | 3c226c987f5015e8184bfc4293ee9f9b2f7b8f67 (diff) | |
download | abrt-19329569c399e944d24d293c5ee90c945ed482a1.tar.gz abrt-19329569c399e944d24d293c5ee90c945ed482a1.tar.xz abrt-19329569c399e944d24d293c5ee90c945ed482a1.zip |
GUI now show the status window after report to let user know how did it go.
Diffstat (limited to 'lib/CommLayer/CommLayerServerDBus.cpp')
-rw-r--r-- | lib/CommLayer/CommLayerServerDBus.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/CommLayer/CommLayerServerDBus.cpp b/lib/CommLayer/CommLayerServerDBus.cpp index 5d5972a..90a7878 100644 --- a/lib/CommLayer/CommLayerServerDBus.cpp +++ b/lib/CommLayer/CommLayerServerDBus.cpp @@ -61,11 +61,12 @@ uint64_t CCommLayerServerDBus::CreateReport_t(const std::string &pUUID,const std return job_id; } -bool CCommLayerServerDBus::Report(map_crash_report_t pReport,const std::string &pSender) +report_status_t CCommLayerServerDBus::Report(map_crash_report_t pReport,const std::string &pSender) { + report_status_t rs; unsigned long unix_uid = m_pConn->sender_unix_uid(pSender.c_str()); - m_pObserver->Report(pReport, to_string(unix_uid)); - return true; + rs = m_pObserver->Report(pReport, to_string(unix_uid)); + return rs; } bool CCommLayerServerDBus::DeleteDebugDump(const std::string& pUUID, const std::string& pSender) @@ -108,6 +109,11 @@ void CCommLayerServerDBus::JobDone(const std::string &pDest, uint64_t pJobID) CDBusServer_adaptor::JobDone(pDest, pJobID); } +void CCommLayerServerDBus::Warning(const std::string& pDest, const std::string& pMessage) +{ + CDBusServer_adaptor::Warning(pMessage); +} + vector_map_string_string_t CCommLayerServerDBus::GetPluginsInfo() { //FIXME: simplify? |