~ubuntu-branches/ubuntu/feisty/libtelepathy/feisty

« back to all changes in this revision

Viewing changes to spec/Channel_Interface_DTMF.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sjoerd Simons
  • Date: 2007-03-12 11:43:26 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: james.westby@ubuntu.com-20070312114326-v4aezxb6sr8utds1
Tags: 0.0.51-2
Bump shlibs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" ?>
 
2
<node name="/Channel_Interface_DTMF" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0">
 
3
  <tp:copyright>Copyright (C) 2005, 2006 Collabora Limited</tp:copyright>
 
4
  <tp:copyright>Copyright (C) 2005, 2006 Nokia Corporation</tp:copyright>
 
5
  <tp:copyright>Copyright (C) 2006 INdT</tp:copyright>
 
6
  <tp:license xmlns="http://www.w3.org/1999/xhtml">
 
7
    <p>This library is free software; you can redistribute it and/or
 
8
modify it under the terms of the GNU Lesser General Public
 
9
License as published by the Free Software Foundation; either
 
10
version 2.1 of the License, or (at your option) any later version.</p>
 
11
 
 
12
<p>This library is distributed in the hope that it will be useful,
 
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
15
Library General Public License for more details.</p>
 
16
 
 
17
<p>You should have received a copy of the GNU Lesser General Public
 
18
License along with this library; if not, write to the Free Software
 
19
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</p>
 
20
  </tp:license>
 
21
  <interface name="org.freedesktop.Telepathy.Channel.Interface.DTMF">
 
22
    <tp:requires interface="org.freedesktop.Telepathy.Channel"/>
 
23
    <signal name="ReceivedDTMF">
 
24
      <arg name="signal" type="u">
 
25
        <tp:docstring>A numeric signal number</tp:docstring>
 
26
      </arg>
 
27
      <arg name="duration" type="u">
 
28
        <tp:docstring>A numeric duration in milliseconds</tp:docstring>
 
29
      </arg>
 
30
      <tp:docstring>
 
31
        Signals that this channel received a DTMF tone.
 
32
      </tp:docstring>
 
33
    </signal>
 
34
    <method name="SendDTMF">
 
35
      <arg direction="in" name="signal" type="u">
 
36
        <tp:docstring>A numeric signal number</tp:docstring>
 
37
      </arg>
 
38
      <arg direction="in" name="duration" type="u">
 
39
        <tp:docstring>A numeric duration in milliseconds</tp:docstring>
 
40
      </arg>
 
41
      <tp:docstring>
 
42
        Requests that a DTMF tone is sent.
 
43
      </tp:docstring>
 
44
      <tp:possible-errors>
 
45
        <tp:error name="org.freedesktop.Telepathy.Error.Disconnected"/>
 
46
        <tp:error name="org.freedesktop.Telepathy.Error.NetworkError"/>
 
47
        <tp:error name="org.freedesktop.Telepathy.Error.NotAvailable"/>
 
48
        <tp:error name="org.freedesktop.Telepathy.Error.InvalidArgument"/>
 
49
      </tp:possible-errors>
 
50
    </method>
 
51
    <tp:docstring>
 
52
      An interface that gives a Channel the ability to send or receive DTMF
 
53
    signalling tones. This usually only makes sense for channels transporting
 
54
    audio.
 
55
    </tp:docstring>
 
56
  </interface>
 
57
</node>
 
58
<!-- vim:set sw=2 sts=2 et ft=xml: -->