71
71
<td class="function_type">
72
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
72
<a href="../glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
74
74
<td class="function_name">
75
75
<a class="link" href="GDBusInterfaceSkeleton.html#g-dbus-interface-skeleton-get-properties" title="g_dbus_interface_skeleton_get_properties ()">g_dbus_interface_skeleton_get_properties</a> <span class="c_punctuation">()</span>
79
79
<td class="function_type">
80
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
80
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
82
82
<td class="function_name">
83
83
<a class="link" href="GDBusInterfaceSkeleton.html#g-dbus-interface-skeleton-export" title="g_dbus_interface_skeleton_export ()">g_dbus_interface_skeleton_export</a> <span class="c_punctuation">()</span>
111
111
<td class="function_type">
112
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
112
<a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
114
114
<td class="function_name">
115
115
<a class="link" href="GDBusInterfaceSkeleton.html#g-dbus-interface-skeleton-get-connections" title="g_dbus_interface_skeleton_get_connections ()">g_dbus_interface_skeleton_get_connections</a> <span class="c_punctuation">()</span>
119
119
<td class="function_type">
120
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
120
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
122
122
<td class="function_name">
123
123
<a class="link" href="GDBusInterfaceSkeleton.html#g-dbus-interface-skeleton-has-connection" title="g_dbus_interface_skeleton_has_connection ()">g_dbus_interface_skeleton_has_connection</a> <span class="c_punctuation">()</span>
127
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
127
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
129
129
<td class="function_name">
130
130
<a class="link" href="GDBusInterfaceSkeleton.html#g-dbus-interface-skeleton-get-object-path" title="g_dbus_interface_skeleton_get_object_path ()">g_dbus_interface_skeleton_get_object_path</a> <span class="c_punctuation">()</span>
173
173
<col width="200px" class="signals_flags">
176
<td class="signal_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
176
<td class="signal_type"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a></td>
177
177
<td class="signal_name"><a class="link" href="GDBusInterfaceSkeleton.html#GDBusInterfaceSkeleton-g-authorize-method" title="The “g-authorize-method” signal">g-authorize-method</a></td>
178
178
<td class="signal_flags">Run Last</td>
205
205
<div class="refsect1">
206
206
<a name="GDBusInterfaceSkeleton.object-hierarchy"></a><h2>Object Hierarchy</h2>
207
<pre class="screen"> GFlags
207
<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
208
208
<span class="lineart">╰──</span> GDBusInterfaceSkeletonFlags
209
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
209
<a href="../gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
210
210
<span class="lineart">╰──</span> GDBusInterfaceSkeleton
282
282
<div class="refsect3">
283
283
<a name="id-1.4.18.5.11.3.6"></a><h4>Returns</h4>
284
<p> A <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> (never <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). Do not free. </p>
284
<p> A <a class="link" href="gio-D-Bus-Introspection-Data.html#GDBusInterfaceInfo"><span class="type">GDBusInterfaceInfo</span></a> (never <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>). Do not free. </p>
285
285
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
287
287
<p class="since">Since 2.30</p>
315
315
<div class="refsect3">
316
316
<a name="id-1.4.18.5.11.4.6"></a><h4>Returns</h4>
317
<p> A <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a> (never <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</p>
317
<p> A <a class="link" href="GDBusConnection.html#GDBusInterfaceVTable" title="GDBusInterfaceVTable"><span class="type">GDBusInterfaceVTable</span></a> (never <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>).</p>
320
320
<p class="since">Since 2.30</p>
323
323
<div class="refsect2">
324
324
<a name="g-dbus-interface-skeleton-get-properties"></a><h3>g_dbus_interface_skeleton_get_properties ()</h3>
325
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
325
<pre class="programlisting"><a href="../glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
326
326
g_dbus_interface_skeleton_get_properties
327
327
(<em class="parameter"><code><a class="link" href="GDBusInterfaceSkeleton.html" title="GDBusInterfaceSkeleton"><span class="type">GDBusInterfaceSkeleton</span></a> *interface_</code></em>);</pre>
328
328
<p>Gets all D-Bus properties for <em class="parameter"><code>interface_</code></em>
345
345
<div class="refsect3">
346
346
<a name="id-1.4.18.5.11.5.6"></a><h4>Returns</h4>
347
<p> A <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> of type
348
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariantType.html#G-VARIANT-TYPE-VARDICT:CAPS">'a{sv}'</a>.
349
Free with <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-unref"><code class="function">g_variant_unref()</code></a>. </p>
347
<p> A <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> of type
348
<a href="../glib/glib-GVariantType.html#G-VARIANT-TYPE-VARDICT:CAPS">'a{sv}'</a>.
349
Free with <a href="../glib/glib-GVariant.html#g-variant-unref"><code class="function">g_variant_unref()</code></a>. </p>
350
350
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
352
352
<p class="since">Since 2.30</p>
355
355
<div class="refsect2">
356
356
<a name="g-dbus-interface-skeleton-export"></a><h3>g_dbus_interface_skeleton_export ()</h3>
357
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
357
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
358
358
g_dbus_interface_skeleton_export (<em class="parameter"><code><a class="link" href="GDBusInterfaceSkeleton.html" title="GDBusInterfaceSkeleton"><span class="type">GDBusInterfaceSkeleton</span></a> *interface_</code></em>,
359
359
<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>,
360
<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> *object_path</code></em>,
361
<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>);</pre>
360
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>,
361
<em class="parameter"><code><a href="../glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
362
362
<p>Exports <em class="parameter"><code>interface_</code></em>
363
363
at <em class="parameter"><code>object_path</code></em>
364
364
on <em class="parameter"><code>connection</code></em>
398
398
<td class="parameter_name"><p>error</p></td>
399
<td class="parameter_description"><p>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
399
<td class="parameter_description"><p>Return location for error or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
400
400
<td class="parameter_annotations"> </td>
405
405
<div class="refsect3">
406
406
<a name="id-1.4.18.5.11.6.8"></a><h4>Returns</h4>
407
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the interface was exported on <em class="parameter"><code>connection</code></em>
408
, otherwise <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> with
407
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the interface was exported on <em class="parameter"><code>connection</code></em>
408
, otherwise <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> with
409
409
<em class="parameter"><code>error</code></em>
501
501
<div class="refsect3">
502
502
<a name="id-1.4.18.5.11.9.6"></a><h4>Returns</h4>
503
<p> A <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>interface_</code></em>
503
<p> A <a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>interface_</code></em>
505
505
not exported anywhere. Do not free, the object belongs to <em class="parameter"><code>interface_</code></em>
512
512
<div class="refsect2">
513
513
<a name="g-dbus-interface-skeleton-get-connections"></a><h3>g_dbus_interface_skeleton_get_connections ()</h3>
514
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
514
<pre class="programlisting"><a href="../glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *
515
515
g_dbus_interface_skeleton_get_connections
516
516
(<em class="parameter"><code><a class="link" href="GDBusInterfaceSkeleton.html" title="GDBusInterfaceSkeleton"><span class="type">GDBusInterfaceSkeleton</span></a> *interface_</code></em>);</pre>
517
517
<p>Gets a list of the connections that <em class="parameter"><code>interface_</code></em>
537
537
all the connections that <em class="parameter"><code>interface_</code></em>
538
538
is exported on. The returned
539
list should be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> after each element has
540
been freed with <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
539
list should be freed with <a href="../glib/glib-Doubly-Linked-Lists.html#g-list-free"><code class="function">g_list_free()</code></a> after each element has
540
been freed with <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-unref"><code class="function">g_object_unref()</code></a>. </p>
541
541
<p><span class="annotation">[<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GDBusConnection][<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
543
543
<p class="since">Since 2.32</p>
546
546
<div class="refsect2">
547
547
<a name="g-dbus-interface-skeleton-has-connection"></a><h3>g_dbus_interface_skeleton_has_connection ()</h3>
548
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
548
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
549
549
g_dbus_interface_skeleton_has_connection
550
550
(<em class="parameter"><code><a class="link" href="GDBusInterfaceSkeleton.html" title="GDBusInterfaceSkeleton"><span class="type">GDBusInterfaceSkeleton</span></a> *interface_</code></em>,
551
551
<em class="parameter"><code><a class="link" href="GDBusConnection.html" title="GDBusConnection"><span class="type">GDBusConnection</span></a> *connection</code></em>);</pre>
577
577
<div class="refsect3">
578
578
<a name="id-1.4.18.5.11.11.6"></a><h4>Returns</h4>
579
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>interface_</code></em>
579
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>interface_</code></em>
580
580
is exported on <em class="parameter"><code>connection</code></em>
581
, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
581
, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
584
584
<p class="since">Since 2.32</p>
587
587
<div class="refsect2">
588
588
<a name="g-dbus-interface-skeleton-get-object-path"></a><h3>g_dbus_interface_skeleton_get_object_path ()</h3>
589
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
589
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
590
590
g_dbus_interface_skeleton_get_object_path
591
591
(<em class="parameter"><code><a class="link" href="GDBusInterfaceSkeleton.html" title="GDBusInterfaceSkeleton"><span class="type">GDBusInterfaceSkeleton</span></a> *interface_</code></em>);</pre>
592
592
<p>Gets the object path that <em class="parameter"><code>interface_</code></em>
609
609
<div class="refsect3">
610
610
<a name="id-1.4.18.5.11.12.6"></a><h4>Returns</h4>
611
611
<p> A string owned by <em class="parameter"><code>interface_</code></em>
612
or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>interface_</code></em>
612
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>interface_</code></em>
614
614
anywhere. Do not free, the string belongs to <em class="parameter"><code>interface_</code></em>
721
<td class="struct_member_name"><p><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GDBusInterfaceSkeletonClass.parent-class"></a>parent_class</code></em>;</p></td>
721
<td class="struct_member_name"><p><a href="../gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GDBusInterfaceSkeletonClass.parent-class"></a>parent_class</code></em>;</p></td>
722
722
<td class="struct_member_description"><p>The parent class.</p></td>
723
723
<td class="struct_member_annotations"> </td>
736
736
<td class="struct_member_name"><p><em class="structfield"><code><a name="GDBusInterfaceSkeletonClass.get-properties"></a>get_properties</code></em> ()</p></td>
737
<td class="struct_member_description"><p>Returns a <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> with all properties. See <a class="link" href="GDBusInterfaceSkeleton.html#g-dbus-interface-skeleton-get-properties" title="g_dbus_interface_skeleton_get_properties ()"><code class="function">g_dbus_interface_skeleton_get_properties()</code></a>.</p></td>
737
<td class="struct_member_description"><p>Returns a <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> with all properties. See <a class="link" href="GDBusInterfaceSkeleton.html#g-dbus-interface-skeleton-get-properties" title="g_dbus_interface_skeleton_get_properties ()"><code class="function">g_dbus_interface_skeleton_get_properties()</code></a>.</p></td>
738
738
<td class="struct_member_annotations"> </td>
802
802
<a name="GDBusInterfaceSkeleton.signal-details"></a><h2>Signal Details</h2>
803
803
<div class="refsect2">
804
804
<a name="GDBusInterfaceSkeleton-g-authorize-method"></a><h3>The <code class="literal">“g-authorize-method”</code> signal</h3>
805
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
805
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
806
806
user_function (<a class="link" href="GDBusInterfaceSkeleton.html" title="GDBusInterfaceSkeleton"><span class="type">GDBusInterfaceSkeleton</span></a> *interface,
807
807
<a class="link" href="GDBusMethodInvocation.html" title="GDBusMethodInvocation"><span class="type">GDBusMethodInvocation</span></a> *invocation,
808
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
808
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
809
809
<p>Emitted when a method is invoked by a remote caller and used to
810
810
determine if the method call is authorized.</p>
811
811
<p>Note that this signal is emitted in a thread dedicated to
816
816
<a class="ulink" href="http://hal.freedesktop.org/docs/polkit/PolkitAuthority.html#POLKIT-CHECK-AUTHORIZATION-FLAGS-ALLOW-USER-INTERACTION:CAPS" target="_top">POLKIT_CHECK_AUTHORIZATION_FLAGS_ALLOW_USER_INTERACTION</a>
818
<p>If <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned then no further handlers are run and the
818
<p>If <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned then no further handlers are run and the
819
819
signal handler must take a reference to <em class="parameter"><code>invocation</code></em>
821
821
handling the call (e.g. return an error via
822
822
<a class="link" href="GDBusMethodInvocation.html#g-dbus-method-invocation-return-error" title="g_dbus_method_invocation_return_error ()"><code class="function">g_dbus_method_invocation_return_error()</code></a>).</p>
823
<p>Otherwise, if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned, signal emission continues. If no
824
handlers return <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then the method is dispatched. If
823
<p>Otherwise, if <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is returned, signal emission continues. If no
824
handlers return <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then the method is dispatched. If
825
825
<em class="parameter"><code>interface</code></em>
826
826
has an enclosing <a class="link" href="GDBusObjectSkeleton.html" title="GDBusObjectSkeleton"><span class="type">GDBusObjectSkeleton</span></a>, then the
827
827
<a class="link" href="GDBusObjectSkeleton.html#GDBusObjectSkeleton-authorize-method" title="The “authorize-method” signal"><span class="type">“authorize-method”</span></a> signal handlers run before
828
828
the handlers for this signal.</p>
829
<p>The default class handler just returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
829
<p>The default class handler just returns <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
830
830
<p>Please note that the common case is optimized: if no signals
831
831
handlers are connected and the default class handler isn't
832
832
overridden (for both <em class="parameter"><code>interface</code></em>
868
868
<div class="refsect3">
869
869
<a name="id-1.4.18.5.14.2.11"></a><h4>Returns</h4>
870
<p> <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the call is authorized, <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
870
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the call is authorized, <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
873
873
<p>Flags: Run Last</p>