~ubuntu-branches/ubuntu/quantal/colord/quantal-proposed

« back to all changes in this revision

Viewing changes to doc/api/html/colord-cd-profile.html

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers
  • Date: 2012-03-01 17:33:00 UTC
  • mto: (1.1.4) (2.1.7 sid)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20120301173300-q1s2bs8yubnybln8
Import upstream version 0.1.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html>
3
 
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>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">
13
 
</head>
14
 
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
 
<tr valign="middle">
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>
22
 
</tr>
23
 
<tr><td colspan="5" class="shortcuts">
24
 
<a href="#colord-cd-profile.synopsis" class="shortcut">Top</a>
25
 
                   | 
26
 
                  <a href="#colord-cd-profile.description" class="shortcut">Description</a>
27
 
</td></tr>
28
 
</table>
29
 
<div class="refentry">
30
 
<a name="colord-cd-profile"></a><div class="titlepage"></div>
31
 
<div class="refnamediv"><table width="100%"><tr>
32
 
<td valign="top">
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>
35
 
</td>
36
 
<td valign="top" align="right"></td>
37
 
</tr></table></div>
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>);
103
 
</pre>
104
 
</div>
105
 
<div class="refsect1">
106
 
<a name="colord-cd-profile.description"></a><h2>Description</h2>
107
 
<p>
108
 
A helper GObject to use for accessing colord profiles, and to be notified
109
 
when it is changed.
110
 
</p>
111
 
<p>
112
 
See also: <span class="type">CdClient</span>
113
 
</p>
114
 
</div>
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 ())
120
 
</pre>
121
 
<p>
122
 
</p>
123
 
</div>
124
 
<hr>
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 ())
128
 
</pre>
129
 
<p>
130
 
</p>
131
 
</div>
132
 
<hr>
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
138
 
} CdProfileError;
139
 
</pre>
140
 
<p>
141
 
Errors that can be thrown
142
 
</p>
143
 
<div class="variablelist"><table border="0">
144
 
<col align="left" valign="top">
145
 
<tbody>
146
 
<tr>
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
149
 
</td>
150
 
</tr>
151
 
<tr>
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>
153
 
<td>
154
 
</td>
155
 
</tr>
156
 
</tbody>
157
 
</table></div>
158
 
</div>
159
 
<hr>
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>
163
 
<p>
164
 
</p>
165
 
</div>
166
 
<hr>
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>
170
 
<p>
171
 
</p>
172
 
</div>
173
 
<hr>
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>
177
 
<p>
178
 
</p>
179
 
</div>
180
 
<hr>
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>
184
 
<p>
185
 
</p>
186
 
</div>
187
 
<hr>
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>
191
 
<p>
192
 
</p>
193
 
</div>
194
 
<hr>
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>
198
 
<p>
199
 
</p>
200
 
</div>
201
 
<hr>
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>
205
 
<p>
206
 
</p>
207
 
</div>
208
 
<hr>
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>
212
 
<p>
213
 
</p>
214
 
</div>
215
 
<hr>
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>
222
 
<p>
223
 
Connects to the object and fills up initial properties.
224
 
</p>
225
 
<div class="variablelist"><table border="0">
226
 
<col align="left" valign="top">
227
 
<tbody>
228
 
<tr>
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>
231
 
</tr>
232
 
<tr>
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>
235
 
</td>
236
 
</tr>
237
 
<tr>
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>
240
 
</tr>
241
 
<tr>
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>
244
 
</td>
245
 
</tr>
246
 
</tbody>
247
 
</table></div>
248
 
<p class="since">Since 0.1.8</p>
249
 
</div>
250
 
<hr>
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>
256
 
<p>
257
 
Gets the result from the asynchronous function.
258
 
</p>
259
 
<div class="variablelist"><table border="0">
260
 
<col align="left" valign="top">
261
 
<tbody>
262
 
<tr>
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>
265
 
</tr>
266
 
<tr>
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>
269
 
</td>
270
 
</tr>
271
 
<tr>
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>
274
 
</td>
275
 
</tr>
276
 
<tr>
277
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
278
 
<td>success</td>
279
 
</tr>
280
 
</tbody>
281
 
</table></div>
282
 
<p class="since">Since 0.1.8</p>
283
 
</div>
284
 
<hr>
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>
289
 
<p>
290
 
Tests two profiles for equality.
291
 
</p>
292
 
<div class="variablelist"><table border="0">
293
 
<col align="left" valign="top">
294
 
<tbody>
295
 
<tr>
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>
298
 
</tr>
299
 
<tr>
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>
302
 
</tr>
303
 
<tr>
304
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
305
 
<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>
307
 
</tr>
308
 
</tbody>
309
 
