1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/gmyth-dbus/src/gmyth-dbus-server.xml Mon Jan 07 18:49:22 2008 +0000
1.3 @@ -0,0 +1,99 @@
1.4 +<?xml version="1.0" encoding="UTF-8" ?>
1.5 +
1.6 +<node name="/br/org/indt/GMyth">
1.7 + <interface name="br.org.indt.GMyth">
1.8 + <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="gmyth_dbus_server"/>
1.9 +
1.10 + <method name="Connect">
1.11 + <arg type="s" name="host" direction="in" />
1.12 + <arg type="i" name="port" direction="in" />
1.13 + <arg type="s" name="user" direction="in" />
1.14 + <arg type="s" name="password" direction="in" />
1.15 + </method>
1.16 +
1.17 + <method name="Connected">
1.18 + <arg type="b" name="status" direction="out" />
1.19 + </method>
1.20 +
1.21 + <method name="Disconnect"/>
1.22 +
1.23 + <method name="GetServerInfo">
1.24 + <arg type="t" name="total_space" direction="out" />
1.25 + <arg type="t" name="used_space" direction="out" />
1.26 + <arg type="t" name="free_space" direction="out" />
1.27 + </method>
1.28 +
1.29 + <method name="GetChannelList">
1.30 + <arg type="a(isss)" name="channels" direction="out" />
1.31 + </method>
1.32 +
1.33 + <method name="GetChannelInfo">
1.34 + <arg type="i" name="channel_id" direction="in" />
1.35 + <arg type="(isss)" name="details" direction="out" />
1.36 + </method>
1.37 +
1.38 + <method name="GetProgramList">
1.39 + <arg type="i" name="channel" direction="in" />
1.40 + <arg type="s" name="start_time" direction="in" />
1.41 + <arg type="s" name="end_time" direction="in" />
1.42 + <arg type="a(sssssss)" name="program_list" direction="out" />
1.43 + </method>
1.44 +
1.45 + <method name="GetRecordedList">
1.46 + <arg type="a(uuussssssst)" name="records" direction="out" />
1.47 + </method>
1.48 +
1.49 + <method name="GetRecordedInfo">
1.50 + <arg type="s" name="basename" direction="in" />
1.51 + <arg type="(uuussssssst)" name="details" direction="out" />
1.52 + </method>
1.53 +
1.54 + <method name="GetScheduleList">
1.55 + <arg type="a(uuussssu)" name="schedules" direction="out" />
1.56 + </method>
1.57 +
1.58 + <method name="FileExists">
1.59 + <arg type="s" name="file_name" direction="in" />
1.60 + <arg type="b" name="exists" direction="out" />
1.61 + </method>
1.62 +
1.63 + <method name="GetThumbnail">
1.64 + <arg type="s" name="file_name" direction="in" />
1.65 + <arg type="ay" name="image" direction="out" />
1.66 + </method>
1.67 +
1.68 + <method name="GetChannelIcon">
1.69 + <arg type="i" name="channel_id" direction="in" />
1.70 + <arg type="ay" name="icon" direction="out" />
1.71 + </method>
1.72 +
1.73 + <method name="StopRecording">
1.74 + <arg type="u" name="channel_id" direction="in" />
1.75 + <arg type="b" name="result" direction="out" />
1.76 + </method>
1.77 +
1.78 + <method name="AddSchedule">
1.79 + <arg type="u" name="channel_id" direction="in" />
1.80 + <arg type="u" name="program_id" direction="in" />
1.81 + <arg type="s" name="start_time" direction="in" />
1.82 + <arg type="s" name="end_time" direction="in" />
1.83 + <arg type="b" name="recurring" direction="in" />
1.84 + <arg type="s" name="description" direction="in" />
1.85 + <arg type="u" name="schedule_id" direction="out" />
1.86 + </method>
1.87 +
1.88 + <method name="AddException">
1.89 + <arg type="u" name="schedule_id" direction="in" />
1.90 + <arg type="u" name="program_id" direction="in" />
1.91 + <arg type="u" name="channel_id" direction="in" />
1.92 + <arg type="s" name="start_time" direction="in" />
1.93 + <arg type="s" name="end_time" direction="in" />
1.94 + <arg type="s" name="description" direction="in" />
1.95 + </method>
1.96 +
1.97 + <method name="RemoveSchedule">
1.98 + <arg type="u" name="schedule_id" direction="in" />
1.99 + </method>
1.100 +
1.101 + </interface>
1.102 +</node>