~ubuntu-branches/ubuntu/utopic/telepathy-python/utopic

« back to all changes in this revision

Viewing changes to spec/Channel_Interface_Password.xml

  • Committer: Bazaar Package Importer
  • Author(s): Jonny Lamb
  • Date: 2009-02-16 10:47:31 UTC
  • mfrom: (7.1.14 jaunty)
  • Revision ID: james.westby@ubuntu.com-20090216104731-3l467x71wygwok32
Tags: 0.15.6-2
debian/control: Added myself to Uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    <tp:flags name="Channel_Password_Flags" value-prefix="Channel_Password_Flag" type="u">
26
26
      <tp:flag suffix="Provide" value="8">
27
27
        <tp:docstring>
28
 
          The ProvidePassword method must be called now for the user to join
29
 
          the channel
 
28
          The <tp:member-ref>ProvidePassword</tp:member-ref> method must be
 
29
          called now for the user to join the channel
30
30
        </tp:docstring>
31
31
      </tp:flag>
32
32
    </tp:flags>
33
 
    <method name="GetPasswordFlags">
 
33
    <method name="GetPasswordFlags" tp:name-for-bindings="Get_Password_Flags">
34
34
      <arg direction="out" type="u" tp:type="Channel_Password_Flags">
35
35
        <tp:docstring>
36
36
          An integer with the logical OR of all the flags set
47
47
        <tp:error name="org.freedesktop.Telepathy.Error.NetworkError"/>
48
48
      </tp:possible-errors>
49
49
    </method>
50
 
    <signal name="PasswordFlagsChanged">
51
 
      <arg name="added" type="u" tp:type="Channel_Password_Flags">
 
50
    <signal name="PasswordFlagsChanged"
 
51
      tp:name-for-bindings="Password_Flags_Changed">
 
52
      <arg name="Added" type="u" tp:type="Channel_Password_Flags">
52
53
        <tp:docstring>
53
54
          A bitwise OR of the flags which have been set
54
55
        </tp:docstring>
55
56
      </arg>
56
 
      <arg name="removed" type="u" tp:type="Channel_Password_Flags">
 
57
      <arg name="Removed" type="u" tp:type="Channel_Password_Flags">
57
58
        <tp:docstring>
58
59
          A bitwise OR of the flags which have been cleared
59
60
        </tp:docstring>
60
61
      </arg>
61
62
      <tp:docstring>
62
 
        Emitted when the flags as returned by GetPasswordFlags are changed.
 
63
        Emitted when the flags as returned by
 
64
        <tp:member-ref>GetPasswordFlags</tp:member-ref> are changed.
63
65
        The user interface should be updated as appropriate.
64
66
      </tp:docstring>
65
67
    </signal>
66
 
    <method name="ProvidePassword">
67
 
      <arg direction="in" name="password" type="s">
 
68
    <method name="ProvidePassword" tp:name-for-bindings="Provide_Password">
 
69
      <arg direction="in" name="Password" type="s">
68
70
        <tp:docstring>
69
71
          The password
70
72
        </tp:docstring>
88
90
    to provide before being able to join, or may be able to view or change
89
91
    once they have joined the channel.</p>
90
92
 
91
 
    <p>The GetPasswordFlags method and the associated PasswordFlagsChanged
 
93
    <p>The <tp:member-ref>GetPasswordFlags</tp:member-ref> method and the
 
94
    associated <tp:member-ref>PasswordFlagsChanged</tp:member-ref>
92
95
    signal indicate whether the channel has a password, whether the user
93
96
    must now provide it to join, and whether it can be viewed or changed
94
97
    by the user.</p>