</table></div>
310
 
<p class="since">Since 0.1.8</p>
311
 
</div>
312
 
<hr>
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">
318
 
<tbody><tr>
319
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
320
 
<td>An error quark.</td>
321
 
</tr></tbody>
322
 
</table></div>
323
 
<p class="since">Since 0.1.0</p>
324
 
</div>
325
 
<hr>
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>
329
 
<p>
330
 
Gets the profile age in seconds relative to the current time.
331
 
</p>
332
 
<div class="variablelist"><table border="0">
333
 
<col align="left" valign="top">
334
 
<tbody>
335
 
<tr>
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>
338
 
</tr>
339
 
<tr>
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>
342
 
</tr>
343
 
</tbody>
344
 
</table></div>
345
 
<p class="since">Since 0.1.8</p>
346
 
</div>
347
 
<hr>
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>
351
 
<p>
352
 
Gets the profile colorspace.
353
 
</p>
354
 
<div class="variablelist"><table border="0">
355
 
<col align="left" valign="top">
356
 
<tbody>
357
 
<tr>
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>
360
 
</tr>
361
 
<tr>
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>
364
 
</td>
365
 
</tr>
366
 
</tbody>
367
 
</table></div>
368
 
<p class="since">Since 0.1.2</p>
369
 
</div>
370
 
<hr>
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>
374
 
<p>
375
 
Gets if the profile has been connected.
376
 
</p>
377
 
<div class="variablelist"><table border="0">
378
 
<col align="left" valign="top">
379
 
<tbody>
380
 
<tr>
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>
383
 
</tr>
384
 
<tr>
385
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
386
 
<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>
388
 
</tr>
389
 
</tbody>
390
 
</table></div>
391
 
<p class="since">Since 0.1.9</p>
392
 
</div>
393
 
<hr>
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>
397
 
<p>
398
 
Gets the profile created date and time.
399
 
</p>
400
 
<div class="variablelist"><table border="0">
401
 
<col align="left" valign="top">
402
 
<tbody>
403
 
<tr>
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>
406
 
</tr>
407
 
<tr>
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>
410
 
</tr>
411
 
</tbody>
412
 
</table></div>
413
 
<p class="since">Since 0.1.8</p>
414
 
</div>
415
 
<hr>
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>
419
 
<p>
420
 
Gets the profile filename.
421
 
</p>
422
 
<div class="variablelist"><table border="0">
423
 
<col align="left" valign="top">
424
 
<tbody>
425
 
<tr>
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>
428
 
</tr>
429
 
<tr>
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>
432
 
</tr>
433
 
</tbody>
434
 
</table></div>
435
 
<p class="since">Since 0.1.0</p>
436
 
</div>
437
 
<hr>
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>
441
 
<p>
442
 
Gets the profile format.
443
 
</p>
444
 
<div class="variablelist"><table border="0">
445
 
<col align="left" valign="top">
446
 
<tbody>
447
 
<tr>
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>
450
 
</tr>
451
 
<tr>
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>
454
 
</tr>
455
 
</tbody>
456
 
</table></div>
457
 
<p class="since">Since 0.1.4</p>
458
 
</div>
459
 
<hr>
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>
463
 
<p>
464
 
Returns if the profile has a VCGT table.
465
 
</p>
466
 
<div class="variablelist"><table border="0">
467
 
<col align="left" valign="top">
468
 
<tbody>
469
 
<tr>
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>
472
 
</tr>
473
 
<tr>
474
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
475
 
<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>
477
 
</tr>
478
 
</tbody>
479
 
</table></div>
480
 
<p class="since">Since 0.1.2</p>
481
 
</div>
482
 
<hr>
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>
486
 
<p>
487
 
Gets the profile ID.
488
 
</p>
489
 
<div class="variablelist"><table border="0">
490
 
<col align="left" valign="top">
491
 
<tbody>
492
 
<tr>
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>
495
 
</tr>
496
 
<tr>
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>
499
 
</tr>
500
 
</tbody>
501
 
</table></div>
502
 
<p class="since">Since 0.1.0</p>
503
 
</div>
504
 
<hr>
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>
508
 
<p>
509
 
Returns if the profile is installed system wide and available for all
510
 
users.
511
 
</p>
512
 
<div class="variablelist"><table border="0">
513
 
<col align="left" valign="top">
514
 
<tbody>
515
 
<tr>
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>
518
 
</tr>
519
 
<tr>
520
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
521
 
<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>
523
 
</tr>
524
 
</tbody>
525
 
</table></div>
526
 
<p class="since">Since 0.1.2</p>
527
 
</div>
528
 
<hr>
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>
532
 
<p>
533
 
Gets the profile kind.
534
 
