diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-25 12:57:46 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-25 12:57:46 +0200 |
commit | 5bf3512df0529960ed4980251825b49a12eff894 (patch) | |
tree | de20619cee10aa47781f43a1be32e56af73cf99a /src/Daemon/DBusServerProxy.h | |
parent | 47df431ad534b9319d95ef4dc79c2671baf0ee1b (diff) | |
download | abrt-5bf3512df0529960ed4980251825b49a12eff894.tar.gz abrt-5bf3512df0529960ed4980251825b49a12eff894.tar.xz abrt-5bf3512df0529960ed4980251825b49a12eff894.zip |
pass map_crash_report_t by const reference, not by value
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'src/Daemon/DBusServerProxy.h')
-rw-r--r-- | src/Daemon/DBusServerProxy.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Daemon/DBusServerProxy.h b/src/Daemon/DBusServerProxy.h index 20538412..91d1b1f9 100644 --- a/src/Daemon/DBusServerProxy.h +++ b/src/Daemon/DBusServerProxy.h @@ -43,10 +43,10 @@ public: * you will have to implement them in your ObjectAdaptor */ - 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 uint64_t CreateReport_t(const std::string &pUUID, const std::string &pDBusSender) = 0; - virtual report_status_t Report(map_crash_report_t pReport, const std::string &pDBusSender) = 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 uint64_t CreateReport_t(const std::string& pUUID, const std::string& pDBusSender) = 0; + virtual report_status_t Report(const map_crash_report_t& pReport, const std::string& pDBusSender) = 0; virtual bool DeleteDebugDump(const std::string& pUUID, const std::string& pDBusSender) = 0; virtual map_crash_report_t GetJobResult(uint64_t pJobID, const std::string& pDBusSender) = 0; virtual vector_map_string_string_t GetPluginsInfo() = 0; @@ -61,8 +61,8 @@ public: /* Notify the clients (UI) about a new crash */ void Crash(const std::string& arg1); /* Notify the clients that creating a report has finished */ - void AnalyzeComplete(map_crash_report_t arg1); - void JobDone(const std::string &pDest, uint64_t job_id); + void AnalyzeComplete(const map_crash_report_t& arg1); + void JobDone(const std::string& pDest, uint64_t job_id); void Error(const std::string& arg1); void Update(const std::string pDest, const std::string& pMessage); void Warning(const std::string& arg1); |