summaryrefslogtreecommitdiffstats
path: root/src/Daemon/DBusServerProxy.h
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-03-13 13:50:07 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-03-13 13:50:07 +0100
commitbc02aab93e78089ff48e381c0ced0a6dbb116efa (patch)
tree7660b0c7760232e8d76f0133ee993cf0b2320029 /src/Daemon/DBusServerProxy.h
parentf1c7c25720243cb260410a57fef0c03f330dad68 (diff)
downloadabrt-bc02aab93e78089ff48e381c0ced0a6dbb116efa.tar.gz
abrt-bc02aab93e78089ff48e381c0ced0a6dbb116efa.tar.xz
abrt-bc02aab93e78089ff48e381c0ced0a6dbb116efa.zip
Added error reporting over dbus to daemon, error handling in gui, about dialog
Diffstat (limited to 'src/Daemon/DBusServerProxy.h')
-rw-r--r--src/Daemon/DBusServerProxy.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Daemon/DBusServerProxy.h b/src/Daemon/DBusServerProxy.h
index a8ed9ab..8ed1e5b 100644
--- a/src/Daemon/DBusServerProxy.h
+++ b/src/Daemon/DBusServerProxy.h
@@ -113,6 +113,14 @@ public:
wi << arg1;
emit_signal(sig);
}
+
+ void Error(const std::string& arg1)
+ {
+ ::DBus::SignalMessage sig("Error");
+ ::DBus::MessageIter wi = sig.writer();
+ wi << arg1;
+ emit_signal(sig);
+ }
private: