diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-02-19 14:50:19 +0100 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-02-19 14:50:19 +0100 |
| commit | e5fdb1cbef199fd48ed7615cc83383bc55a345fa (patch) | |
| tree | de440078c55cce6be8d0e1f0204903949e957d8f /src/Daemon/DBusCommon.h | |
| parent | 67a0890956d2c9878e2fdaf078c90551548b765c (diff) | |
| download | abrt-e5fdb1cbef199fd48ed7615cc83383bc55a345fa.tar.gz abrt-e5fdb1cbef199fd48ed7615cc83383bc55a345fa.tar.xz abrt-e5fdb1cbef199fd48ed7615cc83383bc55a345fa.zip | |
Moved dbus backend from dbus lib to daemon - better OO model.
Modified dbus policy config file to allow all users to call daemon's methods
Diffstat (limited to 'src/Daemon/DBusCommon.h')
| -rw-r--r-- | src/Daemon/DBusCommon.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Daemon/DBusCommon.h b/src/Daemon/DBusCommon.h new file mode 100644 index 0000000..9504344 --- /dev/null +++ b/src/Daemon/DBusCommon.h @@ -0,0 +1,29 @@ +/* + 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. + */ + +/* we need this to know the data structures */ +#include "MiddleWare.h" + +#define CC_DBUS_NAME "com.redhat.CrashCatcher" +#define CC_DBUS_PATH "/com/redhat/CrashCatcher" +#define CC_DBUS_IFACE "com.redhat.CrashCatcher" + +//typedef std::vector<crash_info_t> vector_crash_infos_t; +typedef std::vector< std::vector<std::string> > dbus_vector_crash_infos_t; +typedef std::vector< std::map<std::string, std::string> > dbus_vector_map_crash_infos_t; |
