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-version</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-glib-helpers.html" title="libcolord-glib helpers">
9
<link rel="prev" href="colord-cd-profile-sync.html" title="cd-profile-sync">
10
<link rel="next" href="colord-cd-color.html" title="cd-color">
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-profile-sync.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
18
<td><a accesskey="u" href="libcolord-glib-helpers.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
20
<th width="100%" align="center">colord Reference Manual</th>
21
<td><a accesskey="n" href="colord-cd-color.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-version.synopsis" class="shortcut">Top</a>
26
<a href="#colord-cd-version.description" class="shortcut">Description</a>
29
<div class="refentry">
30
<a name="colord-cd-version"></a><div class="titlepage"></div>
31
<div class="refnamediv"><table width="100%"><tr>
33
<h2><span class="refentrytitle"><a name="colord-cd-version.top_of_page"></a>cd-version</span></h2>
34
<p>cd-version — Obtains the version for the installed colord</p>
36
<td valign="top" align="right"></td>
38
<div class="refsynopsisdiv">
39
<a name="colord-cd-version.synopsis"></a><h2>Synopsis</h2>
40
<pre class="synopsis">#define <a class="link" href="colord-cd-version.html#CD-CHECK-VERSION:CAPS" title="CD_CHECK_VERSION()">CD_CHECK_VERSION</a> (major,
43
#define <a class="link" href="colord-cd-version.html#CD-MAJOR-VERSION:CAPS" title="CD_MAJOR_VERSION">CD_MAJOR_VERSION</a>
44
#define <a class="link" href="colord-cd-version.html#CD-MICRO-VERSION:CAPS" title="CD_MICRO_VERSION">CD_MICRO_VERSION</a>
45
#define <a class="link" href="colord-cd-version.html#CD-MINOR-VERSION:CAPS" title="CD_MINOR_VERSION">CD_MINOR_VERSION</a>
48
<div class="refsect1">
49
<a name="colord-cd-version.description"></a><h2>Description</h2>
51
These compile time macros allow the user to enable parts of client code
52
depending on the version of libcolord installed.
55
See also: <span class="type">CdClient</span>, <span class="type">CdDevice</span>
58
<div class="refsect1">
59
<a name="colord-cd-version.details"></a><h2>Details</h2>
60
<div class="refsect2">
61
<a name="CD-CHECK-VERSION:CAPS"></a><h3>CD_CHECK_VERSION()</h3>
62
<pre class="programlisting">#define CD_CHECK_VERSION(major,minor,micro)</pre>
64
Check whether a colord version equal to or greater than
69
<div class="refsect2">
70
<a name="CD-MAJOR-VERSION:CAPS"></a><h3>CD_MAJOR_VERSION</h3>
71
<pre class="programlisting">#define CD_MAJOR_VERSION (0)
74
The compile-time major version
78
<div class="refsect2">
79
<a name="CD-MICRO-VERSION:CAPS"></a><h3>CD_MICRO_VERSION</h3>
80
<pre class="programlisting">#define CD_MICRO_VERSION (16)
83
The compile-time micro version
87
<div class="refsect2">
88
<a name="CD-MINOR-VERSION:CAPS"></a><h3>CD_MINOR_VERSION</h3>
89
<pre class="programlisting">#define CD_MINOR_VERSION (1)
92
The compile-time minor version
99
Generated by GTK-Doc V1.18</div>
b'\\ No newline at end of file'