diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-07-14 14:52:47 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-07-14 14:52:47 +0200 |
commit | ede175cb92ada7e1235b9b1ee8777d7d1ad32613 (patch) | |
tree | c2c57a51b0fa7f2c717d675114a225a96a801a73 | |
parent | bf5e59ce4e3e0039c3a27a85fb38435b6ff1e73b (diff) | |
download | abrt-ede175cb92ada7e1235b9b1ee8777d7d1ad32613.tar.gz abrt-ede175cb92ada7e1235b9b1ee8777d7d1ad32613.tar.xz abrt-ede175cb92ada7e1235b9b1ee8777d7d1ad32613.zip |
Removed unneeded file.
-rw-r--r-- | src/Applet/DBusClientProxy.h | 85 | ||||
-rw-r--r-- | src/Applet/Makefile.am | 2 |
2 files changed, 1 insertions, 86 deletions
diff --git a/src/Applet/DBusClientProxy.h b/src/Applet/DBusClientProxy.h deleted file mode 100644 index 4bbf5ee2..00000000 --- a/src/Applet/DBusClientProxy.h +++ /dev/null @@ -1,85 +0,0 @@ -/* - Copyright (C) 2009 Jiri Moskovcak (jmoskovc@redhat.com) - Copyright (C) 2009 RedHat inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - */ - -#include <dbus-c++/dbus.h> -#include <dbus-c++/glib-integration.h> -#include "DBusCommon.h" - -class CDBusClient_proxy - : public DBus::InterfaceProxy -{ -public: - - CDBusClient_proxy() - : DBus::InterfaceProxy(CC_DBUS_IFACE) - { - //# define connect_signal(interface, signal, callback) - connect_signal(CDBusClient_proxy, Crash, _Crash_stub); - } - -public: - - /* properties exported by this interface */ -public: - - /* methods exported by this interface, - * this functions will invoke the corresponding methods on the remote objects - */ - /* - - < - <m_sUUID;m_sUID;m_sCount;m_sExecutable;m_sPackage> - <m_sUUID;m_sUID;m_sCount;m_sExecutable;m_sPackage> - <m_sUUID;m_sUID;m_sCount;m_sExecutable;m_sPackage> - ... - > - */ - vector_crash_infos_t GetCrashInfos(const std::string &pUID) - { - DBus::CallMessage call; - - DBus::MessageIter wi = call.writer(); - - wi << pUID; - call.member("GetCrashInfos"); - DBus::Message ret = invoke_method(call); - DBus::MessageIter ri = ret.reader(); - - vector_crash_infos_t argout; - ri >> argout; - return argout; - } -public: - - /* signal handlers for this interface - */ - virtual void Crash(std::string& value) = 0; - -private: - - /* unmarshalers (to unpack the DBus message before calling the actual signal handler) - */ - void _Crash_stub(const ::DBus::SignalMessage &sig) - { - DBus::MessageIter ri = sig.reader(); - - std::string value; ri >> value; - Crash(value); - } -}; diff --git a/src/Applet/Makefile.am b/src/Applet/Makefile.am index 814efd42..378487f0 100644 --- a/src/Applet/Makefile.am +++ b/src/Applet/Makefile.am @@ -1,5 +1,5 @@ bin_PROGRAMS = abrt-applet -abrt_applet_SOURCES = Applet.cpp CCApplet.cpp CCApplet.h DBusClientProxy.h +abrt_applet_SOURCES = Applet.cpp CCApplet.cpp CCApplet.h abrt_applet_CPPFLAGS = -Wall -Werror -I../Daemon/ \ -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \ $(DBUS_GLIB_CFLAGS) $(GTK_CFLAGS) $(DBUSCPP_CFLAGS) $(LIBNOTIFY_CFLAGS)\ |