diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-07-22 13:37:18 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-07-22 13:37:18 +0200 |
commit | cf37c694fb9131fabb58963902795a08c17dd593 (patch) | |
tree | 89935d0efb68af6fc39be3529e8885437516570b | |
parent | ae56d56a984b4c669a6457b5256e6ad759bb1f3c (diff) | |
download | abrt-cf37c694fb9131fabb58963902795a08c17dd593.tar.gz abrt-cf37c694fb9131fabb58963902795a08c17dd593.tar.xz abrt-cf37c694fb9131fabb58963902795a08c17dd593.zip |
CommLayer: added new signal "Warning"
-rw-r--r-- | lib/CommLayer/CommLayerServer.h | 1 | ||||
-rw-r--r-- | lib/CommLayer/DBusServerProxy.h | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/CommLayer/CommLayerServer.h b/lib/CommLayer/CommLayerServer.h index 09cccf60..b9174d1a 100644 --- a/lib/CommLayer/CommLayerServer.h +++ b/lib/CommLayer/CommLayerServer.h @@ -46,6 +46,7 @@ class CCommLayerServer{ virtual void AnalyzeComplete(map_crash_report_t arg1) {} virtual void Error(const std::string& arg1) {} virtual void Update(const std::string& pDest, const std::string& pMessage) {}; + virtual void Warning(const std::string& pDest, const std::string& pMessage) {}; virtual void JobDone(uint64_t pJobID) {}; }; diff --git a/lib/CommLayer/DBusServerProxy.h b/lib/CommLayer/DBusServerProxy.h index cc91766e..b55172be 100644 --- a/lib/CommLayer/DBusServerProxy.h +++ b/lib/CommLayer/DBusServerProxy.h @@ -142,6 +142,14 @@ public: wi << pMessage; emit_signal(sig); } + + void Warning(const std::string& arg1) + { + ::DBus::SignalMessage sig("Warning"); + ::DBus::MessageIter wi = sig.writer(); + wi << arg1; + emit_signal(sig); + } private: |