gmyth-dbus/src/gmyth-dbus-server.xml
author melunko
Thu Feb 07 19:36:22 2008 +0000 (2008-02-07)
branchtrunk
changeset 912 b200d6198191
parent 904 ea19ac6f452e
child 913 c0f13b16964f
permissions -rw-r--r--
[svn r921] Added gmyth_dbus_server_check_db_connection() function
     1 <?xml version="1.0" encoding="UTF-8" ?>
     2 
     3 <node name="/br/org/indt/GMyth">
     4   <interface name="br.org.indt.GMyth">
     5     <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="gmyth_dbus_server"/>
     6 
     7     <method name="Connect">
     8       <arg type="s" name="host" direction="in" />
     9       <arg type="i" name="port" direction="in" />
    10       <arg type="s" name="user" direction="in" />
    11       <arg type="s" name="password" direction="in" />
    12     </method>
    13 
    14     <method name="CheckDbConnection">
    15       <arg type="s" name="host" direction="in" />
    16       <arg type="i" name="port" direction="in" />
    17       <arg type="s" name="user" direction="in" />
    18       <arg type="s" name="password" direction="in" />
    19     </method>
    20 
    21     <method name="Connected">
    22       <arg type="b" name="status" direction="out" />
    23     </method>
    24 
    25     <method name="Disconnect"/>
    26 
    27     <method name="GetServerInfo">
    28       <arg type="t" name="total_space" direction="out" />
    29       <arg type="t" name="used_space" direction="out" />
    30       <arg type="t" name="free_space" direction="out" />
    31     </method>
    32 
    33     <method name="GetChannelList">
    34       <arg type="a(isss)" name="channels" direction="out" />
    35     </method>
    36 
    37     <method name="GetChannelInfo">
    38       <arg type="i" name="channel_id" direction="in" />
    39       <arg type="(isss)" name="details" direction="out" />
    40     </method>
    41 
    42     <method name="GetProgramList">
    43       <arg type="i" name="channel" direction="in" />
    44       <arg type="s" name="start_time" direction="in" />
    45       <arg type="s" name="end_time" direction="in" />
    46       <arg type="a(issssss)" name="program_list" direction="out" />
    47     </method>
    48 
    49     <method name="GetRecordedList">
    50       <arg type="a(usissssssst)" name="records" direction="out" />
    51     </method>
    52 
    53     <method name="GetRecordedInfo">
    54       <arg type="s" name="basename" direction="in" />
    55       <arg type="(usissssssst)" name="details" direction="out" />
    56     </method>
    57 
    58     <method name="GetScheduleList">
    59       <arg type="a(usissssu)" name="schedules" direction="out" />
    60     </method>
    61 
    62     <method name="FileExists">
    63       <arg type="s" name="file_name" direction="in" />
    64       <arg type="b" name="exists" direction="out" />
    65     </method>
    66 
    67     <method name="GetThumbnail">
    68       <arg type="s" name="file_name" direction="in" />
    69       <arg type="ay" name="image" direction="out" />
    70     </method>
    71 
    72     <method name="GetChannelIcon">
    73       <arg type="i" name="channel_id" direction="in" />
    74       <arg type="ay" name="icon" direction="out" />
    75     </method>
    76 
    77     <method name="StopRecording">
    78       <arg type="i" name="channel_id" direction="in" />
    79       <arg type="b" name="result" direction="out" />
    80     </method>
    81 
    82     <method name="AddSchedule">
    83       <arg type="i" name="channel_id" direction="in" />
    84       <arg type="s" name="program_id" direction="in" />
    85       <arg type="s" name="start_time" direction="in" />
    86       <arg type="s" name="end_time" direction="in" />
    87       <arg type="b" name="recurring" direction="in" />
    88       <arg type="s" name="description" direction="in" />
    89       <arg type="u" name="schedule_id" direction="out" />
    90     </method>
    91 
    92     <method name="AddException">
    93       <arg type="u" name="schedule_id" direction="in" />
    94       <arg type="i" name="channel_id" direction="in" />
    95       <arg type="s" name="program_id" direction="in" />
    96       <arg type="s" name="start_time" direction="in" />
    97       <arg type="s" name="end_time" direction="in" />
    98       <arg type="s" name="description" direction="in" />
    99     </method>
   100 
   101     <method name="RemoveSchedule">
   102       <arg type="u" name="schedule_id" direction="in" />
   103     </method>
   104 
   105   </interface>
   106 </node>