| 1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 5 |
<title>UDisksProvider: UDisks Reference Manual</title> |
| 6 |
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> |
| 7 |
<link rel="home" href="index.html" title="UDisks Reference Manual"> |
| 8 |
<link rel="up" href="ref-daemon-core.html" title="Core"> |
| 9 |
<link rel="prev" href="UDisksDaemon.html" title="UDisksDaemon"> |
| 10 |
<link rel="next" href="UDisksState.html" title="UDisksState"> |
| 11 |
<meta name="generator" content="GTK-Doc V1.35.1 (XML mode)"> |
| 12 |
<link rel="stylesheet" href="style.css" type="text/css"> |
| 13 |
</head> |
| 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="5"><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="#UDisksProvider.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> |
| 19 |
<a href="#UDisksProvider.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_properties"> <span class="dim">|</span> |
| 20 |
<a href="#UDisksProvider.properties" class="shortcut">Properties</a></span> |
| 21 |
</td> |
| 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-core.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> |
| 24 |
<td><a accesskey="p" href="UDisksDaemon.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> |
| 25 |
<td><a accesskey="n" href="UDisksState.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> |
| 26 |
</tr></table> |
| 27 |
<div class="refentry"> |
| 28 |
<a name="UDisksProvider"></a><div class="titlepage"></div> |
| 29 |
<div class="refnamediv"><table width="100%"><tr> |
| 30 |
<td valign="top"> |
| 31 |
<h2><span class="refentrytitle"><a name="UDisksProvider.top_of_page"></a>UDisksProvider</span></h2> |
| 32 |
<p>UDisksProvider — Abstract base class for all data providers</p> |
| 33 |
</td> |
| 34 |
<td class="gallery_image" valign="top" align="right"></td> |
| 35 |
</tr></table></div> |
| 36 |
<div class="refsect1"> |
| 37 |
<a name="UDisksProvider.functions"></a><h2>Functions</h2> |
| 38 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 39 |
<colgroup> |
| 40 |
<col width="150px" class="functions_proto_type"> |
| 41 |
<col class="functions_proto_name"> |
| 42 |
</colgroup> |
| 43 |
<tbody> |
| 44 |
<tr> |
| 45 |
<td class="function_type"> |
| 46 |
<span class="returnvalue">void</span> |
| 47 |
</td> |
| 48 |
<td class="function_name"> |
| 49 |
<a class="link" href="UDisksProvider.html#udisks-provider-start" title="udisks_provider_start ()">udisks_provider_start</a> <span class="c_punctuation">()</span> |
| 50 |
</td> |
| 51 |
</tr> |
| 52 |
<tr> |
| 53 |
<td class="function_type"> |
| 54 |
<a class="link" href="UDisksDaemon.html" title="UDisksDaemon"><span class="returnvalue">UDisksDaemon</span></a> * |
| 55 |
</td> |
| 56 |
<td class="function_name"> |
| 57 |
<a class="link" href="UDisksProvider.html#udisks-provider-get-daemon" title="udisks_provider_get_daemon ()">udisks_provider_get_daemon</a> <span class="c_punctuation">()</span> |
| 58 |
</td> |
| 59 |
</tr> |
| 60 |
</tbody> |
| 61 |
</table></div> |
| 62 |
</div> |
| 63 |
<div class="refsect1"> |
| 64 |
<a name="UDisksProvider.properties"></a><h2>Properties</h2> |
| 65 |
<div class="informaltable"><table class="informaltable" border="0"> |
| 66 |
<colgroup> |
| 67 |
<col width="150px" class="properties_type"> |
| 68 |
<col width="300px" class="properties_name"> |
| 69 |
<col width="200px" class="properties_flags"> |
| 70 |
</colgroup> |
| 71 |
<tbody><tr> |
| 72 |
<td class="property_type"> |
| 73 |
<a class="link" href="UDisksDaemon.html" title="UDisksDaemon"><span class="type">UDisksDaemon</span></a> *</td> |
| 74 |
<td class="property_name"><a class="link" href="UDisksProvider.html#UDisksProvider--daemon" title="The “daemon” property">daemon</a></td> |
| 75 |
<td class="property_flags">Read / Write / Construct Only</td> |
| 76 |
</tr></tbody> |
| 77 |
</table></div> |
| 78 |
</div> |
| 79 |
<div class="refsect1"> |
| 80 |
<a name="UDisksProvider.other"></a><h2>Types and Values</h2> |
| 81 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 82 |
<colgroup> |
| 83 |
<col width="150px" class="other_proto_type"> |
| 84 |
<col class="other_proto_name"> |
| 85 |
</colgroup> |
| 86 |
<tbody> |
| 87 |
<tr> |
| 88 |
<td class="datatype_keyword"> </td> |
| 89 |
<td class="function_name"><a class="link" href="UDisksProvider.html#UDisksProvider-struct" title="UDisksProvider">UDisksProvider</a></td> |
| 90 |
</tr> |
| 91 |
<tr> |
| 92 |
<td class="datatype_keyword">struct</td> |
| 93 |
<td class="function_name"><a class="link" href="UDisksProvider.html#UDisksProviderClass" title="struct UDisksProviderClass">UDisksProviderClass</a></td> |
| 94 |
</tr> |
| 95 |
</tbody> |
| 96 |
</table></div> |
| 97 |
</div> |
| 98 |
<div class="refsect1"> |
| 99 |
<a name="UDisksProvider.object-hierarchy"></a><h2>Object Hierarchy</h2> |
| 100 |
<pre class="screen"> GObject |
| 101 |
<span class="lineart">╰──</span> UDisksProvider |
| 102 |
<span class="lineart">╰──</span> <a class="link" href="UDisksLinuxProvider.html" title="UDisksLinuxProvider">UDisksLinuxProvider</a> |
| 103 |
</pre> |
| 104 |
</div> |
| 105 |
<div class="refsect1"> |
| 106 |
<a name="UDisksProvider.description"></a><h2>Description</h2> |
| 107 |
<p>Abstract base class for all data providers.</p> |
| 108 |
</div> |
| 109 |
<div class="refsect1"> |
| 110 |
<a name="UDisksProvider.functions_details"></a><h2>Functions</h2> |
| 111 |
<div class="refsect2"> |
| 112 |
<a name="udisks-provider-start"></a><h3>udisks_provider_start ()</h3> |
| 113 |
<pre class="programlisting"><span class="returnvalue">void</span> |
| 114 |
udisks_provider_start (<em class="parameter"><code><a class="link" href="UDisksProvider.html" title="UDisksProvider"><span class="type">UDisksProvider</span></a> *provider</code></em>);</pre> |
| 115 |
<p>Starts the provider.</p> |
| 116 |
<div class="refsect3"> |
| 117 |
<a name="udisks-provider-start.parameters"></a><h4>Parameters</h4> |
| 118 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 119 |
<colgroup> |
| 120 |
<col width="150px" class="parameters_name"> |
| 121 |
<col class="parameters_description"> |
| 122 |
<col width="200px" class="parameters_annotations"> |
| 123 |
</colgroup> |
| 124 |
<tbody><tr> |
| 125 |
<td class="parameter_name"><p>provider</p></td> |
| 126 |
<td class="parameter_description"><p>A <a class="link" href="UDisksProvider.html" title="UDisksProvider"><span class="type">UDisksProvider</span></a>.</p></td> |
| 127 |
<td class="parameter_annotations"> </td> |
| 128 |
</tr></tbody> |
| 129 |
</table></div> |
| 130 |
</div> |
| 131 |
</div> |
| 132 |
<hr> |
| 133 |
<div class="refsect2"> |
| 134 |
<a name="udisks-provider-get-daemon"></a><h3>udisks_provider_get_daemon ()</h3> |
| 135 |
<pre class="programlisting"><a class="link" href="UDisksDaemon.html" title="UDisksDaemon"><span class="returnvalue">UDisksDaemon</span></a> * |
| 136 |
udisks_provider_get_daemon (<em class="parameter"><code><a class="link" href="UDisksProvider.html" title="UDisksProvider"><span class="type">UDisksProvider</span></a> *provider</code></em>);</pre> |
| 137 |
<p>Gets the daemon used by <em class="parameter"><code>provider</code></em> |
| 138 |
.</p> |
| 139 |
<div class="refsect3"> |
| 140 |
<a name="udisks-provider-get-daemon.parameters"></a><h4>Parameters</h4> |
| 141 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 142 |
<colgroup> |
| 143 |
<col width="150px" class="parameters_name"> |
| 144 |
<col class="parameters_description"> |
| 145 |
<col width="200px" class="parameters_annotations"> |
| 146 |
</colgroup> |
| 147 |
<tbody><tr> |
| 148 |
<td class="parameter_name"><p>provider</p></td> |
| 149 |
<td class="parameter_description"><p>A <a class="link" href="UDisksProvider.html" title="UDisksProvider"><span class="type">UDisksProvider</span></a>.</p></td> |
| 150 |
<td class="parameter_annotations"> </td> |
| 151 |
</tr></tbody> |
| 152 |
</table></div> |
| 153 |
</div> |
| 154 |
<div class="refsect3"> |
| 155 |
<a name="udisks-provider-get-daemon.returns"></a><h4>Returns</h4> |
| 156 |
<p> A <a class="link" href="UDisksDaemon.html" title="UDisksDaemon"><span class="type">UDisksDaemon</span></a>. Do not free, the object is owned by <em class="parameter"><code>provider</code></em> |
| 157 |
.</p> |
| 158 |
</div> |
| 159 |
</div> |
| 160 |
</div> |
| 161 |
<div class="refsect1"> |
| 162 |
<a name="UDisksProvider.other_details"></a><h2>Types and Values</h2> |
| 163 |
<div class="refsect2"> |
| 164 |
<a name="UDisksProvider-struct"></a><h3>UDisksProvider</h3> |
| 165 |
<pre class="programlisting">typedef struct _UDisksProvider UDisksProvider;</pre> |
| 166 |
<p>The <a class="link" href="UDisksProvider.html" title="UDisksProvider"><span class="type">UDisksProvider</span></a> structure contains only private data and |
| 167 |
should only be accessed using the provided API.</p> |
| 168 |
</div> |
| 169 |
<hr> |
| 170 |
<div class="refsect2"> |
| 171 |
<a name="UDisksProviderClass"></a><h3>struct UDisksProviderClass</h3> |
| 172 |
<pre class="programlisting">struct UDisksProviderClass { |
| 173 |
GObjectClass parent_class; |
| 174 |
|
| 175 |
void (*start) (UDisksProvider *provider); |
| 176 |
}; |
| 177 |
</pre> |
| 178 |
<p>Class structure for <a class="link" href="UDisksProvider.html" title="UDisksProvider"><span class="type">UDisksProvider</span></a>.</p> |
| 179 |
<div class="refsect3"> |
| 180 |
<a name="UDisksProviderClass.members"></a><h4>Members</h4> |
| 181 |
<div class="informaltable"><table class="informaltable" width="100%" border="0"> |
| 182 |
<colgroup> |
| 183 |
<col width="300px" class="struct_members_name"> |
| 184 |
<col class="struct_members_description"> |
| 185 |
<col width="200px" class="struct_members_annotations"> |
| 186 |
</colgroup> |
| 187 |
<tbody><tr> |
| 188 |
<td class="struct_member_name"><p><em class="structfield"><code><a name="UDisksProviderClass.start"></a>start</code></em> ()</p></td> |
| 189 |
<td class="struct_member_description"><p>Virtual function for <a class="link" href="UDisksProvider.html#udisks-provider-start" title="udisks_provider_start ()"><code class="function">udisks_provider_start()</code></a>. The default implementation does nothing.</p></td> |
| 190 |
<td class="struct_member_annotations"> </td> |
| 191 |
</tr></tbody> |
| 192 |
</table></div> |
| 193 |
</div> |
| 194 |
</div> |
| 195 |
</div> |
| 196 |
<div class="refsect1"> |
| 197 |
<a name="UDisksProvider.property-details"></a><h2>Property Details</h2> |
| 198 |
<div class="refsect2"> |
| 199 |
<a name="UDisksProvider--daemon"></a><h3>The <code class="literal">“daemon”</code> property</h3> |
| 200 |
<pre class="programlisting"> “daemon” <a class="link" href="UDisksDaemon.html" title="UDisksDaemon"><span class="type">UDisksDaemon</span></a> *</pre> |
| 201 |
<p>The <a class="link" href="UDisksDaemon.html" title="UDisksDaemon"><span class="type">UDisksDaemon</span></a> the provider is for.</p> |
| 202 |
<p>Owner: UDisksProvider</p> |
| 203 |
<p>Flags: Read / Write / Construct Only</p> |
| 204 |
</div> |
| 205 |
</div> |
| 206 |
</div> |
| 207 |
<div class="footer"> |
| 208 |
<hr>Generated by GTK-Doc V1.35.1</div> |
| 209 |
</body> |
| 210 |
</html> |