summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-06-10 10:09:33 +0200
committerZdenek Prikryl <zprikryl@redhat.com>2009-06-10 10:09:33 +0200
commit17fb6a3a3421c2ec4b6008371470ab63918f44c7 (patch)
tree38ad9b84ce054c61fa152c9d40b26d98dad3248c
parent5b80ac3bd83483cf937b13b222b55a0980ffdc39 (diff)
downloadabrt-17fb6a3a3421c2ec4b6008371470ab63918f44c7.tar.gz
abrt-17fb6a3a3421c2ec4b6008371470ab63918f44c7.tar.xz
abrt-17fb6a3a3421c2ec4b6008371470ab63918f44c7.zip
added support for reading conf file from ucer's home directory
-rw-r--r--lib/CommLayer/DBusServerProxy.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/CommLayer/DBusServerProxy.h b/lib/CommLayer/DBusServerProxy.h
index 95b80f23..45de2f8f 100644
--- a/lib/CommLayer/DBusServerProxy.h
+++ b/lib/CommLayer/DBusServerProxy.h
@@ -87,9 +87,9 @@ public:
/* methods exported by this interface,
* you will have to implement them in your ObjectAdaptor
*/
- virtual vector_crash_infos_t GetCrashInfos(const std::string &pUID) = 0;
+ virtual vector_crash_infos_t GetCrashInfos(const std::string &pDBusSender) = 0;
virtual map_crash_report_t CreateReport(const std::string &pUUID,const std::string &pDBusSender) = 0;
- virtual bool Report(map_crash_report_t pReport) = 0;
+ virtual bool Report(map_crash_report_t pReport, const std::string &pDBusSender) = 0;
virtual bool DeleteDebugDump(const std::string& pUUID, const std::string& pDBusSender) = 0;
public:
@@ -153,7 +153,7 @@ private:
DBus::MessageIter ri = call.reader();
map_crash_report_t argin1; ri >> argin1;
- bool argout1 = Report(argin1);
+ bool argout1 = Report(argin1, call.sender());
DBus::ReturnMessage reply(call);
DBus::MessageIter wi = reply.writer();
wi << argout1;