1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/gmyth-dbus/src/gmyth-dbus-common.h Thu Oct 25 15:40:47 2007 +0100
1.3 @@ -0,0 +1,57 @@
1.4 +#ifndef __GMYTH_DBUS_COMMON_H__
1.5 +#define __GMYTH_DBUS_COMMON_H__
1.6 +
1.7 +#define GMYTH_DBUS_SERVER_NAME "br.org.indt.GMyth"
1.8 +#define GMYTH_DBUS_SERVER_PATH "/br/org/indt/GMyth"
1.9 +#define GMYTH_DBUS_SERVER_IFACE "br.org.indt.GMyth"
1.10 +
1.11 +#define GMYTH_DBUS_PROGRAM_G_TYPE \
1.12 + dbus_g_type_get_struct ("GValueArray", \
1.13 + G_TYPE_STRING, \
1.14 + G_TYPE_STRING, \
1.15 + G_TYPE_STRING, \
1.16 + G_TYPE_STRING, \
1.17 + G_TYPE_STRING, \
1.18 + G_TYPE_STRING, \
1.19 + G_TYPE_STRING, \
1.20 + G_TYPE_INVALID);
1.21 +
1.22 +#define GMYTH_DBUS_CHANNEL_G_TYPE \
1.23 + dbus_g_type_get_struct ("GValueArray", \
1.24 + G_TYPE_INT, \
1.25 + G_TYPE_STRING, \
1.26 + G_TYPE_STRING, \
1.27 + G_TYPE_STRING, \
1.28 + G_TYPE_INVALID);
1.29 +
1.30 +#define GMYTH_DBUS_RECORD_G_TYPE \
1.31 + dbus_g_type_get_struct ("GValueArray", \
1.32 + G_TYPE_UINT, \
1.33 + G_TYPE_UINT, \
1.34 + G_TYPE_UINT, \
1.35 + G_TYPE_STRING, \
1.36 + G_TYPE_STRING, \
1.37 + G_TYPE_STRING, \
1.38 + G_TYPE_STRING, \
1.39 + G_TYPE_STRING, \
1.40 + G_TYPE_STRING, \
1.41 + G_TYPE_STRING, \
1.42 + G_TYPE_UINT64, \
1.43 + G_TYPE_INVALID);
1.44 +
1.45 +#define GMYTH_DBUS_SCHEDULE_G_TYPE \
1.46 + dbus_g_type_get_struct ("GValueArray", \
1.47 + G_TYPE_UINT, \
1.48 + G_TYPE_UINT, \
1.49 + G_TYPE_UINT, \
1.50 + G_TYPE_STRING, \
1.51 + G_TYPE_STRING, \
1.52 + G_TYPE_STRING, \
1.53 + G_TYPE_STRING, \
1.54 + G_TYPE_STRING, \
1.55 + G_TYPE_STRING, \
1.56 + G_TYPE_UINT, \
1.57 + G_TYPE_INVALID);
1.58 +
1.59 +#endif
1.60 +