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