43
43
<a class="link" href="telepathy-glib-TpTextMixin.html#TpTextMixin" title="TpTextMixin">TpTextMixin</a>;
44
44
struct <a class="link" href="telepathy-glib-TpTextMixin.html#TpTextMixinClass" title="struct TpTextMixinClass">TpTextMixinClass</a>;
45
<span class="returnvalue">GQuark</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-class-get-offset-quark" title="tp_text_mixin_class_get_offset_quark ()">tp_text_mixin_class_get_offset_quark</a>
45
<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-class-get-offset-quark" title="tp_text_mixin_class_get_offset_quark ()">tp_text_mixin_class_get_offset_quark</a>
46
46
(<em class="parameter"><code><span class="type">void</span></code></em>);
47
<span class="returnvalue">GQuark</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-get-offset-quark" title="tp_text_mixin_get_offset_quark ()">tp_text_mixin_get_offset_quark</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
48
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-class-init" title="tp_text_mixin_class_init ()">tp_text_mixin_class_init</a> (<em class="parameter"><code><span class="type">GObjectClass</span> *obj_cls</code></em>,
49
<em class="parameter"><code><span class="type">glong</span> offset</code></em>);
50
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-init" title="tp_text_mixin_init ()">tp_text_mixin_init</a> (<em class="parameter"><code><span class="type">GObject</span> *obj</code></em>,
51
<em class="parameter"><code><span class="type">glong</span> offset</code></em>,
47
<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-get-offset-quark" title="tp_text_mixin_get_offset_quark ()">tp_text_mixin_get_offset_quark</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
48
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-class-init" title="tp_text_mixin_class_init ()">tp_text_mixin_class_init</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *obj_cls</code></em>,
49
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a> offset</code></em>);
50
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-init" title="tp_text_mixin_init ()">tp_text_mixin_init</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
51
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a> offset</code></em>,
52
52
<em class="parameter"><code><a class="link" href="telepathy-glib-handle-repo.html#TpHandleRepoIface"><span class="type">TpHandleRepoIface</span></a> *contacts_repo</code></em>);
53
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-set-message-types" title="tp_text_mixin_set_message_types ()">tp_text_mixin_set_message_types</a> (<em class="parameter"><code><span class="type">GObject</span> *obj</code></em>,
53
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-set-message-types" title="tp_text_mixin_set_message_types ()">tp_text_mixin_set_message_types</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
54
54
<em class="parameter"><code>...</code></em>);
55
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-finalize" title="tp_text_mixin_finalize ()">tp_text_mixin_finalize</a> (<em class="parameter"><code><span class="type">GObject</span> *obj</code></em>);
56
<span class="returnvalue">gboolean</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-receive-with-flags" title="tp_text_mixin_receive_with_flags ()">tp_text_mixin_receive_with_flags</a> (<em class="parameter"><code><span class="type">GObject</span> *obj</code></em>,
55
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-finalize" title="tp_text_mixin_finalize ()">tp_text_mixin_finalize</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>);
56
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-receive-with-flags" title="tp_text_mixin_receive_with_flags ()">tp_text_mixin_receive_with_flags</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
57
57
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpChannelTextMessageType" title="enum TpChannelTextMessageType"><span class="type">TpChannelTextMessageType</span></a> type</code></em>,
58
58
<em class="parameter"><code><a class="link" href="telepathy-glib-handle.html#TpHandle" title="TpHandle"><span class="type">TpHandle</span></a> sender</code></em>,
59
59
<em class="parameter"><code><span class="type">time_t</span> timestamp</code></em>,
60
60
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>,
61
61
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpChannelTextMessageFlags" title="enum TpChannelTextMessageFlags"><span class="type">TpChannelTextMessageFlags</span></a> flags</code></em>);
62
<span class="returnvalue">gboolean</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-receive" title="tp_text_mixin_receive ()">tp_text_mixin_receive</a> (<em class="parameter"><code><span class="type">GObject</span> *obj</code></em>,
62
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-receive" title="tp_text_mixin_receive ()">tp_text_mixin_receive</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
63
63
<em class="parameter"><code><a class="link" href="telepathy-glib-enums.html#TpChannelTextMessageType" title="enum TpChannelTextMessageType"><span class="type">TpChannelTextMessageType</span></a> type</code></em>,
64
64
<em class="parameter"><code><a class="link" href="telepathy-glib-handle.html#TpHandle" title="TpHandle"><span class="type">TpHandle</span></a> sender</code></em>,
65
65
<em class="parameter"><code><span class="type">time_t</span> timestamp</code></em>,
66
66
<em class="parameter"><code>const <span class="type">char</span> *text</code></em>);
67
<span class="returnvalue">gboolean</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-acknowledge-pending-messages" title="tp_text_mixin_acknowledge_pending_messages ()">tp_text_mixin_acknowledge_pending_messages</a>
68
(<em class="parameter"><code><span class="type">GObject</span> *obj</code></em>,
69
<em class="parameter"><code>const <span class="type">GArray</span> *ids</code></em>,
70
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
71
<span class="returnvalue">gboolean</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-list-pending-messages" title="tp_text_mixin_list_pending_messages ()">tp_text_mixin_list_pending_messages</a> (<em class="parameter"><code><span class="type">GObject</span> *obj</code></em>,
72
<em class="parameter"><code><span class="type">gboolean</span> clear</code></em>,
73
<em class="parameter"><code><span class="type">GPtrArray</span> **ret</code></em>,
74
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
75
<span class="returnvalue">gboolean</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-get-message-types" title="tp_text_mixin_get_message_types ()">tp_text_mixin_get_message_types</a> (<em class="parameter"><code><span class="type">GObject</span> *obj</code></em>,
76
<em class="parameter"><code><span class="type">GArray</span> **ret</code></em>,
77
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
78
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-clear" title="tp_text_mixin_clear ()">tp_text_mixin_clear</a> (<em class="parameter"><code><span class="type">GObject</span> *obj</code></em>);
79
<span class="returnvalue">gboolean</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-has-pending-messages" title="tp_text_mixin_has_pending_messages ()">tp_text_mixin_has_pending_messages</a> (<em class="parameter"><code><span class="type">GObject</span> *obj</code></em>,
67
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-acknowledge-pending-messages" title="tp_text_mixin_acknowledge_pending_messages ()">tp_text_mixin_acknowledge_pending_messages</a>
68
(<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
69
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *ids</code></em>,
70
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
71
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-list-pending-messages" title="tp_text_mixin_list_pending_messages ()">tp_text_mixin_list_pending_messages</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
72
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> clear</code></em>,
73
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> **ret</code></em>,
74
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
75
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-get-message-types" title="tp_text_mixin_get_message_types ()">tp_text_mixin_get_message_types</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
76
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> **ret</code></em>,
77
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
78
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-clear" title="tp_text_mixin_clear ()">tp_text_mixin_clear</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>);
79
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-has-pending-messages" title="tp_text_mixin_has_pending_messages ()">tp_text_mixin_has_pending_messages</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>,
80
80
<em class="parameter"><code><a class="link" href="telepathy-glib-handle.html#TpHandle" title="TpHandle"><span class="type">TpHandle</span></a> *first_sender</code></em>);
81
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-set-rescued" title="tp_text_mixin_set_rescued ()">tp_text_mixin_set_rescued</a> (<em class="parameter"><code><span class="type">GObject</span> *obj</code></em>);
82
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-iface-init" title="tp_text_mixin_iface_init ()">tp_text_mixin_iface_init</a> (<em class="parameter"><code><span class="type">gpointer</span> g_iface</code></em>,
83
<em class="parameter"><code><span class="type">gpointer</span> iface_data</code></em>);
81
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-set-rescued" title="tp_text_mixin_set_rescued ()">tp_text_mixin_set_rescued</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *obj</code></em>);
82
<span class="returnvalue">void</span> <a class="link" href="telepathy-glib-TpTextMixin.html#tp-text-mixin-iface-init" title="tp_text_mixin_iface_init ()">tp_text_mixin_iface_init</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> g_iface</code></em>,
83
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> iface_data</code></em>);
86
86
<div class="refsect1">
168
168
<div class="refsect2">
169
169
<a name="tp-text-mixin-class-init"></a><h3>tp_text_mixin_class_init ()</h3>
170
<pre class="programlisting"><span class="returnvalue">void</span> tp_text_mixin_class_init (<em class="parameter"><code><span class="type">GObjectClass</span> *obj_cls</code></em>,
171
<em class="parameter"><code><span class="type">glong</span> offset</code></em>);</pre>
170
<pre class="programlisting"><span class="returnvalue">void</span> tp_text_mixin_class_init (<em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> *obj_cls</code></em>,
171
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#glong"><span class="type">glong</span></a> offset</code></em>);</pre>
173
173
Initialize the text mixin. Should be called from the implementation's
174
174
class_init function like so:
178
<div class="informalexample"><pre class="programlisting">
179
tp_text_mixin_class_init ((GObjectClass *) klass,
180
G_STRUCT_OFFSET (SomeObjectClass, text_mixin));
178
<div class="informalexample">
179
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
182
<td class="listing_lines" align="right"><pre>1
184
<td class="listing_code"><pre class="programlisting"><span class="function"><a href="telepathy-glib-TpTextMixin.html#tp-text-mixin-class-init">tp_text_mixin_class_init</a></span> <span class="gtkdoc opt">((</span>GObjectClass <span class="gtkdoc opt">*)</span> klass<span class="gtkdoc opt">,</span>
185
<span class="function"><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#G-STRUCT-OFFSET:CAPS">G_STRUCT_OFFSET</a></span> <span class="gtkdoc opt">(</span>SomeObjectClass<span class="gtkdoc opt">,</span> text_mixin<span class="gtkdoc opt">));</span></pre></td>
184
193
<div class="variablelist"><table border="0">