gmyth-dbus/src/gmyth-dbus-server.xml
author melunko
Fri Feb 01 13:38:20 2008 +0000 (2008-02-01)
branchtrunk
changeset 904 ea19ac6f452e
parent 891 0cc42675b88d
child 912 b200d6198191
permissions -rw-r--r--
[svn r910] fixed dbus xml interface bug for add_exception 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="Connected">
    15       <arg type="b" name="status" direction="out" />
    16     </method>
    17 
    18     <method name="Disconnect"/>
    19 
    20     <method name="GetServerInfo">
    21       <arg type="t" name="total_space" direction="out" />
    22       <arg type="t" name="used_space" direction="out" />
    23       <arg type="t" name="free_space" direction="out" />
    24     </method>
    25 
    26     <method name="GetChannelList">
    27       <arg type="a(isss)" name="channels" direction="out" />
    28     </method>
    29 
    30     <method name="GetChannelInfo">
    31       <arg type="i" name="channel_id" direction="in" />
    32       <arg type="(isss)" name="details" direction="out" />
    33     </method>
    34 
    35     <method name="GetProgramList">
    36       <arg type="i" name="channel" direction="in" />
    37       <arg type="s" name="start_time" direction="in" />
    38       <arg type="s" name="end_time" direction="in" />
    39       <arg type="a(issssss)" name="program_list" direction="out" />
    40     </method>
    41 
    42     <method name="GetRecordedList">
    43       <arg type="a(usissssssst)" name="records" direction="out" />
    44     </method>
    45 
    46     <method name="GetRecordedInfo">
    47       <arg type="s" name="basename" direction="in" />
    48       <arg type="(usissssssst)" name="details" direction="out" />
    49     </method>
    50 
    51     <method name="GetScheduleList">
    52       <arg type="a(usissssu)" name="schedules" direction="out" />
    53     </method>
    54 
    55     <method name="FileExists">
    56       <arg type="s" name="file_name" direction="in" />
    57       <arg type="b" name="exists" direction="out" />
    58     </method>
    59 
    60     <method name="GetThumbnail">
    61       <arg type="s" name="file_name" direction="in" />
    62       <arg type="ay" name="image" direction="out" />
    63     </method>
    64 
    65     <method name="GetChannelIcon">
    66       <arg type="i" name="channel_id" direction="in" />
    67       <arg type="ay" name="icon" direction="out" />
    68     </method>
    69 
    70     <method name="StopRecording">
    71       <arg type="i" name="channel_id" direction="in" />
    72       <arg type="b" name="result" direction="out" />
    73     </method>
    74 
    75     <method name="AddSchedule">
    76       <arg type="i" name="channel_id" direction="in" />
    77       <arg type="s" name="program_id" direction="in" />
    78       <arg type="s" name="start_time" direction="in" />
    79       <arg type="s" name="end_time" direction="in" />
    80       <arg type="b" name="recurring" direction="in" />
    81       <arg type="s" name="description" direction="in" />
    82       <arg type="u" name="schedule_id" direction="out" />
    83     </method>
    84 
    85     <method name="AddException">
    86       <arg type="u" name="schedule_id" direction="in" />
    87       <arg type="i" name="channel_id" direction="in" />
    88       <arg type="s" name="program_id" direction="in" />
    89       <arg type="s" name="start_time" direction="in" />
    90       <arg type="s" name="end_time" direction="in" />
    91       <arg type="s" name="description" direction="in" />
    92     </method>
    93 
    94     <method name="RemoveSchedule">
    95       <arg type="u" name="schedule_id" direction="in" />
    96     </method>
    97 
    98   </interface>
    99 </node>