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
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
renatofilho@870
    21
    <method name="Connected">
renatofilho@870
    22
      <arg type="b" name="status" direction="out" />
renatofilho@870
    23
    </method>
renatofilho@870
    24
renatofilho@870
    25
    <method name="Disconnect"/>
renatofilho@870
    26
renatofilho@870
    27
    <method name="GetServerInfo">
renatofilho@870
    28
      <arg type="t" name="total_space" direction="out" />
renatofilho@870
    29
      <arg type="t" name="used_space" direction="out" />
renatofilho@870
    30
      <arg type="t" name="free_space" direction="out" />
renatofilho@870
    31
    </method>
renatofilho@870
    32
renatofilho@870
    33
    <method name="GetChannelList">
renatofilho@870
    34
      <arg type="a(isss)" name="channels" direction="out" />
renatofilho@870
    35
    </method>
renatofilho@870
    36
renatofilho@870
    37
    <method name="GetChannelInfo">
renatofilho@870
    38
      <arg type="i" name="channel_id" direction="in" />
renatofilho@870
    39
      <arg type="(isss)" name="details" direction="out" />
renatofilho@870
    40
    </method>
renatofilho@870
    41
renatofilho@870
    42
    <method name="GetProgramList">
renatofilho@870
    43
      <arg type="i" name="channel" direction="in" />
renatofilho@870
    44
      <arg type="s" name="start_time" direction="in" />
renatofilho@870
    45
      <arg type="s" name="end_time" direction="in" />
renatofilho@891
    46
      <arg type="a(issssss)" name="program_list" direction="out" />
renatofilho@870
    47
    </method>
renatofilho@870
    48
renatofilho@870
    49
    <method name="GetRecordedList">
renatofilho@891
    50
      <arg type="a(usissssssst)" name="records" direction="out" />
renatofilho@870
    51
    </method>
renatofilho@870
    52
renatofilho@870
    53
    <method name="GetRecordedInfo">
renatofilho@870
    54
      <arg type="s" name="basename" direction="in" />
renatofilho@891
    55
      <arg type="(usissssssst)" name="details" direction="out" />
renatofilho@870
    56
    </method>
renatofilho@870
    57
renatofilho@870
    58
    <method name="GetScheduleList">
renatofilho@891
    59
      <arg type="a(usissssu)" name="schedules" direction="out" />
renatofilho@870
    60
    </method>
renatofilho@870
    61
renatofilho@870
    62
    <method name="FileExists">
renatofilho@870
    63
      <arg type="s" name="file_name" direction="in" />
renatofilho@870
    64
      <arg type="b" name="exists" direction="out" />
renatofilho@870
    65
    </method>
renatofilho@870
    66
renatofilho@870
    67
    <method name="GetThumbnail">
renatofilho@870
    68
      <arg type="s" name="file_name" direction="in" />
renatofilho@870
    69
      <arg type="ay" name="image" direction="out" />
renatofilho@870
    70
    </method>
renatofilho@870
    71
renatofilho@870
    72
    <method name="GetChannelIcon">
renatofilho@870
    73
      <arg type="i" name="channel_id" direction="in" />
renatofilho@870
    74
      <arg type="ay" name="icon" direction="out" />
renatofilho@870
    75
    </method>
renatofilho@870
    76
renatofilho@870
    77
    <method name="StopRecording">
renatofilho@891
    78
      <arg type="i" name="channel_id" direction="in" />
renatofilho@870
    79
      <arg type="b" name="result" direction="out" />
renatofilho@870
    80
    </method>
renatofilho@870
    81
renatofilho@870
    82
    <method name="AddSchedule">
renatofilho@891
    83
      <arg type="i" name="channel_id" direction="in" />
renatofilho@891
    84
      <arg type="s" name="program_id" direction="in" />
renatofilho@870
    85
      <arg type="s" name="start_time" direction="in" />
renatofilho@870
    86
      <arg type="s" name="end_time" direction="in" />
renatofilho@870
    87
      <arg type="b" name="recurring" direction="in" />
renatofilho@870
    88
      <arg type="s" name="description" direction="in" />
renatofilho@870
    89
      <arg type="u" name="schedule_id" direction="out" />
renatofilho@870
    90
    </method>
renatofilho@870
    91
renatofilho@870
    92
    <method name="AddException">
renatofilho@870
    93
      <arg type="u" name="schedule_id" direction="in" />
melunko@904
    94
      <arg type="i" name="channel_id" direction="in" />
renatofilho@891
    95
      <arg type="s" name="program_id" direction="in" />
renatofilho@870
    96
      <arg type="s" name="start_time" direction="in" />
renatofilho@870
    97
      <arg type="s" name="end_time" direction="in" />
renatofilho@870
    98
      <arg type="s" name="description" direction="in" />
renatofilho@870
    99
    </method>
renatofilho@870
   100
renatofilho@870
   101
    <method name="RemoveSchedule">
renatofilho@870
   102
      <arg type="u" name="schedule_id" direction="in" />
renatofilho@870
   103
    </method>
renatofilho@870
   104
renatofilho@870
   105
  </interface>
renatofilho@870
   106
</node>