~ubuntu-branches/ubuntu/precise/telepathy-glib/precise-201111172307

« back to all changes in this revision

Viewing changes to docs/reference/html/telepathy-glib-svc-protocol.html

  • Committer: Ken VanDine
  • Date: 2011-11-17 20:53:21 UTC
  • mfrom: (1.6.34 upstream)
  • Revision ID: ken.vandine@canonical.com-20111117205321-l704j7kr1zgw5v9h
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch-service-dbus.html" title="Service-side D-Bus interfaces">
9
9
<link rel="prev" href="telepathy-glib-svc-connection-manager.html" title="Service-side Connection Manager interface">
10
10
<link rel="next" href="telepathy-glib-svc-account-manager.html" title="Service-side Account Manager interface">
11
 
<meta name="generator" content="GTK-Doc V1.17 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
49
49
 
50
50
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-svc-protocol.html#tp-svc-protocol-identify-account-impl" title="tp_svc_protocol_identify_account_impl ()">*tp_svc_protocol_identify_account_impl</a>)
51
51
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-protocol.html#TpSvcProtocol"><span class="type">TpSvcProtocol</span></a> *self</code></em>,
52
 
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *in_Parameters</code></em>,
53
 
                                                         <em class="parameter"><code><span class="type">DBusGMethodInvocation</span> *context</code></em>);
 
52
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Parameters</code></em>,
 
53
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
54
54
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-svc-protocol.html#tp-svc-protocol-implement-identify-account" title="tp_svc_protocol_implement_identify_account ()">tp_svc_protocol_implement_identify_account</a>
55
55
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-protocol.html#TpSvcProtocolClass" title="TpSvcProtocolClass"><span class="type">TpSvcProtocolClass</span></a> *klass</code></em>,
56
56
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-svc-protocol.html#tp-svc-protocol-identify-account-impl" title="tp_svc_protocol_identify_account_impl ()"><span class="type">tp_svc_protocol_identify_account_impl</span></a> impl</code></em>);
59
59
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-svc-protocol.html#tp-svc-protocol-normalize-contact-impl" title="tp_svc_protocol_normalize_contact_impl ()"><span class="type">tp_svc_protocol_normalize_contact_impl</span></a> impl</code></em>);
60
60
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-svc-protocol.html#tp-svc-protocol-normalize-contact-impl" title="tp_svc_protocol_normalize_contact_impl ()">*tp_svc_protocol_normalize_contact_impl</a>)
61
61
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-protocol.html#TpSvcProtocol"><span class="type">TpSvcProtocol</span></a> *self</code></em>,
62
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *in_Contact_ID</code></em>,
63
 
                                                         <em class="parameter"><code><span class="type">DBusGMethodInvocation</span> *context</code></em>);
 
62
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Contact_ID</code></em>,
 
63
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);
64
64
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-svc-protocol.html#tp-svc-protocol-return-from-identify-account" title="tp_svc_protocol_return_from_identify_account ()">tp_svc_protocol_return_from_identify_account</a>
65
 
                                                        (<em class="parameter"><code><span class="type">DBusGMethodInvocation</span> *context</code></em>,
66
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *out_Account_ID</code></em>);
 
65
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>,
 
66
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *out_Account_ID</code></em>);
67
67
<span class="returnvalue">void</span>                <a class="link" href="telepathy-glib-svc-protocol.html#tp-svc-protocol-return-from-normalize-contact" title="tp_svc_protocol_return_from_normalize_contact ()">tp_svc_protocol_return_from_normalize_contact</a>
68
 
                                                        (<em class="parameter"><code><span class="type">DBusGMethodInvocation</span> *context</code></em>,
69
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *out_Normalized_Contact_ID</code></em>);
 
68
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>,
 
69
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *out_Normalized_Contact_ID</code></em>);
70
70
 
71
71
                    <a class="link" href="telepathy-glib-svc-protocol.html#TpSvcProtocolInterfacePresence-struct" title="TpSvcProtocolInterfacePresence">TpSvcProtocolInterfacePresence</a>;
72
72
                    <a class="link" href="telepathy-glib-svc-protocol.html#TpSvcProtocolInterfacePresenceClass" title="TpSvcProtocolInterfacePresenceClass">TpSvcProtocolInterfacePresenceClass</a>;
129
129
<p>
130
130
In a full implementation of this interface (i.e. all
131
131
methods implemented), the interface initialization
132
 
function used in <code class="function">G_IMPLEMENT_INTERFACE()</code> would
 
132
function used in <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS"><code class="function">G_IMPLEMENT_INTERFACE()</code></a> would
133
133
typically look like this:
134
134
</p>
135
135
<p>
154
154
<a name="tp-svc-protocol-identify-account-impl"></a><h3>tp_svc_protocol_identify_account_impl ()</h3>
155
155
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_svc_protocol_identify_account_impl)
156
156
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-protocol.html#TpSvcProtocol"><span class="type">TpSvcProtocol</span></a> *self</code></em>,
157
 
                                                         <em class="parameter"><code><span class="type">GHashTable</span> *in_Parameters</code></em>,
