gmyth-dbus/src/gmyth-dbus-server.xml
author melunko
Fri Mar 14 13:13:18 2008 +0000 (2008-03-14)
branchtrunk
changeset 944 ec1d5934d8e8
parent 912 b200d6198191
permissions -rw-r--r--
[svn r953] Added several functions to handle with schedule exceptions
     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="CheckServerConnection">
    22       <arg type="s" name="host" direction="in" />
    23       <arg type="i" name="port" direction="in" />
    24     </method>
    25 
    26     <method name="Connected">
    27       <arg type="b" name="status" direction="out" />
    28     </method>
    29 
    30     <method name="Disconnect"/>
    31 
    32     <method name="GetServerInfo">
    33       <arg type="t" name="total_space" direction="out" />
    34       <arg type="t" name="used_space" direction="out" />
    35       <arg type="t" name="free_space" direction="out" />
    36     </method>
    37 
    38     <method name="GetChannelList">
    39       <arg type="a(isss)" name="channels" direction="out" />
    40     </method>
    41 
    42     <method name="GetChannelInfo">
    43       <arg type="i" name="channel_id" direction="in" />
    44       <arg type="(isss)" name="details" direction="out" />
    45     </method>
    46 
    47     <method name="GetProgramList">
    48       <arg type="i" name="channel" direction="in" />
    49       <arg type="s" name="start_time" direction="in" />
    50       <arg type="s" name="end_time" direction="in" />
    51       <arg type="a(issssss)" name="program_list" direction="out" />
    52     </method>
    53 
    54     <method name="GetRecordedList">
    55       <arg type="a(usissssssst)" name="records" direction="out" />
    56     </method>
    57 
    58     <method name="GetRecordedInfo">
    59       <arg type="s" name="basename" direction="in" />
    60       <arg type="(usissssssst)" name="details" direction="out" />
    61     </method>
    62 
    63     <method name="GetScheduleList">
    64       <arg type="a(usissssu)" name="schedules" direction="out" />
    65     </method>
    66 
    67     <method name="FileExists">
    68       <arg type="s" name="file_name" direction="in" />
    69       <arg type="b" name="exists" direction="out" />
    70     </method>
    71 
    72     <method name="GetThumbnail">
    73       <arg type="s" name="file_name" direction="in" />
    74       <arg type="ay" name="image" direction="out" />
    75     </method>
    76 
    77     <method name="GetChannelIcon">
    78       <arg type="i" name="channel_id" direction="in" />
    79       <arg type="ay" name="icon" direction="out" />
    80     </method>
    81 
    82     <method name="StopRecording">
    83       <arg type="i" name="channel_id" direction="in" />
    84       <arg type="b" name="result" direction="out" />
    85     </method>
    86 
    87     <method name="AddSchedule">
    88       <arg type="i" name="channel_id" direction="in" />
    89       <arg type="s" name="program_id" direction="in" />
    90       <arg type="s" name="start_time" direction="in" />
    91       <arg type="s" name="end_time" direction="in" />
    92       <arg type="b" name="recurring" direction="in" />
    93       <arg type="s" name="description" direction="in" />
    94       <arg type="u" name="schedule_id" direction="out" />
    95     </method>
    96 
    97     <method name="AddException">
    98       <arg type="u" name="schedule_id" direction="in" />
    99       <arg type="i" name="channel_id" direction="in" />
   100       <arg type="s" name="program_id" direction="in" />
   101       <arg type="s" name="start_time" direction="in" />
   102       <arg type="s" name="end_time" direction="in" />
   103       <arg type="s" name="description" direction="in" />
   104     </method>
   105 
   106     <method name="RemoveSchedule">
   107       <arg type="u" name="schedule_id" direction="in" />
   108     </method>
   109 
   110   </interface>
   111 </node>