1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>ShellTpClient</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
<link rel="home" href="index.html" title="Shell Reference Manual">
8
<link rel="up" href="ch06.html" title="Integration helpers and utilities">
9
<link rel="prev" href="shell-shell-polkit-authentication-agent.html" title="shell-polkit-authentication-agent">
10
<link rel="next" href="object-tree.html" title="Object Hierarchy">
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17
<td><a accesskey="p" href="shell-shell-polkit-authentication-agent.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="ch06.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">Shell Reference Manual</th>
21
<td><a accesskey="n" href="object-tree.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#shell-ShellTpClient.synopsis" class="shortcut">Top</a>
26
<a href="#shell-ShellTpClient.description" class="shortcut">Description</a>
29
<div class="refentry">
30
<a name="shell-ShellTpClient"></a><div class="titlepage"></div>
31
<div class="refnamediv"><table width="100%"><tr>
33
<h2><span class="refentrytitle"><a name="shell-ShellTpClient.top_of_page"></a>ShellTpClient</span></h2>
36
<td valign="top" align="right"></td>
38
<div class="refsynopsisdiv">
39
<a name="shell-ShellTpClient.synopsis"></a><h2>Synopsis</h2>
40
<pre class="synopsis"><span class="returnvalue">void</span> (<a class="link" href="shell-ShellTpClient.html#ShellTpClientApproveChannelsImpl" title="ShellTpClientApproveChannelsImpl ()">*ShellTpClientApproveChannelsImpl</a>) (<em class="parameter"><code><span class="type">ShellTpClient</span> *client</code></em>,
41
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> *account</code></em>,
42
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *connection</code></em>,
43
<em class="parameter"><code><span class="type">GList</span> *channels</code></em>,
44
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *dispatch_operation</code></em>,
45
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-add-dispatch-operation-context.html#TpAddDispatchOperationContext"><span class="type">TpAddDispatchOperationContext</span></a> *context</code></em>,
46
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
47
struct <a class="link" href="shell-ShellTpClient.html#ShellTpClientClass" title="struct ShellTpClientClass">ShellTpClientClass</a>;
48
<span class="returnvalue">void</span> (<a class="link" href="shell-ShellTpClient.html#ShellTpClientContactListChangedImpl" title="ShellTpClientContactListChangedImpl ()">*ShellTpClientContactListChangedImpl</a>)
49
(<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *connection</code></em>,
50
<em class="parameter"><code><span class="type">GPtrArray</span> *added</code></em>,
51
<em class="parameter"><code><span class="type">GPtrArray</span> *removed</code></em>,
52
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
53
<span class="returnvalue">void</span> (<a class="link" href="shell-ShellTpClient.html#ShellTpClientHandleChannelsImpl" title="ShellTpClientHandleChannelsImpl ()">*ShellTpClientHandleChannelsImpl</a>) (<em class="parameter"><code><span class="type">ShellTpClient</span> *client</code></em>,
54
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> *account</code></em>,
55
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *connection</code></em>,
56
<em class="parameter"><code><span class="type">GList</span> *channels</code></em>,
57
<em class="parameter"><code><span class="type">GList</span> *requests_satisfied</code></em>,
58
<em class="parameter"><code><span class="type">gint64</span> user_action_time</code></em>,
59
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a> *context</code></em>,
60
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
61
<span class="returnvalue">void</span> (<a class="link" href="shell-ShellTpClient.html#ShellTpClientObserveChannelsImpl" title="ShellTpClientObserveChannelsImpl ()">*ShellTpClientObserveChannelsImpl</a>) (<em class="parameter"><code><span class="type">ShellTpClient</span> *client</code></em>,
62
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> *account</code></em>,
63
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *connection</code></em>,
64
<em class="parameter"><code><span class="type">GList</span> *channels</code></em>,
65
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *dispatch_operation</code></em>,
66
<em class="parameter"><code><span class="type">GList</span> *requests</code></em>,
67
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-observe-channels-context.html#TpObserveChannelsContext"><span class="type">TpObserveChannelsContext</span></a> *context</code></em>,
68
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
69
<span class="returnvalue">void</span> <a class="link" href="shell-ShellTpClient.html#shell-decline-dispatch-op" title="shell_decline_dispatch_op ()">shell_decline_dispatch_op</a> (<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-add-dispatch-operation-context.html#TpAddDispatchOperationContext"><span class="type">TpAddDispatchOperationContext</span></a> *context</code></em>,
70
<em class="parameter"><code>const <span class="type">gchar</span> *message</code></em>);
71
<span class="returnvalue">void</span> <a class="link" href="shell-ShellTpClient.html#shell-get-contact-events" title="shell_get_contact_events ()">shell_get_contact_events</a> (<em class="parameter"><code><span class="type">TplLogManager</span> *log_manager</code></em>,
72
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> *account</code></em>,
73
<em class="parameter"><code><span class="type">TplEntity</span> *entity</code></em>,
74
<em class="parameter"><code><span class="type">guint</span> num_events</code></em>,
75
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>);
76
<span class="returnvalue">void</span> <a class="link" href="shell-ShellTpClient.html#shell-tp-client-grab-contact-list-changed" title="shell_tp_client_grab_contact_list_changed ()">shell_tp_client_grab_contact_list_changed</a>
77
(<em class="parameter"><code><span class="type">ShellTpClient</span> *self</code></em>,
78
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *conn</code></em>);
79
<span class="returnvalue">void</span> <a class="link" href="shell-ShellTpClient.html#shell-tp-client-set-approve-channels-func" title="shell_tp_client_set_approve_channels_func ()">shell_tp_client_set_approve_channels_func</a>
80
(<em class="parameter"><code><span class="type">ShellTpClient</span> *self</code></em>,
81
<em class="parameter"><code><a class="link" href="shell-ShellTpClient.html#ShellTpClientApproveChannelsImpl" title="ShellTpClientApproveChannelsImpl ()"><span class="type">ShellTpClientApproveChannelsImpl</span></a> approve_impl</code></em>,
82
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
83
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);
84
<span class="returnvalue">void</span> <a class="link" href="shell-ShellTpClient.html#shell-tp-client-set-contact-list-changed-func" title="shell_tp_client_set_contact_list_changed_func ()">shell_tp_client_set_contact_list_changed_func</a>
85
(<em class="parameter"><code><span class="type">ShellTpClient</span> *self</code></em>,
86
<em class="parameter"><code><a class="link" href="shell-ShellTpClient.html#ShellTpClientContactListChangedImpl" title="ShellTpClientContactListChangedImpl ()"><span class="type">ShellTpClientContactListChangedImpl</span></a> contact_list_changed_impl</code></em>,
87
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
88
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);
89
<span class="returnvalue">void</span> <a class="link" href="shell-ShellTpClient.html#shell-tp-client-set-handle-channels-func" title="shell_tp_client_set_handle_channels_func ()">shell_tp_client_set_handle_channels_func</a>
90
(<em class="parameter"><code><span class="type">ShellTpClient</span> *self</code></em>,
91
<em class="parameter"><code><a class="link" href="shell-ShellTpClient.html#ShellTpClientHandleChannelsImpl" title="ShellTpClientHandleChannelsImpl ()"><span class="type">ShellTpClientHandleChannelsImpl</span></a> handle_channels_impl</code></em>,
92
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
93
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);
94
<span class="returnvalue">void</span> <a class="link" href="shell-ShellTpClient.html#shell-tp-client-set-observe-channels-func" title="shell_tp_client_set_observe_channels_func ()">shell_tp_client_set_observe_channels_func</a>
95
(<em class="parameter"><code><span class="type">ShellTpClient</span> *self</code></em>,
96
<em class="parameter"><code><a class="link" href="shell-ShellTpClient.html#ShellTpClientObserveChannelsImpl" title="ShellTpClientObserveChannelsImpl ()"><span class="type">ShellTpClientObserveChannelsImpl</span></a> observe_impl</code></em>,
97
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
98
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);
101
<div class="refsect1">
102
<a name="shell-ShellTpClient.description"></a><h2>Description</h2>
104
<div class="refsect1">
105
<a name="shell-ShellTpClient.details"></a><h2>Details</h2>
106
<div class="refsect2">
107
<a name="ShellTpClientApproveChannelsImpl"></a><h3>ShellTpClientApproveChannelsImpl ()</h3>
108
<pre class="programlisting"><span class="returnvalue">void</span> (*ShellTpClientApproveChannelsImpl) (<em class="parameter"><code><span class="type">ShellTpClient</span> *client</code></em>,
109
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> *account</code></em>,
110
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *connection</code></em>,
111
<em class="parameter"><code><span class="type">GList</span> *channels</code></em>,
112
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *dispatch_operation</code></em>,
113
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-add-dispatch-operation-context.html#TpAddDispatchOperationContext"><span class="type">TpAddDispatchOperationContext</span></a> *context</code></em>,
114
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
116
Signature of the implementation of the AddDispatchOperation method.
118
<div class="variablelist"><table border="0">
119
<col align="left" valign="top">
122
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
123
<td>a <span class="type">ShellTpClient</span> instance</td>
126
<td><p><span class="term"><em class="parameter"><code>account</code></em> :</span></p></td>
127
<td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> having <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TP-ACCOUNT-FEATURE-CORE:CAPS"><code class="literal">TP_ACCOUNT_FEATURE_CORE</code></a> prepared if possible</td>
130
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
131
<td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> having <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TP-CONNECTION-FEATURE-CORE:CAPS"><code class="literal">TP_CONNECTION_FEATURE_CORE</code></a> prepared
135
<td><p><span class="term"><em class="parameter"><code>channels</code></em> :</span></p></td>
136
<td>a <span class="type">GList</span> of <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a>,
137
all having <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel.html#TP-CHANNEL-FEATURE-CORE:CAPS"><code class="literal">TP_CHANNEL_FEATURE_CORE</code></a> prepared if possible. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> TelepathyGLib.Channel]</span>
141
<td><p><span class="term"><em class="parameter"><code>dispatch_operation</code></em> :</span></p></td>
142
<td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> or <a href="/home/otaylor/gnome/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>;
143
the dispatch_operation is not guaranteed to be prepared. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
147
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
148
<td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-add-dispatch-operation-context.html#TpAddDispatchOperationContext"><span class="type">TpAddDispatchOperationContext</span></a> representing the context of this
155
<div class="refsect2">
156
<a name="ShellTpClientClass"></a><h3>struct ShellTpClientClass</h3>
157
<pre class="programlisting">struct ShellTpClientClass {
162
<div class="refsect2">
163
<a name="ShellTpClientContactListChangedImpl"></a><h3>ShellTpClientContactListChangedImpl ()</h3>
164
<pre class="programlisting"><span class="returnvalue">void</span> (*ShellTpClientContactListChangedImpl)
165
(<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *connection</code></em>,
166
<em class="parameter"><code><span class="type">GPtrArray</span> *added</code></em>,
167
<em class="parameter"><code><span class="type">GPtrArray</span> *removed</code></em>,
168
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
170
Signature of the implementation of the ContactListChanged method.
172
<div class="variablelist"><table border="0">
173
<col align="left" valign="top">
176
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
177
<td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> having <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TP-CONNECTION-FEATURE-CORE:CAPS"><code class="literal">TP_CONNECTION_FEATURE_CORE</code></a> prepared
181
<td><p><span class="term"><em class="parameter"><code>added</code></em> :</span></p></td>
182
<td>a <span class="type">GPtrArray</span> of added <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-contact.html#TpContact"><span class="type">TpContact</span></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> TelepathyGLib.Contact]</span>
186
<td><p><span class="term"><em class="parameter"><code>removed</code></em> :</span></p></td>
187
<td>a <span class="type">GPtrArray</span> of removed <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-contact.html#TpContact"><span class="type">TpContact</span></a>. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> TelepathyGLib.Contact]</span>
194
<div class="refsect2">
195
<a name="ShellTpClientHandleChannelsImpl"></a><h3>ShellTpClientHandleChannelsImpl ()</h3>
196
<pre class="programlisting"><span class="returnvalue">void</span> (*ShellTpClientHandleChannelsImpl) (<em class="parameter"><code><span class="type">ShellTpClient</span> *client</code></em>,
197
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> *account</code></em>,
198
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *connection</code></em>,
199
<em class="parameter"><code><span class="type">GList</span> *channels</code></em>,
200
<em class="parameter"><code><span class="type">GList</span> *requests_satisfied</code></em>,
201
<em class="parameter"><code><span class="type">gint64</span> user_action_time</code></em>,
202
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a> *context</code></em>,
203
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
205
Signature of the implementation of the HandleChannels method.
207
<div class="variablelist"><table border="0">
208
<col align="left" valign="top">
211
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
212
<td>a <span class="type">ShellTpClient</span> instance</td>
215
<td><p><span class="term"><em class="parameter"><code>account</code></em> :</span></p></td>
216
<td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> having <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TP-ACCOUNT-FEATURE-CORE:CAPS"><code class="literal">TP_ACCOUNT_FEATURE_CORE</code></a> prepared if possible</td>
219
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
220
<td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> having <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TP-CONNECTION-FEATURE-CORE:CAPS"><code class="literal">TP_CONNECTION_FEATURE_CORE</code></a> prepared
224
<td><p><span class="term"><em class="parameter"><code>channels</code></em> :</span></p></td>
225
<td>a <span class="type">GList</span> of <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a>,
226
all having <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel.html#TP-CHANNEL-FEATURE-CORE:CAPS"><code class="literal">TP_CHANNEL_FEATURE_CORE</code></a> prepared if possible. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> TelepathyGLib.Channel]</span>
230
<td><p><span class="term"><em class="parameter"><code>requests_satisfied</code></em> :</span></p></td>
231
<td>a <span class="type">GList</span> of
232
<a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel-request.html#TpChannelRequest"><span class="type">TpChannelRequest</span></a> having their object-path defined but are not guaranteed
233
to be prepared. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> TelepathyGLib.ChannelRequest]</span>
237
<td><p><span class="term"><em class="parameter"><code>user_action_time</code></em> :</span></p></td>
238
<td>the time at which user action occurred, or one of the
239
special values <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-defs.html#TP-USER-ACTION-TIME-NOT-USER-ACTION:CAPS"><code class="literal">TP_USER_ACTION_TIME_NOT_USER_ACTION</code></a> or
240
<a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-defs.html#TP-USER-ACTION-TIME-CURRENT-TIME:CAPS"><code class="literal">TP_USER_ACTION_TIME_CURRENT_TIME</code></a>
241
(see <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account-channel-request.html#TpAccountChannelRequest--user-action-time"><span class="type">"user-action-time"</span></a> for details)</td>
244
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
245
<td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-handle-channels-context.html#TpHandleChannelsContext"><span class="type">TpHandleChannelsContext</span></a> representing the context of this
252
<div class="refsect2">
253
<a name="ShellTpClientObserveChannelsImpl"></a><h3>ShellTpClientObserveChannelsImpl ()</h3>
254
<pre class="programlisting"><span class="returnvalue">void</span> (*ShellTpClientObserveChannelsImpl) (<em class="parameter"><code><span class="type">ShellTpClient</span> *client</code></em>,
255
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> *account</code></em>,
256
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *connection</code></em>,
257
<em class="parameter"><code><span class="type">GList</span> *channels</code></em>,
258
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> *dispatch_operation</code></em>,
259
<em class="parameter"><code><span class="type">GList</span> *requests</code></em>,
260
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-observe-channels-context.html#TpObserveChannelsContext"><span class="type">TpObserveChannelsContext</span></a> *context</code></em>,
261
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
263
Signature of the implementation of the ObserveChannels method.
265
<div class="variablelist"><table border="0">
266
<col align="left" valign="top">
269
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
270
<td>a <span class="type">ShellTpClient</span> instance</td>
273
<td><p><span class="term"><em class="parameter"><code>account</code></em> :</span></p></td>
274
<td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> having <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TP-ACCOUNT-FEATURE-CORE:CAPS"><code class="literal">TP_ACCOUNT_FEATURE_CORE</code></a> prepared if possible</td>
277
<td><p><span class="term"><em class="parameter"><code>connection</code></em> :</span></p></td>
278
<td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> having <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TP-CONNECTION-FEATURE-CORE:CAPS"><code class="literal">TP_CONNECTION_FEATURE_CORE</code></a> prepared
282
<td><p><span class="term"><em class="parameter"><code>channels</code></em> :</span></p></td>
283
<td>a <span class="type">GList</span> of <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel.html#TpChannel"><span class="type">TpChannel</span></a>,
284
all having <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel.html#TP-CHANNEL-FEATURE-CORE:CAPS"><code class="literal">TP_CHANNEL_FEATURE_CORE</code></a> prepared if possible. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> TelepathyGLib.Channel]</span>
288
<td><p><span class="term"><em class="parameter"><code>dispatch_operation</code></em> :</span></p></td>
289
<td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel-dispatch-operation.html#TpChannelDispatchOperation"><span class="type">TpChannelDispatchOperation</span></a> or <a href="/home/otaylor/gnome/install/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>;
290
the dispatch_operation is not guaranteed to be prepared. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
294
<td><p><span class="term"><em class="parameter"><code>requests</code></em> :</span></p></td>
295
<td>a <span class="type">GList</span> of
296
<a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-channel-request.html#TpChannelRequest"><span class="type">TpChannelRequest</span></a>, all having their object-path defined but are not
297
guaranteed to be prepared. <span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> TelepathyGLib.ChannelRequest]</span>
301
<td><p><span class="term"><em class="parameter"><code>context</code></em> :</span></p></td>
302
<td>a <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-observe-channels-context.html#TpObserveChannelsContext"><span class="type">TpObserveChannelsContext</span></a> representing the context of this
309
<div class="refsect2">
310
<a name="shell-decline-dispatch-op"></a><h3>shell_decline_dispatch_op ()</h3>
311
<pre class="programlisting"><span class="returnvalue">void</span> shell_decline_dispatch_op (<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-add-dispatch-operation-context.html#TpAddDispatchOperationContext"><span class="type">TpAddDispatchOperationContext</span></a> *context</code></em>,
312
<em class="parameter"><code>const <span class="type">gchar</span> *message</code></em>);</pre>
315
<div class="refsect2">
316
<a name="shell-get-contact-events"></a><h3>shell_get_contact_events ()</h3>
317
<pre class="programlisting"><span class="returnvalue">void</span> shell_get_contact_events (<em class="parameter"><code><span class="type">TplLogManager</span> *log_manager</code></em>,
318
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a> *account</code></em>,
319
<em class="parameter"><code><span class="type">TplEntity</span> *entity</code></em>,
320
<em class="parameter"><code><span class="type">guint</span> num_events</code></em>,
321
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>);</pre>
323
Wrap tpl_log_manager_get_filtered_events_async because gjs cannot support
324
multiple callbacks in the same function call.
326
<div class="variablelist"><table border="0">
327
<col align="left" valign="top">
330
<td><p><span class="term"><em class="parameter"><code>log_manager</code></em> :</span></p></td>
331
<td>A <span class="type">TplLogManager</span>
335
<td><p><span class="term"><em class="parameter"><code>account</code></em> :</span></p></td>
336
<td>A <a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-account.html#TpAccount"><span class="type">TpAccount</span></a>
340
<td><p><span class="term"><em class="parameter"><code>entity</code></em> :</span></p></td>
341
<td>A <span class="type">TplEntity</span>
345
<td><p><span class="term"><em class="parameter"><code>num_events</code></em> :</span></p></td>
346
<td>The number of events to retrieve</td>
349
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
350
<td>User callback to run when the contact is ready. <span class="annotation">[<acronym title="The callback is valid until first called."><span class="acronym">scope async</span></acronym>]</span>
357
<div class="refsect2">
358
<a name="shell-tp-client-grab-contact-list-changed"></a><h3>shell_tp_client_grab_contact_list_changed ()</h3>
359
<pre class="programlisting"><span class="returnvalue">void</span> shell_tp_client_grab_contact_list_changed
360
(<em class="parameter"><code><span class="type">ShellTpClient</span> *self</code></em>,
361
<em class="parameter"><code><a href="http://telepathy.freedesktop.org/doc/telepathy-glib/telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *conn</code></em>);</pre>
364
<div class="refsect2">
365
<a name="shell-tp-client-set-approve-channels-func"></a><h3>shell_tp_client_set_approve_channels_func ()</h3>
366
<pre class="programlisting"><span class="returnvalue">void</span> shell_tp_client_set_approve_channels_func
367
(<em class="parameter"><code><span class="type">ShellTpClient</span> *self</code></em>,
368
<em class="parameter"><code><a class="link" href="shell-ShellTpClient.html#ShellTpClientApproveChannelsImpl" title="ShellTpClientApproveChannelsImpl ()"><span class="type">ShellTpClientApproveChannelsImpl</span></a> approve_impl</code></em>,
369
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
370
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</pre>
373
<div class="refsect2">
374
<a name="shell-tp-client-set-contact-list-changed-func"></a><h3>shell_tp_client_set_contact_list_changed_func ()</h3>
375
<pre class="programlisting"><span class="returnvalue">void</span> shell_tp_client_set_contact_list_changed_func
376
(<em class="parameter"><code><span class="type">ShellTpClient</span> *self</code></em>,
377
<em class="parameter"><code><a class="link" href="shell-ShellTpClient.html#ShellTpClientContactListChangedImpl" title="ShellTpClientContactListChangedImpl ()"><span class="type">ShellTpClientContactListChangedImpl</span></a> contact_list_changed_impl</code></em>,
378
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
379
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</pre>
382
<div class="refsect2">
383
<a name="shell-tp-client-set-handle-channels-func"></a><h3>shell_tp_client_set_handle_channels_func ()</h3>
384
<pre class="programlisting"><span class="returnvalue">void</span> shell_tp_client_set_handle_channels_func
385
(<em class="parameter"><code><span class="type">ShellTpClient</span> *self</code></em>,
386
<em class="parameter"><code><a class="link" href="shell-ShellTpClient.html#ShellTpClientHandleChannelsImpl" title="ShellTpClientHandleChannelsImpl ()"><span class="type">ShellTpClientHandleChannelsImpl</span></a> handle_channels_impl</code></em>,
387
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
388
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</pre>
391
<div class="refsect2">
392
<a name="shell-tp-client-set-observe-channels-func"></a><h3>shell_tp_client_set_observe_channels_func ()</h3>
393
<pre class="programlisting"><span class="returnvalue">void</span> shell_tp_client_set_observe_channels_func
394
(<em class="parameter"><code><span class="type">ShellTpClient</span> *self</code></em>,
395
<em class="parameter"><code><a class="link" href="shell-ShellTpClient.html#ShellTpClientObserveChannelsImpl" title="ShellTpClientObserveChannelsImpl ()"><span class="type">ShellTpClientObserveChannelsImpl</span></a> observe_impl</code></em>,
396
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>,
397
<em class="parameter"><code><span class="type">GDestroyNotify</span> destroy</code></em>);</pre>
403
Generated by GTK-Doc V1.18.1</div>
b'\\ No newline at end of file'