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>UDisks Reference Manual: UDisksSimpleJob</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
<link rel="home" href="index.html" title="UDisks Reference Manual">
8
<link rel="up" href="ref-daemon-jobs.html" title="Jobs">
9
<link rel="prev" href="UDisksBaseJob.html" title="UDisksBaseJob">
10
<link rel="next" href="UDisksThreadedJob.html" title="UDisksThreadedJob">
11
<meta name="generator" content="GTK-Doc V1.20 (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="10"><tr valign="middle">
16
<td width="100%" align="left" class="shortcuts">
17
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
18
<a href="#UDisksSimpleJob.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span>
19
<a href="#UDisksSimpleJob.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_interfaces"> <span class="dim">|</span>
20
<a href="#UDisksSimpleJob.implemented-interfaces" class="shortcut">Implemented Interfaces</a></span>
22
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
23
<td><a accesskey="u" href="ref-daemon-jobs.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
24
<td><a accesskey="p" href="UDisksBaseJob.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
25
<td><a accesskey="n" href="UDisksThreadedJob.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
27
<div class="refentry">
28
<a name="UDisksSimpleJob"></a><div class="titlepage"></div>
29
<div class="refnamediv"><table width="100%"><tr>
31
<h2><span class="refentrytitle"><a name="UDisksSimpleJob.top_of_page"></a>UDisksSimpleJob</span></h2>
32
<p>UDisksSimpleJob — A simple job</p>
34
<td class="gallery_image" valign="top" align="right"></td>
36
<div class="refsect1">
37
<a name="UDisksSimpleJob.functions"></a><h2>Functions</h2>
38
<div class="informaltable"><table width="100%" border="0">
40
<col width="150px" class="functions_return">
41
<col class="functions_name">
45
<td class="function_type">
46
<a class="link" href="UDisksSimpleJob.html" title="UDisksSimpleJob"><span class="returnvalue">UDisksSimpleJob</span></a> *
48
<td class="function_name">
49
<a class="link" href="UDisksSimpleJob.html#udisks-simple-job-new" title="udisks_simple_job_new ()">udisks_simple_job_new</a> <span class="c_punctuation">()</span>
53
<td class="function_type">
54
<span class="returnvalue">void</span>
56
<td class="function_name">
57
<a class="link" href="UDisksSimpleJob.html#udisks-simple-job-complete" title="udisks_simple_job_complete ()">udisks_simple_job_complete</a> <span class="c_punctuation">()</span>
63
<div class="refsect1">
64
<a name="UDisksSimpleJob.other"></a><h2>Types and Values</h2>
65
<div class="informaltable"><table width="100%" border="0">
67
<col width="150px" class="name">
68
<col class="description">
71
<td class="datatype_keyword"> </td>
72
<td class="function_name"><a class="link" href="UDisksSimpleJob.html#UDisksSimpleJob-struct" title="UDisksSimpleJob">UDisksSimpleJob</a></td>
76
<div class="refsect1">
77
<a name="UDisksSimpleJob.object-hierarchy"></a><h2>Object Hierarchy</h2>
78
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
79
<span class="lineart">╰──</span> <a href="http://library.gnome.org/devel/gio/unstable/GDBusInterfaceSkeleton.html">GDBusInterfaceSkeleton</a>
80
<span class="lineart">╰──</span> <a class="link" href="UDisksJob.html#UDisksJobSkeleton">UDisksJobSkeleton</a>
81
<span class="lineart">╰──</span> <a class="link" href="UDisksBaseJob.html" title="UDisksBaseJob">UDisksBaseJob</a>
82
<span class="lineart">╰──</span> UDisksSimpleJob
85
<div class="refsect1">
86
<a name="UDisksSimpleJob.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
88
UDisksSimpleJob implements
89
<a href="http://library.gnome.org/devel/gio/unstable/GDBusInterface.html">GDBusInterface</a> and <a class="link" href="UDisksJob.html" title="UDisksJob">UDisksJob</a>.</p>
91
<div class="refsect1">
92
<a name="UDisksSimpleJob.description"></a><h2>Description</h2>
93
<p>This type provides an implementation of the <a class="link" href="UDisksJob.html" title="UDisksJob"><span class="type">UDisksJob</span></a> interface
96
<div class="refsect1">
97
<a name="UDisksSimpleJob.functions_details"></a><h2>Functions</h2>
98
<div class="refsect2">
99
<a name="udisks-simple-job-new"></a><h3>udisks_simple_job_new ()</h3>
100
<pre class="programlisting"><a class="link" href="UDisksSimpleJob.html" title="UDisksSimpleJob"><span class="returnvalue">UDisksSimpleJob</span></a> *
101
udisks_simple_job_new (<em class="parameter"><code><a class="link" href="UDisksDaemon.html" title="UDisksDaemon"><span class="type">UDisksDaemon</span></a> *daemon</code></em>,
102
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>);</pre>
103
<p>Creates a new <a class="link" href="UDisksSimpleJob.html" title="UDisksSimpleJob"><span class="type">UDisksSimpleJob</span></a> instance.</p>
104
<p>Call <a class="link" href="UDisksSimpleJob.html#udisks-simple-job-complete" title="udisks_simple_job_complete ()"><code class="function">udisks_simple_job_complete()</code></a> to compelte the returned job.</p>
105
<div class="refsect3">
106
<a name="id-1.5.4.3.8.2.6"></a><h4>Parameters</h4>
107
<div class="informaltable"><table width="100%" border="0">
109
<col width="150px" class="parameters_name">
110
<col class="parameters_description">
111
<col width="200px" class="parameters_annotations">
115
<td class="parameter_name"><p>daemon</p></td>
116
<td class="parameter_description"><p>A <a class="link" href="UDisksDaemon.html" title="UDisksDaemon"><span class="type">UDisksDaemon</span></a>.</p></td>
117
<td class="parameter_annotations"> </td>
120
<td class="parameter_name"><p>cancellable</p></td>
121
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
122
<td class="parameter_annotations"> </td>
127
<div class="refsect3">
128
<a name="id-1.5.4.3.8.2.7"></a><h4>Returns</h4>
129
<p> A new <a class="link" href="UDisksSimpleJob.html" title="UDisksSimpleJob"><span class="type">UDisksSimpleJob</span></a>. Free 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>
134
<div class="refsect2">
135
<a name="udisks-simple-job-complete"></a><h3>udisks_simple_job_complete ()</h3>
136
<pre class="programlisting"><span class="returnvalue">void</span>
137
udisks_simple_job_complete (<em class="parameter"><code><a class="link" href="UDisksSimpleJob.html" title="UDisksSimpleJob"><span class="type">UDisksSimpleJob</span></a> *job</code></em>,
138
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> succeess</code></em>,
139
<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> *message</code></em>);</pre>
140
<p>Completes <em class="parameter"><code>job</code></em>
142
<div class="refsect3">
143
<a name="id-1.5.4.3.8.3.5"></a><h4>Parameters</h4>
144
<div class="informaltable"><table width="100%" border="0">
146
<col width="150px" class="parameters_name">
147
<col class="parameters_description">
148
<col width="200px" class="parameters_annotations">
152
<td class="parameter_name"><p>job</p></td>
153
<td class="parameter_description"><p>A <a class="link" href="UDisksSimpleJob.html" title="UDisksSimpleJob"><span class="type">UDisksSimpleJob</span></a>.</p></td>
154
<td class="parameter_annotations"> </td>
157
<td class="parameter_name"><p>succeess</p></td>
158
<td class="parameter_description"><p>Whether the job succeeded.</p></td>
159
<td class="parameter_annotations"> </td>
162
<td class="parameter_name"><p>message</p></td>
163
<td class="parameter_description"><p>An error message or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
164
<td class="parameter_annotations"> </td>
171
<div class="refsect1">
172
<a name="UDisksSimpleJob.other_details"></a><h2>Types and Values</h2>
173
<div class="refsect2">
174
<a name="UDisksSimpleJob-struct"></a><h3>UDisksSimpleJob</h3>
175
<pre class="programlisting">typedef struct _UDisksSimpleJob UDisksSimpleJob;</pre>
176
<p>The <a class="link" href="UDisksSimpleJob.html" title="UDisksSimpleJob"><span class="type">UDisksSimpleJob</span></a> structure contains only private data and should
177
only be accessed using the provided API.</p>
183
Generated by GTK-Doc V1.20</div>
b'\\ No newline at end of file'