myth-dbus/src/gmyth-dbus-common.h
author renatofilho
Wed Oct 24 23:47:06 2007 +0100 (2007-10-24)
branchtrunk
changeset 866 640fc18c9f37
parent 865 3eeb6b565018
permissions -rw-r--r--
[svn r872] fixed valuearray types
     1 #ifndef __GMYTH_DBUS_COMMON_H__
     2 #define __GMYTH_DBUS_COMMON_H__
     3 
     4 #define GMYTH_DBUS_SERVER_NAME      "br.org.indt.GMyth"
     5 #define GMYTH_DBUS_SERVER_PATH      "/br/org/indt/GMyth"
     6 #define GMYTH_DBUS_SERVER_IFACE     "br.org.indt.GMyth"
     7 
     8 #define GMYTH_DBUS_PROGRAM_G_TYPE \
     9     dbus_g_type_get_struct ("GValueArray", \
    10                             G_TYPE_STRING, \
    11                             G_TYPE_STRING, \
    12                             G_TYPE_STRING, \
    13                             G_TYPE_STRING, \
    14                             G_TYPE_STRING, \
    15                             G_TYPE_STRING, \
    16                             G_TYPE_STRING, \
    17                             G_TYPE_INVALID);
    18 
    19 #define GMYTH_DBUS_CHANNEL_G_TYPE \
    20     dbus_g_type_get_struct ("GValueArray", \
    21                             G_TYPE_INT, \
    22                             G_TYPE_STRING, \
    23                             G_TYPE_STRING, \
    24                             G_TYPE_STRING, \
    25                             G_TYPE_INVALID);
    26 
    27 #define GMYTH_DBUS_RECORD_G_TYPE \
    28     dbus_g_type_get_struct ("GValueArray", \
    29                             G_TYPE_UINT, \
    30                             G_TYPE_UINT, \
    31                             G_TYPE_UINT, \
    32                             G_TYPE_STRING, \
    33                             G_TYPE_STRING, \
    34                             G_TYPE_STRING, \
    35                             G_TYPE_STRING, \
    36                             G_TYPE_STRING, \
    37                             G_TYPE_STRING, \
    38                             G_TYPE_STRING, \
    39                             G_TYPE_UINT64, \
    40                             G_TYPE_INVALID);
    41 
    42 #define GMYTH_DBUS_SCHEDULE_G_TYPE \
    43     dbus_g_type_get_struct ("GValueArray", \
    44                             G_TYPE_UINT, \
    45                             G_TYPE_UINT, \
    46                             G_TYPE_UINT, \
    47                             G_TYPE_STRING, \
    48                             G_TYPE_STRING, \
    49                             G_TYPE_STRING, \
    50                             G_TYPE_STRING, \
    51                             G_TYPE_STRING, \
    52                             G_TYPE_STRING, \
    53                             G_TYPE_UINT, \
    54                             G_TYPE_INVALID);
    55 
    56 #endif
    57