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>cd-client</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
7
<link rel="home" href="index.html" title="colord Reference Manual">
8
<link rel="up" href="libcolord.html" title="libcolord GObjects">
9
<link rel="prev" href="libcolord.html" title="libcolord GObjects">
10
<link rel="next" href="colord-cd-device.html" title="cd-device">
11
<meta name="generator" content="GTK-Doc V1.18 (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="2">
17
<td><a accesskey="p" href="libcolord.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="libcolord.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">colord Reference Manual</th>
21
<td><a accesskey="n" href="colord-cd-device.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
<tr><td colspan="5" class="shortcuts">
24
<a href="#colord-cd-client.synopsis" class="shortcut">Top</a>
26
<a href="#colord-cd-client.description" class="shortcut">Description</a>
29
<div class="refentry">
30
<a name="colord-cd-client"></a><div class="titlepage"></div>
31
<div class="refnamediv"><table width="100%"><tr>
33
<h2><span class="refentrytitle"><a name="colord-cd-client.top_of_page"></a>cd-client</span></h2>
34
<p>cd-client — Main client object for accessing the colord daemon</p>
36
<td valign="top" align="right"></td>
38
<div class="refsynopsisdiv">
39
<a name="colord-cd-client.synopsis"></a><h2>Synopsis</h2>
40
<pre class="synopsis">#define <a class="link" href="colord-cd-client.html#CD-CLIENT-ERROR:CAPS" title="CD_CLIENT_ERROR">CD_CLIENT_ERROR</a>
41
#define <a class="link" href="colord-cd-client.html#CD-CLIENT-TYPE-ERROR:CAPS" title="CD_CLIENT_TYPE_ERROR">CD_CLIENT_TYPE_ERROR</a>
42
enum <a class="link" href="colord-cd-client.html#CdClientError" title="enum CdClientError">CdClientError</a>;
43
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#cd-client-reserved1" title="_cd_client_reserved1 ()">*_cd_client_reserved1</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
44
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#cd-client-reserved2" title="_cd_client_reserved2 ()">*_cd_client_reserved2</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
45
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#cd-client-reserved3" title="_cd_client_reserved3 ()">*_cd_client_reserved3</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
46
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#cd-client-reserved4" title="_cd_client_reserved4 ()">*_cd_client_reserved4</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
47
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#cd-client-reserved5" title="_cd_client_reserved5 ()">*_cd_client_reserved5</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
48
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#cd-client-reserved6" title="_cd_client_reserved6 ()">*_cd_client_reserved6</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
49
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#cd-client-reserved7" title="_cd_client_reserved7 ()">*_cd_client_reserved7</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
50
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#cd-client-reserved8" title="_cd_client_reserved8 ()">*_cd_client_reserved8</a>) (<em class="parameter"><code><span class="type">void</span></code></em>);
51
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-connect" title="cd_client_connect ()">cd_client_connect</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
52
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
53
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
54
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
55
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="colord-cd-client.html#cd-client-connect-finish" title="cd_client_connect_finish ()">cd_client_connect_finish</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
56
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
57
<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>);
58
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-create-device" title="cd_client_create_device ()">cd_client_create_device</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
59
<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> *id</code></em>,
60
<em class="parameter"><code><span class="type">CdObjectScope</span> scope</code></em>,
61
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *properties</code></em>,
62
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
63
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
64
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
65
<span class="returnvalue">CdDevice</span> * <a class="link" href="colord-cd-client.html#cd-client-create-device-finish" title="cd_client_create_device_finish ()">cd_client_create_device_finish</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
66
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
67
<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>);
68
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-create-profile" title="cd_client_create_profile ()">cd_client_create_profile</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
69
<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> *id</code></em>,
70
<em class="parameter"><code><span class="type">CdObjectScope</span> scope</code></em>,
71
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *properties</code></em>,
72
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
73
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
74
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
75
<span class="returnvalue">CdProfile</span> * <a class="link" href="colord-cd-client.html#cd-client-create-profile-finish" title="cd_client_create_profile_finish ()">cd_client_create_profile_finish</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
76
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</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="colord-cd-client.html#cd-client-delete-device" title="cd_client_delete_device ()">cd_client_delete_device</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
79
<em class="parameter"><code><span class="type">CdDevice</span> *device</code></em>,
80
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
81
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
82
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
83
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="colord-cd-client.html#cd-client-delete-device-finish" title="cd_client_delete_device_finish ()">cd_client_delete_device_finish</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
84
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
85
<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>);
86
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-delete-profile" title="cd_client_delete_profile ()">cd_client_delete_profile</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
87
<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
88
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
89
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
90
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
91
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="colord-cd-client.html#cd-client-delete-profile-finish" title="cd_client_delete_profile_finish ()">cd_client_delete_profile_finish</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
92
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
93
<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>);
94
<a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> <a class="link" href="colord-cd-client.html#cd-client-error-quark" title="cd_client_error_quark ()">cd_client_error_quark</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
95
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-find-device" title="cd_client_find_device ()">cd_client_find_device</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
96
<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> *id</code></em>,
97
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
98
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
99
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
100
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-find-device-by-property" title="cd_client_find_device_by_property ()">cd_client_find_device_by_property</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
101
<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> *key</code></em>,
102
<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> *value</code></em>,
103
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
104
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
105
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
106
<span class="returnvalue">CdDevice</span> * <a class="link" href="colord-cd-client.html#cd-client-find-device-by-property-finish" title="cd_client_find_device_by_property_finish ()">cd_client_find_device_by_property_finish</a>
107
(<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
108
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
109
<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>);
110
<span class="returnvalue">CdDevice</span> * <a class="link" href="colord-cd-client.html#cd-client-find-device-finish" title="cd_client_find_device_finish ()">cd_client_find_device_finish</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
111
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
112
<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>);
113
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-find-profile" title="cd_client_find_profile ()">cd_client_find_profile</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
114
<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> *id</code></em>,
115
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
116
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
117
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
118
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-find-profile-by-filename" title="cd_client_find_profile_by_filename ()">cd_client_find_profile_by_filename</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
119
<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> *filename</code></em>,
120
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
121
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
122
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
123
<span class="returnvalue">CdProfile</span> * <a class="link" href="colord-cd-client.html#cd-client-find-profile-by-filename-finish" title="cd_client_find_profile_by_filename_finish ()">cd_client_find_profile_by_filename_finish</a>
124
(<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
125
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
126
<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>);
127
<span class="returnvalue">CdProfile</span> * <a class="link" href="colord-cd-client.html#cd-client-find-profile-finish" title="cd_client_find_profile_finish ()">cd_client_find_profile_finish</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
128
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
129
<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>);
130
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="colord-cd-client.html#cd-client-get-connected" title="cd_client_get_connected ()">cd_client_get_connected</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>);
131
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="colord-cd-client.html#cd-client-get-daemon-version" title="cd_client_get_daemon_version ()">cd_client_get_daemon_version</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>);
132
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-get-devices" title="cd_client_get_devices ()">cd_client_get_devices</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
133
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
134
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
135
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
136
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-get-devices-by-kind" title="cd_client_get_devices_by_kind ()">cd_client_get_devices_by_kind</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
137
<em class="parameter"><code><span class="type">CdDeviceKind</span> kind</code></em>,
138
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
139
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
140
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
141
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * <a class="link" href="colord-cd-client.html#cd-client-get-devices-by-kind-finish" title="cd_client_get_devices_by_kind_finish ()">cd_client_get_devices_by_kind_finish</a>
142
(<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
143
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
144
<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>);
145
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * <a class="link" href="colord-cd-client.html#cd-client-get-devices-finish" title="cd_client_get_devices_finish ()">cd_client_get_devices_finish</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
146
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
147
<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>);
148
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="colord-cd-client.html#cd-client-get-has-server" title="cd_client_get_has_server ()">cd_client_get_has_server</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>);
149
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-get-profiles" title="cd_client_get_profiles ()">cd_client_get_profiles</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
150
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
151
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
152
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
153
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * <a class="link" href="colord-cd-client.html#cd-client-get-profiles-finish" title="cd_client_get_profiles_finish ()">cd_client_get_profiles_finish</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
154
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
155
<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>);
156
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-get-sensors" title="cd_client_get_sensors ()">cd_client_get_sensors</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
157
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
158
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
159
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
160
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * <a class="link" href="colord-cd-client.html#cd-client-get-sensors-finish" title="cd_client_get_sensors_finish ()">cd_client_get_sensors_finish</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
161
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
162
<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>);
163
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-get-standard-space" title="cd_client_get_standard_space ()">cd_client_get_standard_space</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
164
<em class="parameter"><code><span class="type">CdStandardSpace</span> standard_space</code></em>,
165
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
166
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
167
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
168
<span class="returnvalue">CdProfile</span> * <a class="link" href="colord-cd-client.html#cd-client-get-standard-space-finish" title="cd_client_get_standard_space_finish ()">cd_client_get_standard_space_finish</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
169
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
170
<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>);
171
<span class="returnvalue">void</span> <a class="link" href="colord-cd-client.html#cd-client-import-profile" title="cd_client_import_profile ()">cd_client_import_profile</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
172
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
173
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
174
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
175
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
176
<span class="returnvalue">CdProfile</span> * <a class="link" href="colord-cd-client.html#cd-client-import-profile-finish" title="cd_client_import_profile_finish ()">cd_client_import_profile_finish</a> (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
177
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
178
<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>);
179
<span class="returnvalue">CdClient</span> * <a class="link" href="colord-cd-client.html#cd-client-new" title="cd_client_new ()">cd_client_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
180
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#changed" title="changed ()">*changed</a>) (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
181
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#device-added" title="device_added ()">*device_added</a>) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
182
<em class="parameter"><code><span class="type">CdDevice</span> *device</code></em>);
183
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#device-changed" title="device_changed ()">*device_changed</a>) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
184
<em class="parameter"><code><span class="type">CdDevice</span> *device</code></em>);
185
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#device-removed" title="device_removed ()">*device_removed</a>) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
186
<em class="parameter"><code><span class="type">CdDevice</span> *device</code></em>);
187
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#profile-added" title="profile_added ()">*profile_added</a>) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
188
<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
189
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#profile-changed" title="profile_changed ()">*profile_changed</a>) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
190
<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
191
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#profile-removed" title="profile_removed ()">*profile_removed</a>) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
192
<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
193
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#sensor-added" title="sensor_added ()">*sensor_added</a>) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
194
<em class="parameter"><code><span class="type">CdSensor</span> *sensor</code></em>);
195
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#sensor-changed" title="sensor_changed ()">*sensor_changed</a>) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
196
<em class="parameter"><code><span class="type">CdSensor</span> *sensor</code></em>);
197
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-client.html#sensor-removed" title="sensor_removed ()">*sensor_removed</a>) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
198
<em class="parameter"><code><span class="type">CdSensor</span> *sensor</code></em>);
201
<div class="refsect1">
202
<a name="colord-cd-client.description"></a><h2>Description</h2>
204
A helper GObject to use for accessing colord information, and to be notified
208
See also: <span class="type">CdDevice</span>
211
<div class="refsect1">
212
<a name="colord-cd-client.details"></a><h2>Details</h2>
213
<div class="refsect2">
214
<a name="CD-CLIENT-ERROR:CAPS"></a><h3>CD_CLIENT_ERROR</h3>
215
<pre class="programlisting">#define CD_CLIENT_ERROR (cd_client_error_quark ())
221
<div class="refsect2">
222
<a name="CD-CLIENT-TYPE-ERROR:CAPS"></a><h3>CD_CLIENT_TYPE_ERROR</h3>
223
<pre class="programlisting">#define CD_CLIENT_TYPE_ERROR (cd_client_error_get_type ())
229
<div class="refsect2">
230
<a name="CdClientError"></a><h3>enum CdClientError</h3>
231
<pre class="programlisting">typedef enum {
232
CD_CLIENT_ERROR_FAILED,
233
CD_CLIENT_ERROR_ALREADY_EXISTS,
234
CD_CLIENT_ERROR_FILE_INVALID,
239
Errors that can be thrown
241
<div class="variablelist"><table border="0">
242
<col align="left" valign="top">
245
<td><p><a name="CD-CLIENT-ERROR-FAILED:CAPS"></a><span class="term"><code class="literal">CD_CLIENT_ERROR_FAILED</code></span></p></td>
246
<td>the transaction failed for an unknown reason
250
<td><p><a name="CD-CLIENT-ERROR-ALREADY-EXISTS:CAPS"></a><span class="term"><code class="literal">CD_CLIENT_ERROR_ALREADY_EXISTS</code></span></p></td>
251
<td>the device or profile already exists
255
<td><p><a name="CD-CLIENT-ERROR-FILE-INVALID:CAPS"></a><span class="term"><code class="literal">CD_CLIENT_ERROR_FILE_INVALID</code></span></p></td>
260
<td><p><a name="CD-CLIENT-ERROR-LAST:CAPS"></a><span class="term"><code class="literal">CD_CLIENT_ERROR_LAST</code></span></p></td>
268
<div class="refsect2">
269
<a name="cd-client-reserved1"></a><h3>_cd_client_reserved1 ()</h3>
270
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_client_reserved1) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
275
<div class="refsect2">
276
<a name="cd-client-reserved2"></a><h3>_cd_client_reserved2 ()</h3>
277
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_client_reserved2) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
282
<div class="refsect2">
283
<a name="cd-client-reserved3"></a><h3>_cd_client_reserved3 ()</h3>
284
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_client_reserved3) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
289
<div class="refsect2">
290
<a name="cd-client-reserved4"></a><h3>_cd_client_reserved4 ()</h3>
291
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_client_reserved4) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
296
<div class="refsect2">
297
<a name="cd-client-reserved5"></a><h3>_cd_client_reserved5 ()</h3>
298
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_client_reserved5) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
303
<div class="refsect2">
304
<a name="cd-client-reserved6"></a><h3>_cd_client_reserved6 ()</h3>
305
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_client_reserved6) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
310
<div class="refsect2">
311
<a name="cd-client-reserved7"></a><h3>_cd_client_reserved7 ()</h3>
312
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_client_reserved7) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
317
<div class="refsect2">
318
<a name="cd-client-reserved8"></a><h3>_cd_client_reserved8 ()</h3>
319
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_client_reserved8) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
324
<div class="refsect2">
325
<a name="cd-client-connect"></a><h3>cd_client_connect ()</h3>
326
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_connect (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
327
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
328
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
329
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
331
Connects to the colord daemon.
333
<div class="variablelist"><table border="0">
334
<col align="left" valign="top">
337
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
338
<td>a <span class="type">CdClient</span> instance</td>
341
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
342
<td>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>
346
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
347
<td>the function to run on completion</td>
350
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
351
<td>the data to pass to <em class="parameter"><code>callback</code></em>
356
<p class="since">Since 0.1.6</p>
359
<div class="refsect2">
360
<a name="cd-client-connect-finish"></a><h3>cd_client_connect_finish ()</h3>
361
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_client_connect_finish (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
362
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
363
<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>
365
Gets the result from the asynchronous function.
367
<div class="variablelist"><table border="0">
368
<col align="left" valign="top">
371
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
372
<td>a <span class="type">CdClient</span> instance.</td>
375
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
376
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
380
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
381
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
385
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
390
<p class="since">Since 0.1.6</p>
393
<div class="refsect2">
394
<a name="cd-client-create-device"></a><h3>cd_client_create_device ()</h3>
395
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_create_device (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
396
<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> *id</code></em>,
397
<em class="parameter"><code><span class="type">CdObjectScope</span> scope</code></em>,
398
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *properties</code></em>,
399
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
400
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
401
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
403
Creates a color device.
405
<div class="variablelist"><table border="0">
406
<col align="left" valign="top">
409
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
410
<td>a <span class="type">CdClient</span> instance.</td>
413
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
414
<td>identifier for the device</td>
417
<td><p><span class="term"><em class="parameter"><code>scope</code></em> :</span></p></td>
418
<td>the scope of the device</td>
421
<td><p><span class="term"><em class="parameter"><code>properties</code></em> :</span></p></td>
422
<td>properties to set on the device, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
426
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
427
<td>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>
431
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
432
<td>the function to run on completion</td>
435
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
436
<td>the data to pass to <em class="parameter"><code>callback</code></em>
441
<p class="since">Since 0.1.8</p>
444
<div class="refsect2">
445
<a name="cd-client-create-device-finish"></a><h3>cd_client_create_device_finish ()</h3>
446
<pre class="programlisting"><span class="returnvalue">CdDevice</span> * cd_client_create_device_finish (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
447
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
448
<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>
450
Gets the result from the asynchronous function.
452
<div class="variablelist"><table border="0">
453
<col align="left" valign="top">
456
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
457
<td>a <span class="type">CdClient</span> instance.</td>
460
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
461
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
465
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
466
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
470
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
471
<td>a <span class="type">CdDevice</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
476
<p class="since">Since 0.1.8</p>
479
<div class="refsect2">
480
<a name="cd-client-create-profile"></a><h3>cd_client_create_profile ()</h3>
481
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_create_profile (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
482
<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> *id</code></em>,
483
<em class="parameter"><code><span class="type">CdObjectScope</span> scope</code></em>,
484
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *properties</code></em>,
485
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
486
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
487
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
489
Creates a color profile.
491
<div class="variablelist"><table border="0">
492
<col align="left" valign="top">
495
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
496
<td>a <span class="type">CdClient</span> instance.</td>
499
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
500
<td>identifier for the profile</td>
503
<td><p><span class="term"><em class="parameter"><code>scope</code></em> :</span></p></td>
504
<td>the scope of the profile</td>
507
<td><p><span class="term"><em class="parameter"><code>properties</code></em> :</span></p></td>
508
<td>properties to set on the profile, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
512
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
513
<td>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>
517
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
518
<td>the function to run on completion</td>
521
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
522
<td>the data to pass to <em class="parameter"><code>callback</code></em>
527
<p class="since">Since 0.1.8</p>
530
<div class="refsect2">
531
<a name="cd-client-create-profile-finish"></a><h3>cd_client_create_profile_finish ()</h3>
532
<pre class="programlisting"><span class="returnvalue">CdProfile</span> * cd_client_create_profile_finish (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
533
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
534
<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>
536
Gets the result from the asynchronous function.
538
<div class="variablelist"><table border="0">
539
<col align="left" valign="top">
542
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
543
<td>a <span class="type">CdClient</span> instance.</td>
546
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
547
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
551
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
552
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
556
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
557
<td>a <span class="type">CdProfile</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
562
<p class="since">Since 0.1.8</p>
565
<div class="refsect2">
566
<a name="cd-client-delete-device"></a><h3>cd_client_delete_device ()</h3>
567
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_delete_device (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
568
<em class="parameter"><code><span class="type">CdDevice</span> *device</code></em>,
569
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
570
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
571
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
575
<div class="variablelist"><table border="0">
576
<col align="left" valign="top">
579
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
580
<td>a <span class="type">CdClient</span> instance.</td>
583
<td><p><span class="term"><em class="parameter"><code>device</code></em> :</span></p></td>
584
<td>a <span class="type">CdDevice</span>
588
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
589
<td>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>
593
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
594
<td>the function to run on completion</td>
597
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
598
<td>the data to pass to <em class="parameter"><code>callback</code></em>
603
<p class="since">Since 0.1.8</p>
606
<div class="refsect2">
607
<a name="cd-client-delete-device-finish"></a><h3>cd_client_delete_device_finish ()</h3>
608
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_client_delete_device_finish (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
609
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
610
<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>
612
Gets the result from the asynchronous function.
614
<div class="variablelist"><table border="0">
615
<col align="left" valign="top">
618
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
619
<td>a <span class="type">CdClient</span> instance.</td>
622
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
623
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
627
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
628
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
632
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
637
<p class="since">Since 0.1.8</p>
640
<div class="refsect2">
641
<a name="cd-client-delete-profile"></a><h3>cd_client_delete_profile ()</h3>
642
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_delete_profile (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
643
<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
644
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
645
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
646
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
650
<div class="variablelist"><table border="0">
651
<col align="left" valign="top">
654
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
655
<td>a <span class="type">CdClient</span> instance.</td>
658
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
659
<td>a <span class="type">CdProfile</span>
663
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
664
<td>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>
668
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
669
<td>the function to run on completion</td>
672
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
673
<td>the data to pass to <em class="parameter"><code>callback</code></em>
678
<p class="since">Since 0.1.8</p>
681
<div class="refsect2">
682
<a name="cd-client-delete-profile-finish"></a><h3>cd_client_delete_profile_finish ()</h3>
683
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_client_delete_profile_finish (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
684
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
685
<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>
687
Gets the result from the asynchronous function.
689
<div class="variablelist"><table border="0">
690
<col align="left" valign="top">
693
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
694
<td>a <span class="type">CdClient</span> instance.</td>
697
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
698
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
702
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
703
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
707
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
712
<p class="since">Since 0.1.8</p>
715
<div class="refsect2">
716
<a name="cd-client-error-quark"></a><h3>cd_client_error_quark ()</h3>
717
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> cd_client_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
718
<div class="variablelist"><table border="0">
719
<col align="left" valign="top">
721
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
722
<td>An error quark.</td>
725
<p class="since">Since 0.1.0</p>
728
<div class="refsect2">
729
<a name="cd-client-find-device"></a><h3>cd_client_find_device ()</h3>
730
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_find_device (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
731
<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> *id</code></em>,
732
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
733
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
734
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
736
Finds a device by an ID.
738
<div class="variablelist"><table border="0">
739
<col align="left" valign="top">
742
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
743
<td>a <span class="type">CdClient</span> instance.</td>
746
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
750
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
751
<td>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>
755
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
756
<td>the function to run on completion</td>
759
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
760
<td>the data to pass to <em class="parameter"><code>callback</code></em>
765
<p class="since">Since 0.1.8</p>
768
<div class="refsect2">
769
<a name="cd-client-find-device-by-property"></a><h3>cd_client_find_device_by_property ()</h3>
770
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_find_device_by_property (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
771
<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> *key</code></em>,
772
<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> *value</code></em>,
773
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
774
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
775
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
777
Finds a color device that has a property value.
779
<div class="variablelist"><table border="0">
780
<col align="left" valign="top">
783
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
784
<td>a <span class="type">CdClient</span> instance.</td>
787
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
788
<td>the device property key</td>
791
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
792
<td>the device property value</td>
795
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
796
<td>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>
800
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
801
<td>the function to run on completion</td>
804
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
805
<td>the data to pass to <em class="parameter"><code>callback</code></em>
810
<p class="since">Since 0.1.8</p>
813
<div class="refsect2">
814
<a name="cd-client-find-device-by-property-finish"></a><h3>cd_client_find_device_by_property_finish ()</h3>
815
<pre class="programlisting"><span class="returnvalue">CdDevice</span> * cd_client_find_device_by_property_finish
816
(<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
817
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
818
<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>
820
Gets the result from the asynchronous function.
822
<div class="variablelist"><table border="0">
823
<col align="left" valign="top">
826
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
827
<td>a <span class="type">CdClient</span> instance.</td>
830
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
831
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
835
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
836
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
840
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
841
<td>a <span class="type">CdDevice</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
846
<p class="since">Since 0.1.8</p>
849
<div class="refsect2">
850
<a name="cd-client-find-device-finish"></a><h3>cd_client_find_device_finish ()</h3>
851
<pre class="programlisting"><span class="returnvalue">CdDevice</span> * cd_client_find_device_finish (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
852
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
853
<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>
855
Gets the result from the asynchronous function.
857
<div class="variablelist"><table border="0">
858
<col align="left" valign="top">
861
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
862
<td>a <span class="type">CdClient</span> instance.</td>
865
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
866
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
870
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
871
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
875
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
876
<td>a <span class="type">CdDevice</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
881
<p class="since">Since 0.1.8</p>
884
<div class="refsect2">
885
<a name="cd-client-find-profile"></a><h3>cd_client_find_profile ()</h3>
886
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_find_profile (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
887
<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> *id</code></em>,
888
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
889
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
890
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
892
Finds a profile by an ID.
894
<div class="variablelist"><table border="0">
895
<col align="left" valign="top">
898
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
899
<td>a <span class="type">CdClient</span> instance.</td>
902
<td><p><span class="term"><em class="parameter"><code>id</code></em> :</span></p></td>
903
<td>a profile id</td>
906
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
907
<td>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>
911
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
912
<td>the function to run on completion</td>
915
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
916
<td>the data to pass to <em class="parameter"><code>callback</code></em>
921
<p class="since">Since 0.1.8</p>
924
<div class="refsect2">
925
<a name="cd-client-find-profile-by-filename"></a><h3>cd_client_find_profile_by_filename ()</h3>
926
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_find_profile_by_filename (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
927
<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> *filename</code></em>,
928
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
929
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
930
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
932
Finds a profile by a filename.
934
<div class="variablelist"><table border="0">
935
<col align="left" valign="top">
938
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
939
<td>a <span class="type">CdClient</span> instance.</td>
942
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
943
<td>a <span class="type">profile</span> filename</td>
946
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
947
<td>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>
951
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
952
<td>the function to run on completion</td>
955
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
956
<td>the data to pass to <em class="parameter"><code>callback</code></em>
961
<p class="since">Since 0.1.8</p>
964
<div class="refsect2">
965
<a name="cd-client-find-profile-by-filename-finish"></a><h3>cd_client_find_profile_by_filename_finish ()</h3>
966
<pre class="programlisting"><span class="returnvalue">CdProfile</span> * cd_client_find_profile_by_filename_finish
967
(<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
968
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
969
<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>
971
Gets the result from the asynchronous function.
973
<div class="variablelist"><table border="0">
974
<col align="left" valign="top">
977
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
978
<td>a <span class="type">CdClient</span> instance.</td>
981
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
982
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
986
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
987
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
991
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
992
<td>a <span class="type">CdProfile</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
997
<p class="since">Since 0.1.8</p>
1000
<div class="refsect2">
1001
<a name="cd-client-find-profile-finish"></a><h3>cd_client_find_profile_finish ()</h3>
1002
<pre class="programlisting"><span class="returnvalue">CdProfile</span> * cd_client_find_profile_finish (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1003
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
1004
<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>
1006
Gets the result from the asynchronous function.
1008
<div class="variablelist"><table border="0">
1009
<col align="left" valign="top">
1012
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1013
<td>a <span class="type">CdClient</span> instance.</td>
1016
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
1017
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1021
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1022
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1026
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1027
<td>a <span class="type">CdProfile</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
1032
<p class="since">Since 0.1.8</p>
1035
<div class="refsect2">
1036
<a name="cd-client-get-connected"></a><h3>cd_client_get_connected ()</h3>
1037
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_client_get_connected (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>);</pre>
1039
Gets if the client has been connected.
1041
<div class="variablelist"><table border="0">
1042
<col align="left" valign="top">
1045
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1046
<td>a <span class="type">CdClient</span> instance.</td>
1049
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1051
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if properties are valid</td>
1055
<p class="since">Since 0.1.9</p>
1058
<div class="refsect2">
1059
<a name="cd-client-get-daemon-version"></a><h3>cd_client_get_daemon_version ()</h3>
1060
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cd_client_get_daemon_version (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>);</pre>
1062
Get colord daemon version.
1064
<div class="variablelist"><table border="0">
1065
<col align="left" valign="top">
1068
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1069
<td>a <span class="type">CdClient</span> instance.</td>
1072
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1073
<td>string containing the daemon version, e.g. "0.1.0"</td>
1077
<p class="since">Since 0.1.0</p>
1080
<div class="refsect2">
1081
<a name="cd-client-get-devices"></a><h3>cd_client_get_devices ()</h3>
1082
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_get_devices (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1083
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
1084
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1085
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1087
Gets an array of color devices.
1089
<div class="variablelist"><table border="0">
1090
<col align="left" valign="top">
1093
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1094
<td>a <span class="type">CdClient</span> instance.</td>
1097
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
1098
<td>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>
1102
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1103
<td>the function to run on completion</td>
1106
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1107
<td>the data to pass to <em class="parameter"><code>callback</code></em>
1112
<p class="since">Since 0.1.8</p>
1115
<div class="refsect2">
1116
<a name="cd-client-get-devices-by-kind"></a><h3>cd_client_get_devices_by_kind ()</h3>
1117
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_get_devices_by_kind (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1118
<em class="parameter"><code><span class="type">CdDeviceKind</span> kind</code></em>,
1119
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
1120
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1121
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1123
Gets an array of color devices.
1125
<div class="variablelist"><table border="0">
1126
<col align="left" valign="top">
1129
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1130
<td>a <span class="type">CdClient</span> instance.</td>
1133
<td><p><span class="term"><em class="parameter"><code>kind</code></em> :</span></p></td>
1134
<td>the type of device.</td>
1137
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
1138
<td>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>
1142
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1143
<td>the function to run on completion</td>
1146
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1147
<td>the data to pass to <em class="parameter"><code>callback</code></em>
1152
<p class="since">Since 0.1.8</p>
1155
<div class="refsect2">
1156
<a name="cd-client-get-devices-by-kind-finish"></a><h3>cd_client_get_devices_by_kind_finish ()</h3>
1157
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * cd_client_get_devices_by_kind_finish
1158
(<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1159
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
1160
<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>
1162
Gets the result from the asynchronous function.
1164
<div class="variablelist"><table border="0">
1165
<col align="left" valign="top">
1168
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1169
<td>a <span class="type">CdClient</span> instance.</td>
1172
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
1173
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1177
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1178
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1182
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1183
<td>the devices. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> CdDevice][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
1188
<p class="since">Since 0.1.8</p>
1191
<div class="refsect2">
1192
<a name="cd-client-get-devices-finish"></a><h3>cd_client_get_devices_finish ()</h3>
1193
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * cd_client_get_devices_finish (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1194
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
1195
<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>
1197
Gets the result from the asynchronous function.
1199
<div class="variablelist"><table border="0">
1200
<col align="left" valign="top">
1203
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1204
<td>a <span class="type">CdClient</span> instance.</td>
1207
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
1208
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1212
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1213
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1217
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1218
<td>the devices. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> CdDevice][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
1223
<p class="since">Since 0.1.8</p>
1226
<div class="refsect2">
1227
<a name="cd-client-get-has-server"></a><h3>cd_client_get_has_server ()</h3>
1228
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_client_get_has_server (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>);</pre>
1230
Gets if the colord server is currently running.
1232
<div class="variablelist"><table border="0">
1233
<col align="left" valign="top">
1236
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1237
<td>a <span class="type">CdClient</span> instance.</td>
1240
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1242
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the colord process is running</td>
1246
<p class="since">Since 0.1.12</p>
1249
<div class="refsect2">
1250
<a name="cd-client-get-profiles"></a><h3>cd_client_get_profiles ()</h3>
1251
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_get_profiles (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1252
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
1253
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1254
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1256
Gets an array of color profiles.
1258
<div class="variablelist"><table border="0">
1259
<col align="left" valign="top">
1262
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1263
<td>a <span class="type">CdClient</span> instance.</td>
1266
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
1267
<td>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>
1271
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1272
<td>the function to run on completion</td>
1275
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1276
<td>the data to pass to <em class="parameter"><code>callback</code></em>
1281
<p class="since">Since 0.1.8</p>
1284
<div class="refsect2">
1285
<a name="cd-client-get-profiles-finish"></a><h3>cd_client_get_profiles_finish ()</h3>
1286
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * cd_client_get_profiles_finish (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1287
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
1288
<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>
1290
Gets the result from the asynchronous function.
1292
<div class="variablelist"><table border="0">
1293
<col align="left" valign="top">
1296
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1297
<td>a <span class="type">CdClient</span> instance.</td>
1300
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
1301
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1305
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1306
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1310
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1311
<td>the profiles. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> CdProfile][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
1316
<p class="since">Since 0.1.8</p>
1319
<div class="refsect2">
1320
<a name="cd-client-get-sensors"></a><h3>cd_client_get_sensors ()</h3>
1321
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_get_sensors (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1322
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
1323
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1324
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1326
Gets an array of color sensors.
1328
<div class="variablelist"><table border="0">
1329
<col align="left" valign="top">
1332
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1333
<td>a <span class="type">CdClient</span> instance.</td>
1336
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
1337
<td>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>
1341
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1342
<td>the function to run on completion</td>
1345
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1346
<td>the data to pass to <em class="parameter"><code>callback</code></em>
1351
<p class="since">Since 0.1.8</p>
1354
<div class="refsect2">
1355
<a name="cd-client-get-sensors-finish"></a><h3>cd_client_get_sensors_finish ()</h3>
1356
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * cd_client_get_sensors_finish (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1357
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
1358
<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>
1360
Gets the result from the asynchronous function.
1362
<div class="variablelist"><table border="0">
1363
<col align="left" valign="top">
1366
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1367
<td>a <span class="type">CdClient</span> instance.</td>
1370
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
1371
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1375
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1376
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1380
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1381
<td>the sensors. <span class="annotation">[<a href="http://foldoc.org/element-type"><span class="acronym">element-type</span></a> CdSensor][<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
1386
<p class="since">Since 0.1.8</p>
1389
<div class="refsect2">
1390
<a name="cd-client-get-standard-space"></a><h3>cd_client_get_standard_space ()</h3>
1391
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_get_standard_space (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1392
<em class="parameter"><code><span class="type">CdStandardSpace</span> standard_space</code></em>,
1393
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
1394
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1395
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1397
Finds a standard profile space.
1399
<div class="variablelist"><table border="0">
1400
<col align="left" valign="top">
1403
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1404
<td>a <span class="type">CdStandardSpace</span> instance.</td>
1407
<td><p><span class="term"><em class="parameter"><code>standard_space</code></em> :</span></p></td>
1408
<td>a <span class="type">profile</span> id</td>
1411
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
1412
<td>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>
1416
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1417
<td>the function to run on completion</td>
1420
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1421
<td>the data to pass to <em class="parameter"><code>callback</code></em>
1426
<p class="since">Since 0.1.8</p>
1429
<div class="refsect2">
1430
<a name="cd-client-get-standard-space-finish"></a><h3>cd_client_get_standard_space_finish ()</h3>
1431
<pre class="programlisting"><span class="returnvalue">CdProfile</span> * cd_client_get_standard_space_finish (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1432
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
1433
<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>
1435
Gets the result from the asynchronous function.
1437
<div class="variablelist"><table border="0">
1438
<col align="left" valign="top">
1441
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1442
<td>a <span class="type">CdClient</span> instance.</td>
1445
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
1446
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1450
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1451
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1455
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1456
<td>a <span class="type">CdProfile</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
1461
<p class="since">Since 0.1.8</p>
1464
<div class="refsect2">
1465
<a name="cd-client-import-profile"></a><h3>cd_client_import_profile ()</h3>
1466
<pre class="programlisting"><span class="returnvalue">void</span> cd_client_import_profile (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1467
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a> *file</code></em>,
1468
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
1469
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
1470
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
1472
Imports a color profile into the users home directory.
1475
If the profile should be accessable for all users, then call
1476
<a class="link" href="colord-cd-profile.html#cd-profile-install-system-wide" title="cd_profile_install_system_wide ()"><code class="function">cd_profile_install_system_wide()</code></a> on the result.
1478
<div class="variablelist"><table border="0">
1479
<col align="left" valign="top">
1482
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1483
<td>a <span class="type">CdClient</span> instance.</td>
1486
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
1487
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GFile.html"><span class="type">GFile</span></a>
1491
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
1492
<td>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>
1496
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
1497
<td>the function to run on completion</td>
1500
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
1501
<td>the data to pass to <em class="parameter"><code>callback</code></em>
1506
<p class="since">Since 0.1.12</p>
1509
<div class="refsect2">
1510
<a name="cd-client-import-profile-finish"></a><h3>cd_client_import_profile_finish ()</h3>
1511
<pre class="programlisting"><span class="returnvalue">CdProfile</span> * cd_client_import_profile_finish (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1512
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
1513
<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>
1515
Gets the result from the asynchronous function.
1517
<div class="variablelist"><table border="0">
1518
<col align="left" valign="top">
1521
<td><p><span class="term"><em class="parameter"><code>client</code></em> :</span></p></td>
1522
<td>a <span class="type">CdClient</span> instance.</td>
1525
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
1526
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
1530
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
1531
<td>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
1535
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1536
<td>a <span class="type">CdProfile</span> or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
1541
<p class="since">Since 0.1.12</p>
1544
<div class="refsect2">
1545
<a name="cd-client-new"></a><h3>cd_client_new ()</h3>
1546
<pre class="programlisting"><span class="returnvalue">CdClient</span> * cd_client_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
1548
Creates a new <span class="type">CdClient</span> object.
1550
<div class="variablelist"><table border="0">
1551
<col align="left" valign="top">
1553
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1554
<td>a new CdClient object.</td>
1557
<p class="since">Since 0.1.0</p>
1560
<div class="refsect2">
1561
<a name="changed"></a><h3>changed ()</h3>
1562
<pre class="programlisting"><span class="returnvalue">void</span> (*changed) (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
1567
<div class="refsect2">
1568
<a name="device-added"></a><h3>device_added ()</h3>
1569
<pre class="programlisting"><span class="returnvalue">void</span> (*device_added) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1570
<em class="parameter"><code><span class="type">CdDevice</span> *device</code></em>);</pre>
1575
<div class="refsect2">
1576
<a name="device-changed"></a><h3>device_changed ()</h3>
1577
<pre class="programlisting"><span class="returnvalue">void</span> (*device_changed) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1578
<em class="parameter"><code><span class="type">CdDevice</span> *device</code></em>);</pre>
1583
<div class="refsect2">
1584
<a name="device-removed"></a><h3>device_removed ()</h3>
1585
<pre class="programlisting"><span class="returnvalue">void</span> (*device_removed) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1586
<em class="parameter"><code><span class="type">CdDevice</span> *device</code></em>);</pre>
1591
<div class="refsect2">
1592
<a name="profile-added"></a><h3>profile_added ()</h3>
1593
<pre class="programlisting"><span class="returnvalue">void</span> (*profile_added) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1594
<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
1599
<div class="refsect2">
1600
<a name="profile-changed"></a><h3>profile_changed ()</h3>
1601
<pre class="programlisting"><span class="returnvalue">void</span> (*profile_changed) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1602
<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
1607
<div class="refsect2">
1608
<a name="profile-removed"></a><h3>profile_removed ()</h3>
1609
<pre class="programlisting"><span class="returnvalue">void</span> (*profile_removed) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1610
<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
1615
<div class="refsect2">
1616
<a name="sensor-added"></a><h3>sensor_added ()</h3>
1617
<pre class="programlisting"><span class="returnvalue">void</span> (*sensor_added) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1618
<em class="parameter"><code><span class="type">CdSensor</span> *sensor</code></em>);</pre>
1623
<div class="refsect2">
1624
<a name="sensor-changed"></a><h3>sensor_changed ()</h3>
1625
<pre class="programlisting"><span class="returnvalue">void</span> (*sensor_changed) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1626
<em class="parameter"><code><span class="type">CdSensor</span> *sensor</code></em>);</pre>
1631
<div class="refsect2">
1632
<a name="sensor-removed"></a><h3>sensor_removed ()</h3>
1633
<pre class="programlisting"><span class="returnvalue">void</span> (*sensor_removed) (<em class="parameter"><code><span class="type">CdClient</span> *client</code></em>,
1634
<em class="parameter"><code><span class="type">CdSensor</span> *sensor</code></em>);</pre>
1640
<div class="footer">
1642
Generated by GTK-Doc V1.18</div>
b'\\ No newline at end of file'