myth-dbus/src/gmyth-dbus-common.h
author renatofilho
Wed Oct 24 20:01:02 2007 +0100 (2007-10-24)
branchtrunk
changeset 865 3eeb6b565018
child 866 640fc18c9f37
permissions -rw-r--r--
[svn r871] created myth dbus service
     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_UINT64, \
    38                             G_TYPE_INVALID);
    39 
    40 #define GMYTH_DBUS_SCHEDULE_G_TYPE \
    41     dbus_g_type_get_struct ("GValueArray", \
    42                             G_TYPE_UINT, \
    43                             G_TYPE_UINT, \
    44                             G_TYPE_UINT, \
    45                             G_TYPE_STRING, \
    46                             G_TYPE_STRING, \
    47                             G_TYPE_STRING, \
    48                             G_TYPE_STRING, \
    49                             G_TYPE_STRING, \
    50                             G_TYPE_STRING, \
    51                             G_TYPE_UINT, \
    52                             G_TYPE_INVALID);
    53 
    54 #endif
    55