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-profile</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="colord-cd-device.html" title="cd-device">
10
<link rel="next" href="libcolord-glib-helpers.html" title="libcolord-glib helpers">
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="colord-cd-device.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="libcolord-glib-helpers.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-profile.synopsis" class="shortcut">Top</a>
26
<a href="#colord-cd-profile.description" class="shortcut">Description</a>
29
<div class="refentry">
30
<a name="colord-cd-profile"></a><div class="titlepage"></div>
31
<div class="refnamediv"><table width="100%"><tr>
33
<h2><span class="refentrytitle"><a name="colord-cd-profile.top_of_page"></a>cd-profile</span></h2>
34
<p>cd-profile — Client object for accessing information about colord profiles</p>
36
<td valign="top" align="right"></td>
38
<div class="refsynopsisdiv">
39
<a name="colord-cd-profile.synopsis"></a><h2>Synopsis</h2>
40
<pre class="synopsis">#define <a class="link" href="colord-cd-profile.html#CD-PROFILE-ERROR:CAPS" title="CD_PROFILE_ERROR">CD_PROFILE_ERROR</a>
41
#define <a class="link" href="colord-cd-profile.html#CD-PROFILE-TYPE-ERROR:CAPS" title="CD_PROFILE_TYPE_ERROR">CD_PROFILE_TYPE_ERROR</a>
42
enum <a class="link" href="colord-cd-profile.html#CdProfileError" title="enum CdProfileError">CdProfileError</a>;
43
<span class="returnvalue">void</span> (<a class="link" href="colord-cd-profile.html#cd-profile-reserved1" title="_cd_profile_reserved1 ()">*_cd_profile_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-profile.html#cd-profile-reserved2" title="_cd_profile_reserved2 ()">*_cd_profile_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-profile.html#cd-profile-reserved3" title="_cd_profile_reserved3 ()">*_cd_profile_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-profile.html#cd-profile-reserved4" title="_cd_profile_reserved4 ()">*_cd_profile_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-profile.html#cd-profile-reserved5" title="_cd_profile_reserved5 ()">*_cd_profile_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-profile.html#cd-profile-reserved6" title="_cd_profile_reserved6 ()">*_cd_profile_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-profile.html#cd-profile-reserved7" title="_cd_profile_reserved7 ()">*_cd_profile_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-profile.html#cd-profile-reserved8" title="_cd_profile_reserved8 ()">*_cd_profile_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-profile.html#cd-profile-connect" title="cd_profile_connect ()">cd_profile_connect</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</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-profile.html#cd-profile-connect-finish" title="cd_profile_connect_finish ()">cd_profile_connect_finish</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</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
<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-profile.html#cd-profile-equal" title="cd_profile_equal ()">cd_profile_equal</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile1</code></em>,
59
<em class="parameter"><code><span class="type">CdProfile</span> *profile2</code></em>);
60
<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-profile.html#cd-profile-error-quark" title="cd_profile_error_quark ()">cd_profile_error_quark</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
61
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="colord-cd-profile.html#cd-profile-get-age" title="cd_profile_get_age ()">cd_profile_get_age</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
62
<span class="returnvalue">CdColorspace</span> <a class="link" href="colord-cd-profile.html#cd-profile-get-colorspace" title="cd_profile_get_colorspace ()">cd_profile_get_colorspace</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
63
<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-profile.html#cd-profile-get-connected" title="cd_profile_get_connected ()">cd_profile_get_connected</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
64
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> <a class="link" href="colord-cd-profile.html#cd-profile-get-created" title="cd_profile_get_created ()">cd_profile_get_created</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
65
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-profile.html#cd-profile-get-filename" title="cd_profile_get_filename ()">cd_profile_get_filename</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
66
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-profile.html#cd-profile-get-format" title="cd_profile_get_format ()">cd_profile_get_format</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
67
<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-profile.html#cd-profile-get-has-vcgt" title="cd_profile_get_has_vcgt ()">cd_profile_get_has_vcgt</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
68
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-profile.html#cd-profile-get-id" title="cd_profile_get_id ()">cd_profile_get_id</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
69
<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-profile.html#cd-profile-get-is-system-wide" title="cd_profile_get_is_system_wide ()">cd_profile_get_is_system_wide</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
70
<span class="returnvalue">CdProfileKind</span> <a class="link" href="colord-cd-profile.html#cd-profile-get-kind" title="cd_profile_get_kind ()">cd_profile_get_kind</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
71
<a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> * <a class="link" href="colord-cd-profile.html#cd-profile-get-metadata" title="cd_profile_get_metadata ()">cd_profile_get_metadata</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
72
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-profile.html#cd-profile-get-metadata-item" title="cd_profile_get_metadata_item ()">cd_profile_get_metadata_item</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
73
<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>);
74
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-profile.html#cd-profile-get-object-path" title="cd_profile_get_object_path ()">cd_profile_get_object_path</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
75
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> <a class="link" href="colord-cd-profile.html#cd-profile-get-owner" title="cd_profile_get_owner ()">cd_profile_get_owner</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
76
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-profile.html#cd-profile-get-qualifier" title="cd_profile_get_qualifier ()">cd_profile_get_qualifier</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
77
<span class="returnvalue">CdObjectScope</span> <a class="link" href="colord-cd-profile.html#cd-profile-get-scope" title="cd_profile_get_scope ()">cd_profile_get_scope</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
78
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-profile.html#cd-profile-get-title" title="cd_profile_get_title ()">cd_profile_get_title</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
79
<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-profile.html#cd-profile-has-access" title="cd_profile_has_access ()">cd_profile_has_access</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
80
<span class="returnvalue">void</span> <a class="link" href="colord-cd-profile.html#cd-profile-install-system-wide" title="cd_profile_install_system_wide ()">cd_profile_install_system_wide</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
81
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
82
<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>,
83
<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>);
84
<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-profile.html#cd-profile-install-system-wide-finish" title="cd_profile_install_system_wide_finish ()">cd_profile_install_system_wide_finish</a>
85
(<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
86
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
87
<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>);
88
<span class="returnvalue">CdProfile</span> * <a class="link" href="colord-cd-profile.html#cd-profile-new" title="cd_profile_new ()">cd_profile_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
89
<span class="returnvalue">CdProfile</span> * <a class="link" href="colord-cd-profile.html#cd-profile-new-with-object-path" title="cd_profile_new_with_object_path ()">cd_profile_new_with_object_path</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>);
90
<span class="returnvalue">void</span> <a class="link" href="colord-cd-profile.html#cd-profile-set-object-path" title="cd_profile_set_object_path ()">cd_profile_set_object_path</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
91
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>);
92
<span class="returnvalue">void</span> <a class="link" href="colord-cd-profile.html#cd-profile-set-property" title="cd_profile_set_property ()">cd_profile_set_property</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
93
<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>,
94
<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>,
95
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
96
<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>,
97
<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>);
98
<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-profile.html#cd-profile-set-property-finish" title="cd_profile_set_property_finish ()">cd_profile_set_property_finish</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
99
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
100
<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>);
101
<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-profile.html#cd-profile-to-string" title="cd_profile_to_string ()">cd_profile_to_string</a> (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);
102
<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>);
105
<div class="refsect1">
106
<a name="colord-cd-profile.description"></a><h2>Description</h2>
108
A helper GObject to use for accessing colord profiles, and to be notified
112
See also: <span class="type">CdClient</span>
115
<div class="refsect1">
116
<a name="colord-cd-profile.details"></a><h2>Details</h2>
117
<div class="refsect2">
118
<a name="CD-PROFILE-ERROR:CAPS"></a><h3>CD_PROFILE_ERROR</h3>
119
<pre class="programlisting">#define CD_PROFILE_ERROR (cd_profile_error_quark ())
125
<div class="refsect2">
126
<a name="CD-PROFILE-TYPE-ERROR:CAPS"></a><h3>CD_PROFILE_TYPE_ERROR</h3>
127
<pre class="programlisting">#define CD_PROFILE_TYPE_ERROR (cd_profile_error_get_type ())
133
<div class="refsect2">
134
<a name="CdProfileError"></a><h3>enum CdProfileError</h3>
135
<pre class="programlisting">typedef enum {
136
CD_PROFILE_ERROR_FAILED,
137
CD_PROFILE_ERROR_LAST
141
Errors that can be thrown
143
<div class="variablelist"><table border="0">
144
<col align="left" valign="top">
147
<td><p><a name="CD-PROFILE-ERROR-FAILED:CAPS"></a><span class="term"><code class="literal">CD_PROFILE_ERROR_FAILED</code></span></p></td>
148
<td>the transaction failed for an unknown reason
152
<td><p><a name="CD-PROFILE-ERROR-LAST:CAPS"></a><span class="term"><code class="literal">CD_PROFILE_ERROR_LAST</code></span></p></td>
160
<div class="refsect2">
161
<a name="cd-profile-reserved1"></a><h3>_cd_profile_reserved1 ()</h3>
162
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_profile_reserved1) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
167
<div class="refsect2">
168
<a name="cd-profile-reserved2"></a><h3>_cd_profile_reserved2 ()</h3>
169
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_profile_reserved2) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
174
<div class="refsect2">
175
<a name="cd-profile-reserved3"></a><h3>_cd_profile_reserved3 ()</h3>
176
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_profile_reserved3) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
181
<div class="refsect2">
182
<a name="cd-profile-reserved4"></a><h3>_cd_profile_reserved4 ()</h3>
183
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_profile_reserved4) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
188
<div class="refsect2">
189
<a name="cd-profile-reserved5"></a><h3>_cd_profile_reserved5 ()</h3>
190
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_profile_reserved5) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
195
<div class="refsect2">
196
<a name="cd-profile-reserved6"></a><h3>_cd_profile_reserved6 ()</h3>
197
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_profile_reserved6) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
202
<div class="refsect2">
203
<a name="cd-profile-reserved7"></a><h3>_cd_profile_reserved7 ()</h3>
204
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_profile_reserved7) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
209
<div class="refsect2">
210
<a name="cd-profile-reserved8"></a><h3>_cd_profile_reserved8 ()</h3>
211
<pre class="programlisting"><span class="returnvalue">void</span> (*_cd_profile_reserved8) (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
216
<div class="refsect2">
217
<a name="cd-profile-connect"></a><h3>cd_profile_connect ()</h3>
218
<pre class="programlisting"><span class="returnvalue">void</span> cd_profile_connect (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
219
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
220
<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>,
221
<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>
223
Connects to the object and fills up initial properties.
225
<div class="variablelist"><table border="0">
226
<col align="left" valign="top">
229
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
230
<td>a <span class="type">CdProfile</span> instance.</td>
233
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
234
<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>
238
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
239
<td>the function to run on completion</td>
242
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
243
<td>the data to pass to <em class="parameter"><code>callback</code></em>
248
<p class="since">Since 0.1.8</p>
251
<div class="refsect2">
252
<a name="cd-profile-connect-finish"></a><h3>cd_profile_connect_finish ()</h3>
253
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_profile_connect_finish (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
254
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
255
<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>
257
Gets the result from the asynchronous function.
259
<div class="variablelist"><table border="0">
260
<col align="left" valign="top">
263
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
264
<td>a <span class="type">CdProfile</span> instance.</td>
267
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
268
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
272
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
273
<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>
277
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
282
<p class="since">Since 0.1.8</p>
285
<div class="refsect2">
286
<a name="cd-profile-equal"></a><h3>cd_profile_equal ()</h3>
287
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_profile_equal (<em class="parameter"><code><span class="type">CdProfile</span> *profile1</code></em>,
288
<em class="parameter"><code><span class="type">CdProfile</span> *profile2</code></em>);</pre>
290
Tests two profiles for equality.
292
<div class="variablelist"><table border="0">
293
<col align="left" valign="top">
296
<td><p><span class="term"><em class="parameter"><code>profile1</code></em> :</span></p></td>
297
<td>one <span class="type">CdProfile</span> instance.</td>
300
<td><p><span class="term"><em class="parameter"><code>profile2</code></em> :</span></p></td>
301
<td>another <span class="type">CdProfile</span> instance.</td>
304
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
306
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the profiles are the same device</td>
310
<p class="since">Since 0.1.8</p>
313
<div class="refsect2">
314
<a name="cd-profile-error-quark"></a><h3>cd_profile_error_quark ()</h3>
315
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> cd_profile_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
316
<div class="variablelist"><table border="0">
317
<col align="left" valign="top">
319
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
320
<td>An error quark.</td>
323
<p class="since">Since 0.1.0</p>
326
<div class="refsect2">
327
<a name="cd-profile-get-age"></a><h3>cd_profile_get_age ()</h3>
328
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> cd_profile_get_age (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
330
Gets the profile age in seconds relative to the current time.
332
<div class="variablelist"><table border="0">
333
<col align="left" valign="top">
336
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
337
<td>a <span class="type">CdProfile</span> instance.</td>
340
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
341
<td>A UNIX time, or 0 if the profile has no creation date</td>
345
<p class="since">Since 0.1.8</p>
348
<div class="refsect2">
349
<a name="cd-profile-get-colorspace"></a><h3>cd_profile_get_colorspace ()</h3>
350
<pre class="programlisting"><span class="returnvalue">CdColorspace</span> cd_profile_get_colorspace (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
352
Gets the profile colorspace.
354
<div class="variablelist"><table border="0">
355
<col align="left" valign="top">
358
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
359
<td>a <span class="type">CdProfile</span> instance.</td>
362
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
363
<td>A <span class="type">CdColorspace</span>, e.g. <code class="literal">CD_COLORSPACE_RGB</code>
368
<p class="since">Since 0.1.2</p>
371
<div class="refsect2">
372
<a name="cd-profile-get-connected"></a><h3>cd_profile_get_connected ()</h3>
373
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_profile_get_connected (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
375
Gets if the profile has been connected.
377
<div class="variablelist"><table border="0">
378
<col align="left" valign="top">
381
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
382
<td>a <span class="type">CdProfile</span> instance.</td>
385
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
387
<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>
391
<p class="since">Since 0.1.9</p>
394
<div class="refsect2">
395
<a name="cd-profile-get-created"></a><h3>cd_profile_get_created ()</h3>
396
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"><span class="returnvalue">gint64</span></a> cd_profile_get_created (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
398
Gets the profile created date and time.
400
<div class="variablelist"><table border="0">
401
<col align="left" valign="top">
404
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
405
<td>a <span class="type">CdProfile</span> instance.</td>
408
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
409
<td>A UNIX time, or 0 if the profile has no creation date</td>
413
<p class="since">Since 0.1.8</p>
416
<div class="refsect2">
417
<a name="cd-profile-get-filename"></a><h3>cd_profile_get_filename ()</h3>
418
<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_profile_get_filename (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
420
Gets the profile filename.
422
<div class="variablelist"><table border="0">
423
<col align="left" valign="top">
426
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
427
<td>a <span class="type">CdProfile</span> instance.</td>
430
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
431
<td>A string, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for invalid</td>
435
<p class="since">Since 0.1.0</p>
438
<div class="refsect2">
439
<a name="cd-profile-get-format"></a><h3>cd_profile_get_format ()</h3>
440
<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_profile_get_format (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
442
Gets the profile format.
444
<div class="variablelist"><table border="0">
445
<col align="left" valign="top">
448
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
449
<td>a <span class="type">CdProfile</span> instance.</td>
452
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
453
<td>A string, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for invalid</td>
457
<p class="since">Since 0.1.4</p>
460
<div class="refsect2">
461
<a name="cd-profile-get-has-vcgt"></a><h3>cd_profile_get_has_vcgt ()</h3>
462
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_profile_get_has_vcgt (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
464
Returns if the profile has a VCGT table.
466
<div class="variablelist"><table border="0">
467
<col align="left" valign="top">
470
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
471
<td>a <span class="type">CdProfile</span> instance.</td>
474
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
476
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if VCGT is valid.</td>
480
<p class="since">Since 0.1.2</p>
483
<div class="refsect2">
484
<a name="cd-profile-get-id"></a><h3>cd_profile_get_id ()</h3>
485
<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_profile_get_id (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
489
<div class="variablelist"><table border="0">
490
<col align="left" valign="top">
493
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
494
<td>a <span class="type">CdProfile</span> instance.</td>
497
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
498
<td>A string, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for invalid</td>
502
<p class="since">Since 0.1.0</p>
505
<div class="refsect2">
506
<a name="cd-profile-get-is-system-wide"></a><h3>cd_profile_get_is_system_wide ()</h3>
507
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_profile_get_is_system_wide (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
509
Returns if the profile is installed system wide and available for all
512
<div class="variablelist"><table border="0">
513
<col align="left" valign="top">
516
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
517
<td>a <span class="type">CdProfile</span> instance.</td>
520
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
522
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if system wide.</td>
526
<p class="since">Since 0.1.2</p>
529
<div class="refsect2">
530
<a name="cd-profile-get-kind"></a><h3>cd_profile_get_kind ()</h3>
531
<pre class="programlisting"><span class="returnvalue">CdProfileKind</span> cd_profile_get_kind (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
533
Gets the profile kind.
535
<div class="variablelist"><table border="0">
536
<col align="left" valign="top">
539
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
540
<td>a <span class="type">CdProfile</span> instance.</td>
543
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
544
<td>A <span class="type">CdProfileKind</span>, e.g. <code class="literal">CD_PROFILE_KIND_DISPLAY_DEVICE</code>
549
<p class="since">Since 0.1.1</p>
552
<div class="refsect2">
553
<a name="cd-profile-get-metadata"></a><h3>cd_profile_get_metadata ()</h3>
554
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="returnvalue">GHashTable</span></a> * cd_profile_get_metadata (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
556
Returns the profile metadata.
558
<div class="variablelist"><table border="0">
559
<col align="left" valign="top">
562
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
563
<td>a <span class="type">CdProfile</span> instance.</td>
566
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
567
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a>. <span class="annotation">[<a href="http://foldoc.org/transfer%20full"><span class="acronym">transfer full</span></a>]</span>
572
<p class="since">Since 0.1.2</p>
575
<div class="refsect2">
576
<a name="cd-profile-get-metadata-item"></a><h3>cd_profile_get_metadata_item ()</h3>
577
<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_profile_get_metadata_item (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
578
<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>);</pre>
580
Returns the profile metadata for a specific key.
582
<div class="variablelist"><table border="0">
583
<col align="left" valign="top">
586
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
587
<td>a <span class="type">CdProfile</span> instance.</td>
590
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
591
<td>a key for the metadata dictionary</td>
594
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
595
<td>the metadata value, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not set.</td>
599
<p class="since">Since 0.1.5</p>
602
<div class="refsect2">
603
<a name="cd-profile-get-object-path"></a><h3>cd_profile_get_object_path ()</h3>
604
<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_profile_get_object_path (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
606
Gets the object path for the profile.
608
<div class="variablelist"><table border="0">
609
<col align="left" valign="top">
612
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
613
<td>a <span class="type">CdProfile</span> instance.</td>
616
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
617
<td>the object path, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
622
<p class="since">Since 0.1.0</p>
625
<div class="refsect2">
626
<a name="cd-profile-get-owner"></a><h3>cd_profile_get_owner ()</h3>
627
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a> cd_profile_get_owner (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
629
Gets the profile owner.
631
<div class="variablelist"><table border="0">
632
<col align="left" valign="top">
635
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
636
<td>a <span class="type">CdProfile</span> instance.</td>
639
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
640
<td>The UID of the user that created the device</td>
644
<p class="since">Since 0.1.13</p>
647
<div class="refsect2">
648
<a name="cd-profile-get-qualifier"></a><h3>cd_profile_get_qualifier ()</h3>
649
<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_profile_get_qualifier (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
651
Gets the profile qualifier.
653
<div class="variablelist"><table border="0">
654
<col align="left" valign="top">
657
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
658
<td>a <span class="type">CdProfile</span> instance.</td>
661
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
662
<td>A string, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for invalid</td>
666
<p class="since">Since 0.1.0</p>
669
<div class="refsect2">
670
<a name="cd-profile-get-scope"></a><h3>cd_profile_get_scope ()</h3>
671
<pre class="programlisting"><span class="returnvalue">CdObjectScope</span> cd_profile_get_scope (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
673
Gets the profile scope.
675
<div class="variablelist"><table border="0">
676
<col align="left" valign="top">
679
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
680
<td>a <span class="type">CdProfile</span> instance.</td>
683
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
684
<td>A <span class="type">CdObjectScope</span>, e.g. <code class="literal">CD_OBJECT_SCOPE_UNKNOWN</code>
689
<p class="since">Since 0.1.10</p>
692
<div class="refsect2">
693
<a name="cd-profile-get-title"></a><h3>cd_profile_get_title ()</h3>
694
<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_profile_get_title (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
696
Gets the profile title.
698
<div class="variablelist"><table border="0">
699
<col align="left" valign="top">
702
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
703
<td>a <span class="type">CdProfile</span> instance.</td>
706
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
707
<td>A string, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for invalid</td>
711
<p class="since">Since 0.1.0</p>
714
<div class="refsect2">
715
<a name="cd-profile-has-access"></a><h3>cd_profile_has_access ()</h3>
716
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_profile_has_access (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
718
Gets if the current user has access permissions to the profile.
720
<div class="variablelist"><table border="0">
721
<col align="left" valign="top">
724
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
725
<td>a <span class="type">CdProfile</span> instance.</td>
728
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
729
<td>A string, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for invalid</td>
733
<p class="since">Since 0.1.13</p>
736
<div class="refsect2">
737
<a name="cd-profile-install-system-wide"></a><h3>cd_profile_install_system_wide ()</h3>
738
<pre class="programlisting"><span class="returnvalue">void</span> cd_profile_install_system_wide (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
739
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
740
<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>,
741
<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>
743
Sets the profile system wide.
745
<div class="variablelist"><table border="0">
746
<col align="left" valign="top">
749
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
750
<td>a <span class="type">CdProfile</span> instance.</td>
753
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
754
<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>
758
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
759
<td>the function to run on completion</td>
762
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
763
<td>the data to pass to <em class="parameter"><code>callback</code></em>
768
<p class="since">Since 0.1.8</p>
771
<div class="refsect2">
772
<a name="cd-profile-install-system-wide-finish"></a><h3>cd_profile_install_system_wide_finish ()</h3>
773
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_profile_install_system_wide_finish
774
(<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
775
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
776
<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>
778
Gets the result from the asynchronous function.
780
<div class="variablelist"><table border="0">
781
<col align="left" valign="top">
784
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
785
<td>a <span class="type">CdProfile</span> instance.</td>
788
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
789
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
793
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
794
<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>
798
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
803
<p class="since">Since 0.1.8</p>
806
<div class="refsect2">
807
<a name="cd-profile-new"></a><h3>cd_profile_new ()</h3>
808
<pre class="programlisting"><span class="returnvalue">CdProfile</span> * cd_profile_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
810
Creates a new <span class="type">CdProfile</span> object.
812
<div class="variablelist"><table border="0">
813
<col align="left" valign="top">
815
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
816
<td>a new CdProfile object.</td>
819
<p class="since">Since 0.1.0</p>
822
<div class="refsect2">
823
<a name="cd-profile-new-with-object-path"></a><h3>cd_profile_new_with_object_path ()</h3>
824
<pre class="programlisting"><span class="returnvalue">CdProfile</span> * cd_profile_new_with_object_path (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>);</pre>
826
Creates a new <span class="type">CdProfile</span> object with a known object path.
828
<div class="variablelist"><table border="0">
829
<col align="left" valign="top">
832
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
833
<td>The colord object path.</td>
836
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
837
<td>a new profile object.</td>
841
<p class="since">Since 0.1.8</p>
844
<div class="refsect2">
845
<a name="cd-profile-set-object-path"></a><h3>cd_profile_set_object_path ()</h3>
846
<pre class="programlisting"><span class="returnvalue">void</span> cd_profile_set_object_path (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
847
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *object_path</code></em>);</pre>
849
Sets the object path of the profile.
851
<div class="variablelist"><table border="0">
852
<col align="left" valign="top">
855
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
856
<td>a <span class="type">CdProfile</span> instance.</td>
859
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
860
<td>The colord object path.</td>
864
<p class="since">Since 0.1.8</p>
867
<div class="refsect2">
868
<a name="cd-profile-set-property"></a><h3>cd_profile_set_property ()</h3>
869
<pre class="programlisting"><span class="returnvalue">void</span> cd_profile_set_property (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
870
<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>,
871
<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>,
872
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
873
<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>,
874
<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>
876
Deletes a color device.
878
<div class="variablelist"><table border="0">
879
<col align="left" valign="top">
882
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
883
<td>a <span class="type">CdProfile</span> instance.</td>
886
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
890
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
894
<td><p><span class="term"><em class="parameter"><code>cancellable</code></em> :</span></p></td>
895
<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>
899
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
900
<td>the function to run on completion</td>
903
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
904
<td>the data to pass to <em class="parameter"><code>callback</code></em>
909
<p class="since">Since 0.1.8</p>
912
<div class="refsect2">
913
<a name="cd-profile-set-property-finish"></a><h3>cd_profile_set_property_finish ()</h3>
914
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> cd_profile_set_property_finish (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>,
915
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *res</code></em>,
916
<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>
918
Gets the result from the asynchronous function.
920
<div class="variablelist"><table border="0">
921
<col align="left" valign="top">
924
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
925
<td>a <span class="type">CdProfile</span> instance.</td>
928
<td><p><span class="term"><em class="parameter"><code>res</code></em> :</span></p></td>
929
<td>the <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
933
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
934
<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>
938
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
943
<p class="since">Since 0.1.8</p>
946
<div class="refsect2">
947
<a name="cd-profile-to-string"></a><h3>cd_profile_to_string ()</h3>
948
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * cd_profile_to_string (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
950
Converts the profile to a string description.
952
<div class="variablelist"><table border="0">
953
<col align="left" valign="top">
956
<td><p><span class="term"><em class="parameter"><code>profile</code></em> :</span></p></td>
957
<td>a <span class="type">CdProfile</span> instance.</td>
960
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
961
<td>text representation of <span class="type">CdProfile</span>
966
<p class="since">Since 0.1.0</p>
969
<div class="refsect2">
970
<a name="changed"></a><h3>changed ()</h3>
971
<pre class="programlisting"><span class="returnvalue">void</span> (*changed) (<em class="parameter"><code><span class="type">CdProfile</span> *profile</code></em>);</pre>
979
Generated by GTK-Doc V1.18</div>
b'\\ No newline at end of file'