diff -r 000000000000 -r 735d9b563b02 gmyth-dbus/src/gmyth-dbus-common.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gmyth-dbus/src/gmyth-dbus-common.h Thu Oct 25 15:40:47 2007 +0100 @@ -0,0 +1,57 @@ +#ifndef __GMYTH_DBUS_COMMON_H__ +#define __GMYTH_DBUS_COMMON_H__ + +#define GMYTH_DBUS_SERVER_NAME "br.org.indt.GMyth" +#define GMYTH_DBUS_SERVER_PATH "/br/org/indt/GMyth" +#define GMYTH_DBUS_SERVER_IFACE "br.org.indt.GMyth" + +#define GMYTH_DBUS_PROGRAM_G_TYPE \ + dbus_g_type_get_struct ("GValueArray", \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_INVALID); + +#define GMYTH_DBUS_CHANNEL_G_TYPE \ + dbus_g_type_get_struct ("GValueArray", \ + G_TYPE_INT, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_INVALID); + +#define GMYTH_DBUS_RECORD_G_TYPE \ + dbus_g_type_get_struct ("GValueArray", \ + G_TYPE_UINT, \ + G_TYPE_UINT, \ + G_TYPE_UINT, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_UINT64, \ + G_TYPE_INVALID); + +#define GMYTH_DBUS_SCHEDULE_G_TYPE \ + dbus_g_type_get_struct ("GValueArray", \ + G_TYPE_UINT, \ + G_TYPE_UINT, \ + G_TYPE_UINT, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_STRING, \ + G_TYPE_UINT, \ + G_TYPE_INVALID); + +#endif +