ACC SHELL

Path : /usr/share/gtk-doc/html/polkit/
File Upload :
Current File : //usr/share/gtk-doc/html/polkit/polkit-Seat.html

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Seat</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="PolicyKit Library Reference Manual">
<link rel="up" href="ref-core.html" title="Core API Reference">
<link rel="prev" href="polkit-Actions.html" title="Actions">
<link rel="next" href="polkit-Session.html" title="Session">
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="polkit-Actions.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ref-core.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">PolicyKit Library Reference Manual</th>
<td><a accesskey="n" href="polkit-Session.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#polkit-Seat.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#polkit-Seat.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="Seat">
<a name="polkit-Seat"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="polkit-Seat.top_of_page"></a>Seat</span></h2>
<p>Seat — Represents a ConsoleKit Seat.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="polkit-Seat.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat">PolKitSeat</a>;
<a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="returnvalue">PolKitSeat</span></a> *        <a class="link" href="polkit-Seat.html#polkit-seat-new" title="polkit_seat_new ()">polkit_seat_new</a>                     (<em class="parameter"><code><span class="type">void</span></code></em>);
<a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="returnvalue">PolKitSeat</span></a> *        <a class="link" href="polkit-Seat.html#polkit-seat-ref" title="polkit_seat_ref ()">polkit_seat_ref</a>                     (<em class="parameter"><code><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> *seat</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="polkit-Seat.html#polkit-seat-unref" title="polkit_seat_unref ()">polkit_seat_unref</a>                   (<em class="parameter"><code><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> *seat</code></em>);
<a class="link" href="polkit-Basic-types.html#polkit-bool-t" title="polkit_bool_t"><span class="returnvalue">polkit_bool_t</span></a>       <a class="link" href="polkit-Seat.html#polkit-seat-set-ck-objref" title="polkit_seat_set_ck_objref ()">polkit_seat_set_ck_objref</a>           (<em class="parameter"><code><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> *seat</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *ck_objref</code></em>);
<a class="link" href="polkit-Basic-types.html#polkit-bool-t" title="polkit_bool_t"><span class="returnvalue">polkit_bool_t</span></a>       <a class="link" href="polkit-Seat.html#polkit-seat-get-ck-objref" title="polkit_seat_get_ck_objref ()">polkit_seat_get_ck_objref</a>           (<em class="parameter"><code><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> *seat</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> **out_ck_objref</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="polkit-Seat.html#polkit-seat-debug" title="polkit_seat_debug ()">polkit_seat_debug</a>                   (<em class="parameter"><code><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> *seat</code></em>);
<a class="link" href="polkit-Basic-types.html#polkit-bool-t" title="polkit_bool_t"><span class="returnvalue">polkit_bool_t</span></a>       <a class="link" href="polkit-Seat.html#polkit-seat-validate" title="polkit_seat_validate ()">polkit_seat_validate</a>                (<em class="parameter"><code><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> *seat</code></em>);
</pre>
</div>
<div class="refsect1" title="Description">
<a name="polkit-Seat.description"></a><h2>Description</h2>
<p>
This class is used to represent a seat.
</p>
</div>
<div class="refsect1" title="Details">
<a name="polkit-Seat.details"></a><h2>Details</h2>
<div class="refsect2" title="PolKitSeat">
<a name="PolKitSeat"></a><h3>PolKitSeat</h3>
<pre class="programlisting">typedef struct _PolKitSeat PolKitSeat;</pre>
<p>
Objects of this class are used to record information about a
seat.
</p>
</div>
<hr>
<div class="refsect2" title="polkit_seat_new ()">
<a name="polkit-seat-new"></a><h3>polkit_seat_new ()</h3>
<pre class="programlisting"><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="returnvalue">PolKitSeat</span></a> *        polkit_seat_new                     (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the new object
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="polkit_seat_ref ()">
<a name="polkit-seat-ref"></a><h3>polkit_seat_ref ()</h3>
<pre class="programlisting"><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="returnvalue">PolKitSeat</span></a> *        polkit_seat_ref                     (<em class="parameter"><code><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> *seat</code></em>);</pre>
<p>
Increase reference count.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>seat</code></em> :</span></p></td>
<td>the seat object
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the object
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="polkit_seat_unref ()">
<a name="polkit-seat-unref"></a><h3>polkit_seat_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                polkit_seat_unref                   (<em class="parameter"><code><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> *seat</code></em>);</pre>
<p>
Decreases the reference count of the object. If it becomes zero,
the object is freed. Before freeing, reference counts on embedded
objects are decresed by one.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>seat</code></em> :</span></p></td>
<td>the seat object
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="polkit_seat_set_ck_objref ()">
<a name="polkit-seat-set-ck-objref"></a><h3>polkit_seat_set_ck_objref ()</h3>
<pre class="programlisting"><a class="link" href="polkit-Basic-types.html#polkit-bool-t" title="polkit_bool_t"><span class="returnvalue">polkit_bool_t</span></a>       polkit_seat_set_ck_objref           (<em class="parameter"><code><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> *seat</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *ck_objref</code></em>);</pre>
<p>
Set the D-Bus object path to the ConsoleKit seat object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>seat</code></em> :</span></p></td>
<td>the seat object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ck_objref</code></em> :</span></p></td>
<td>the D-Bus object path to the ConsoleKit seat object
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> only if the value validated and was set
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="polkit_seat_get_ck_objref ()">
<a name="polkit-seat-get-ck-objref"></a><h3>polkit_seat_get_ck_objref ()</h3>
<pre class="programlisting"><a class="link" href="polkit-Basic-types.html#polkit-bool-t" title="polkit_bool_t"><span class="returnvalue">polkit_bool_t</span></a>       polkit_seat_get_ck_objref           (<em class="parameter"><code><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> *seat</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> **out_ck_objref</code></em>);</pre>
<p>
Get the D-Bus object path to the ConsoleKit seat object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>seat</code></em> :</span></p></td>
<td>the seat object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>out_ck_objref</code></em> :</span></p></td>
<td>Returns the D-Bus object path to the ConsoleKit seat object. The caller shall not free this string.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> TRUE iff the value is returned
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="polkit_seat_debug ()">
<a name="polkit-seat-debug"></a><h3>polkit_seat_debug ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                polkit_seat_debug                   (<em class="parameter"><code><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> *seat</code></em>);</pre>
<p>
Print debug details
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>seat</code></em> :</span></p></td>
<td>the object
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="polkit_seat_validate ()">
<a name="polkit-seat-validate"></a><h3>polkit_seat_validate ()</h3>
<pre class="programlisting"><a class="link" href="polkit-Basic-types.html#polkit-bool-t" title="polkit_bool_t"><span class="returnvalue">polkit_bool_t</span></a>       polkit_seat_validate                (<em class="parameter"><code><a class="link" href="polkit-Seat.html#PolKitSeat" title="PolKitSeat"><span class="type">PolKitSeat</span></a> *seat</code></em>);</pre>
<p>
Validate the object
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>seat</code></em> :</span></p></td>
<td>the object
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><span class="type">TRUE</span></a> iff the object is valid.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.14</div>
</body>
</html>

ACC SHELL 2018