158
 
                                                         <em class="parameter"><code><span class="type">DBusGMethodInvocation</span> *context</code></em>);</pre>
 
157
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *in_Parameters</code></em>,
 
158
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
159
159
<p>
160
160
The signature of an implementation of the D-Bus method
161
161
IdentifyAccount on interface org.freedesktop.Telepathy.Protocol.
233
233
<a name="tp-svc-protocol-normalize-contact-impl"></a><h3>tp_svc_protocol_normalize_contact_impl ()</h3>
234
234
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_svc_protocol_normalize_contact_impl)
235
235
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-svc-protocol.html#TpSvcProtocol"><span class="type">TpSvcProtocol</span></a> *self</code></em>,
236
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *in_Contact_ID</code></em>,
237
 
                                                         <em class="parameter"><code><span class="type">DBusGMethodInvocation</span> *context</code></em>);</pre>
 
236
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *in_Contact_ID</code></em>,
 
237
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>);</pre>
238
238
<p>
239
239
The signature of an implementation of the D-Bus method
240
240
NormalizeContact on interface org.freedesktop.Telepathy.Protocol.
261
261
<div class="refsect2">
262
262
<a name="tp-svc-protocol-return-from-identify-account"></a><h3>tp_svc_protocol_return_from_identify_account ()</h3>
263
263
<pre class="programlisting"><span class="returnvalue">void</span>                tp_svc_protocol_return_from_identify_account
264
 
                                                        (<em class="parameter"><code><span class="type">DBusGMethodInvocation</span> *context</code></em>,
265
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *out_Account_ID</code></em>);</pre>
 
264
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>,
 
265
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *out_Account_ID</code></em>);</pre>
266
266
<p>
267
 
Return successfully by calling <code class="function">dbus_g_method_return()</code>.
 
267
Return successfully by calling <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#dbus-g-method-return"><code class="function">dbus_g_method_return()</code></a>.
268
268
This inline function exists only to provide type-safety.
269
269
</p>
270
270
<div class="variablelist"><table border="0">
285
285
<div class="refsect2">
286
286
<a name="tp-svc-protocol-return-from-normalize-contact"></a><h3>tp_svc_protocol_return_from_normalize_contact ()</h3>
287
287
<pre class="programlisting"><span class="returnvalue">void</span>                tp_svc_protocol_return_from_normalize_contact
288
 
                                                        (<em class="parameter"><code><span class="type">DBusGMethodInvocation</span> *context</code></em>,
289
 
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *out_Normalized_Contact_ID</code></em>);</pre>
 
288
                                                        (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#DBusGMethodInvocation"><span class="type">DBusGMethodInvocation</span></a> *context</code></em>,
 
289
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *out_Normalized_Contact_ID</code></em>);</pre>
290
290
<p>
291
 
Return successfully by calling <code class="function">dbus_g_method_return()</code>.
 
291
Return successfully by calling <a href="/usr/share/gtk-doc/html/dbus-glib/dbus-glib-DBusGMethod.html#dbus-g-method-return"><code class="function">dbus_g_method_return()</code></a>.
292
292
This inline function exists only to provide type-safety.
293
293
</p>
294
294
<div class="variablelist"><table border="0">
320
320
<p>
321
321
The class of TpSvcProtocolInterfacePresence.
322
322
This interface has no D-Bus methods, so an
323
 
implementation can typically pass <code class="literal">NULL</code> to
324
 
<code class="function">G_IMPLEMENT_INTERFACE()</code> as the interface
 
323
implementation can typically pass <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
 
324
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS"><code class="function">G_IMPLEMENT_INTERFACE()</code></a> as the interface
325
325
initialization function.
326
326
</p>
327
327
</div>
340
340
<p>
341
341
The class of TpSvcProtocolInterfaceAvatars.
342
342
This interface has no D-Bus methods, so an
343
 
implementation can typically pass <code class="literal">NULL</code> to
344
 
<code class="function">G_IMPLEMENT_INTERFACE()</code> as the interface
 
343
implementation can typically pass <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to
 
344
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-Type-Information.html#G-IMPLEMENT-INTERFACE:CAPS"><code class="function">G_IMPLEMENT_INTERFACE()</code></a> as the interface
345
345
initialization function.
346
346
</p>
347
347
</div>
353
353
</div>
354
354
<div class="footer">
355
355
<hr>
356
 
          Generated by GTK-Doc V1.17</div>
 
356
          Generated by GTK-Doc V1.18</div>
357
357
</body>
358
358
</html>
 
 
b'\\ No newline at end of file'