</p>
535
 
<div class="variablelist"><table border="0">
536
 
<col align="left" valign="top">
537
 
<tbody>
538
 
<tr>
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>
541
 
</tr>
542
 
<tr>
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>
545
 
</td>
546
 
</tr>
547
 
</tbody>
548
 
</table></div>
549
 
<p class="since">Since 0.1.1</p>
550
 
</div>
551
 
<hr>
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>
555
 
<p>
556
 
Returns the profile metadata.
557
 
</p>
558
 
<div class="variablelist"><table border="0">
559
 
<col align="left" valign="top">
560
 
<tbody>
561
 
<tr>
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>
564
 
</tr>
565
 
<tr>
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>
568
 
</td>
569
 
</tr>
570
 
</tbody>
571
 
</table></div>
572
 
<p class="since">Since 0.1.2</p>
573
 
</div>
574
 
<hr>
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>
579
 
<p>
580
 
Returns the profile metadata for a specific key.
581
 
</p>
582
 
<div class="variablelist"><table border="0">
583
 
<col align="left" valign="top">
584
 
<tbody>
585
 
<tr>
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>
588
 
</tr>
589
 
<tr>
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>
592
 
</tr>
593
 
<tr>
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>
596
 
</tr>
597
 
</tbody>
598
 
</table></div>
599
 
<p class="since">Since 0.1.5</p>
600
 
</div>
601
 
<hr>
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>
605
 
<p>
606
 
Gets the object path for the profile.
607
 
</p>
608
 
<div class="variablelist"><table border="0">
609
 
<col align="left" valign="top">
610
 
<tbody>
611
 
<tr>
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>
614
 
</tr>
615
 
<tr>
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>
618
 
</td>
619
 
</tr>
620
 
</tbody>
621
 
</table></div>
622
 
<p class="since">Since 0.1.0</p>
623
 
</div>
624
 
<hr>
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>
628
 
<p>
629
 
Gets the profile owner.
630
 
</p>
631
 
<div class="variablelist"><table border="0">
632
 
<col align="left" valign="top">
633
 
<tbody>
634
 
<tr>
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>
637
 
</tr>
638
 
<tr>
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>
641
 
</tr>
642
 
</tbody>
643
 
</table></div>
644
 
<p class="since">Since 0.1.13</p>
645
 
</div>
646
 
<hr>
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>
650
 
<p>
651
 
Gets the profile qualifier.
652
 
</p>
653
 
<div class="variablelist"><table border="0">
654
 
<col align="left" valign="top">
655
 
<tbody>
656
 
<tr>
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>
659
 
</tr>
660
 
<tr>
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>
663
 
</tr>
664
 
</tbody>
665
 
</table></div>
666
 
<p class="since">Since 0.1.0</p>
667
 
</div>
668
 
<hr>
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>
672
 
<p>
673
 
Gets the profile scope.
674
 
</p>
675
 
<div class="variablelist"><table border="0">
676
 
<col align="left" valign="top">
677
 
<tbody>
678
 
<tr>
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>
681
 
</tr>
682
 
<tr>
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>
685
 
</td>
686
 
</tr>
687
 
</tbody>
688
 
</table></div>
689
 
<p class="since">Since 0.1.10</p>
690
 
</div>
691
 
<hr>
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>
695
 
<p>
696
 
Gets the profile title.
697
 
</p>
698
 
<div class="variablelist"><table border="0">
699
 
<col align="left" valign="top">
700
 
<tbody>
701
 
<tr>
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>
704
 
</tr>
705
 
<tr>
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>
708
 
</tr>
709
 
</tbody>
710
 
</table></div>
711
 
<p class="since">Since 0.1.0</p>
712
 
</div>
713
 
<hr>
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>
717
 
<p>
718
 
Gets if the current user has access permissions to the profile.
719
 
</p>
720
 
<div class="variablelist"><table border="0">
721
 
<col align="left" valign="top">
722
 
<tbody>
723
 
<tr>
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>
726
 
</tr>
727
 
<tr>
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>
730
 
</tr>
731
 
</tbody>
732
 
</table></div>
733
 
<p class="since">Since 0.1.13</p>
734
 
</div>
735
 
<hr>
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>
742
 
<p>
743
 
Sets the profile system wide.
744
 
</p>
745
 
<div class="variablelist"><table border="0">
746
 
<col align="left" valign="top">
747
 
<tbody>
748
 
<tr>
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>
751
 
</tr>
752
 
<tr>
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>
755
 
</td>
756
 
</tr>
757
 
<tr>
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>
760
 
</tr>
761
 
<tr>
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>
764
 
</td>
765
 
</tr>
766
 
</tbody>
767
 
