summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer/Observer.h
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-08-03 12:31:57 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-08-03 12:31:57 +0200
commitee2e495f2eafaa8a2f65ad769bef6761e7f02856 (patch)
tree26eee94d6e85006930dec6f2a975d7115da53383 /lib/CommLayer/Observer.h
parente89460e8ad1202471695edaeb6364ff15ad4f585 (diff)
downloadabrt-ee2e495f2eafaa8a2f65ad769bef6761e7f02856.tar.gz
abrt-ee2e495f2eafaa8a2f65ad769bef6761e7f02856.tar.xz
abrt-ee2e495f2eafaa8a2f65ad769bef6761e7f02856.zip
DBus: Many fixes to client -> cli works again, changed JobDone notification
Diffstat (limited to 'lib/CommLayer/Observer.h')
-rw-r--r--lib/CommLayer/Observer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CommLayer/Observer.h b/lib/CommLayer/Observer.h
index 9b476f1f..880a7923 100644
--- a/lib/CommLayer/Observer.h
+++ b/lib/CommLayer/Observer.h
@@ -9,13 +9,13 @@ class CObserver {
public:
//CObserver();
virtual ~CObserver() {}
- virtual void Status(const std::string& pMessage) = 0;
- virtual void Debug(const std::string& pMessage) = 0;
- virtual void Warning(const std::string& pMessage) = 0;
+ virtual void Status(const std::string& pMessage, const std::string& pDest="0") = 0;
+ virtual void Debug(const std::string& pMessage, const std::string& pDest="0") = 0;
+ virtual void Warning(const std::string& pMessage, const std::string& pDest="0") = 0;
/* this should be implemented in daemon */
virtual vector_crash_infos_t GetCrashInfos(const std::string &pSender) = 0;
virtual map_crash_report_t CreateReport(const std::string &pUUID,const std::string &pSender) = 0;
- virtual uint64_t CreateReport_t(const std::string &pUUID,const std::string &pSender){std::cout << "DEFAULT OBSERVER";return 0;};
+ virtual uint64_t CreateReport_t(const std::string &pUUID,const std::string &pUID, const std::string &pSender){std::cout << "DEFAULT OBSERVER";return 0;};
virtual bool Report(map_crash_report_t pReport, const std::string &pSender) = 0;
virtual bool DeleteDebugDump(const std::string& pUUID, const std::string& pSender) = 0;
virtual map_crash_report_t GetJobResult(uint64_t pJobID, const std::string &pSender) = 0;