</table></div>
768
 
<p class="since">Since 0.1.8</p>
769
 
</div>
770
 
<hr>
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>
777
 
<p>
778
 
Gets the result from the asynchronous function.
779
 
</p>
780
 
<div class="variablelist"><table border="0">
781
 
<col align="left" valign="top">
782
 
<tbody>
783
 
<tr>
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>
786
 
</tr>
787
 
<tr>
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>
790
 
</td>
791
 
</tr>
792
 
<tr>
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>
795
 
</td>
796
 
</tr>
797
 
<tr>
798
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
799
 
<td>success</td>
800
 
</tr>
801
 
</tbody>
802
 
</table></div>
803
 
<p class="since">Since 0.1.8</p>
804
 
</div>
805
 
<hr>
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>
809
 
<p>
810
 
Creates a new <span class="type">CdProfile</span> object.
811
 
</p>
812
 
<div class="variablelist"><table border="0">
813
 
<col align="left" valign="top">
814
 
<tbody><tr>
815
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
816
 
<td>a new CdProfile object.</td>
817
 
</tr></tbody>
818
 
</table></div>
819
 
<p class="since">Since 0.1.0</p>
820
 
</div>
821
 
<hr>
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>
825
 
<p>
826
 
Creates a new <span class="type">CdProfile</span> object with a known object path.
827
 
</p>
828
 
<div class="variablelist"><table border="0">
829
 
<col align="left" valign="top">
830
 
<tbody>
831
 
<tr>
832
 
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
833
 
<td>The colord object path.</td>
834
 
</tr>
835
 
<tr>
836
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
837
 
<td>a new profile object.</td>
838
 
</tr>
839
 
</tbody>
840
 
</table></div>
841
 
<p class="since">Since 0.1.8</p>
842
 
</div>
843
 
<hr>
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>
848
 
<p>
849
 
Sets the object path of the profile.
850
 
</p>
851
 
<div class="variablelist"><table border="0">
852
 
<col align="left" valign="top">
853
 
<tbody>
854
 
<tr>
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>
857
 
</tr>
858
 
<tr>
859
 
<td><p><span class="term"><em class="parameter"><code>object_path</code></em> :</span></p></td>
860
 
<td>The colord object path.</td>
861
 
</tr>
862
 
</tbody>
863
 
</table></div>
864
 
<p class="since">Since 0.1.8</p>
865
 
</div>
866
 
<hr>
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>
875
 
<p>
876
 
Deletes a color device.
877
 
</p>
878
 
<div class="variablelist"><table border="0">
879
 
<col align="left" valign="top">
880
 
<tbody>
881
 
<tr>
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>
884
 
</tr>
885
 
<tr>
886
 
<td><p><span class="term"><em class="parameter"><code>key</code></em> :</span></p></td>
887
 
<td>a key name</td>
888
 
</tr>
889
 
<tr>
890
 
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
891
 
<td>a key value</td>
892
 
</tr>
893
 
<tr>
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>
896
 
</td>
897
 
</tr>
898
 
<tr>
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>
901
 
</tr>
902
 
<tr>
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>
905
 
</td>
906
 
</tr>
907
 
</tbody>
908
 
</table></div>
909
 
<p class="since">Since 0.1.8</p>
910
 
</div>
911
 
<hr>
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>
917
 
<p>
918
 
Gets the result from the asynchronous function.
919
 
</p>
920
 
<div class="variablelist"><table border="0">
921
 
<col align="left" valign="top">
922
 
<tbody>
923
 
<tr>
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>
926
 
</tr>
927
 
<tr>
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>
930
 
</td>
931
 
</tr>
932
 
<tr>
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>
935
 
</td>
936
 
</tr>
937
 
<tr>
938
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
939
 
<td>success</td>
940
 
</tr>
941
 
</tbody>
942
 
</table></div>
943
 
<p class="since">Since 0.1.8</p>
944
 
</div>
945
 
<hr>
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>
949
 
<p>
950
 
Converts the profile to a string description.
951
 
</p>
952
 
<div class="variablelist"><table border="0">
953
 
<col align="left" valign="top">
954
 
<tbody>
955
 
<tr>
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>
958
 
</tr>
959
 
<tr>
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>
962
 
</td>
963
 
</tr>
964
 
</tbody>
965
 
</table></div>
966
 
<p class="since">Since 0.1.0</p>
967
 
</div>
968
 
<hr>
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>
972
 
<p>
973
 
</p>
974
 
</div>
975
 
</div>
976
 
</div>
977
 
<div class="footer">
978
 
<hr>
979
 
          Generated by GTK-Doc V1.18</div>
980
 
</body>
981
 
</html>
 
 
b'\\ No newline at end of file'