~xubuntu-dev/libxfce4util/maverick

« back to all changes in this revision

Viewing changes to docs/html/libxfce4util-Version-Information.html

  • Committer: Bazaar Package Importer
  • Author(s): Yves-Alexis Perez
  • Date: 2008-07-06 10:58:49 UTC
  • mfrom: (1.2.11 upstream)
  • mto: (2.2.1 squeeze)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080706105849-zetal1iaztbjbj6x
Tags: 4.4.2-3
* debian/control:
  - fixed typo in short description.                          closes: #489493
  - removed Martin Loschwitz from Uploaders.
  - updated standards version to 3.8.0.

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=US-ASCII">
 
5
<title>Version Information</title>
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
 
7
<link rel="start" href="index.html" title="libxfce4util Reference Manual">
 
8
<link rel="up" href="libxfce4util-fundamentals.html" title="Xfce Fundamentals">
 
9
<link rel="prev" href="libxfce4util-fundamentals.html" title="Xfce Fundamentals">
 
10
<link rel="next" href="libxfce4util-Internationalisation.html" title="Internationalization">
 
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
 
12
<link rel="stylesheet" href="style.css" type="text/css">
 
13
<link rel="chapter" href="reference.html" title="libxfce4util Overview">
 
14
<link rel="chapter" href="libxfce4util-fundamentals.html" title="Xfce Fundamentals">
 
15
<link rel="chapter" href="libxfce4util-core.html" title="Xfce Core Application support">
 
16
<link rel="chapter" href="libxfce4util-utilities.html" title="Xfce Utilities">
 
17
<link rel="chapter" href="libxfce4util-datatypes.html" title="Xfce Data types">
 
18
</head>
 
19
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
 
20
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
21
<tr valign="middle">
 
22
<td><a accesskey="p" href="libxfce4util-fundamentals.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
23
<td><a accesskey="u" href="libxfce4util-fundamentals.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
24
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
25
<th width="100%" align="center">libxfce4util Reference Manual</th>
 
26
<td><a accesskey="n" href="libxfce4util-Internationalisation.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
27
</tr>
 
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2563599" class="shortcut">Top</a>
 
29
                  &#160;|&#160;
 
30
                  <a href="#id2528216" class="shortcut">Description</a></nobr></td></tr>
 
31
</table>
 
32
<div class="refentry" lang="en">
 
33
<a name="libxfce4util-Version-Information"></a><div class="titlepage"></div>
 
34
<div class="refnamediv"><table width="100%"><tr>
 
35
<td valign="top">
 
36
<h2>
 
37
<a name="id2563599"></a><span class="refentrytitle">Version Information</span>
 
38
</h2>
 
39
<p>Version Information &#8212; Variables and functions to check the libxfce4util version</p>
 
40
</td>
 
41
<td valign="top" align="right"></td>
 
42
</tr></table></div>
 
43
<div class="refsynopsisdiv">
 
44
<h2>Synopsis</h2>
 
45
<pre class="synopsis">
 
46
 
 
47
#include &lt;libxfce4util/libxfce4util.h&gt;
 
48
 
 
49
 
 
50
const <a
 
51
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
52
>gchar</a>*        <a class="link" href="libxfce4util-Version-Information.html#xfce-version-string">xfce_version_string</a>                 (void);
 
53
extern              const guint <a class="link" href="libxfce4util-Version-Information.html#libxfce4util-major-version">libxfce4util_major_version</a>;
 
54
extern              const guint <a class="link" href="libxfce4util-Version-Information.html#libxfce4util-minor-version">libxfce4util_minor_version</a>;
 
55
extern              const guint <a class="link" href="libxfce4util-Version-Information.html#libxfce4util-micro-version">libxfce4util_micro_version</a>;
 
56
 
 
57
#define             <a class="link" href="libxfce4util-Version-Information.html#LIBXFCE4UTIL-MAJOR-VERSION:CAPS">LIBXFCE4UTIL_MAJOR_VERSION</a>
 
58
#define             <a class="link" href="libxfce4util-Version-Information.html#LIBXFCE4UTIL-MINOR-VERSION:CAPS">LIBXFCE4UTIL_MINOR_VERSION</a>
 
59
#define             <a class="link" href="libxfce4util-Version-Information.html#LIBXFCE4UTIL-MICRO-VERSION:CAPS">LIBXFCE4UTIL_MICRO_VERSION</a>
 
60
#define             <a class="link" href="libxfce4util-Version-Information.html#LIBXFCE4UTIL-CHECK-VERSION:CAPS">LIBXFCE4UTIL_CHECK_VERSION</a>          (major,minor,micro)
 
61
</pre>
 
62
</div>
 
63
<div class="refsect1" lang="en">
 
64
<a name="id2528216"></a><h2>Description</h2>
 
65
<p>
 
66
These macros provide a few commonly-used features.
 
67
</p>
 
68
</div>
 
69
<div class="refsect1" lang="en">
 
70
<a name="id2528231"></a><h2>Details</h2>
 
71
<div class="refsect2" lang="en">
 
72
<a name="id2528241"></a><h3>
 
73
<a name="xfce-version-string"></a>xfce_version_string ()</h3>
 
74
<a class="indexterm" name="id2528257"></a><pre class="programlisting">const <a
 
75
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
 
76
>gchar</a>*        xfce_version_string                 (void);</pre>
 
77
<p>
 
78
Queries the version string of the installed Xfce desktop environment.</p>
 
79
<p>
 
80
 
 
81
</p>
 
82
<div class="variablelist"><table border="0">
 
83
<col align="left" valign="top">
 
84
<tbody><tr>
 
85
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></p></td>
 
86
<td> the overall version information of the installed Xfce desktop.
 
87
 
 
88
</td>
 
89
</tr></tbody>
 
90
</table></div>
 
91
<p class="since">Since  4.2
 
92
</p>
 
93
</div>
 
94
<hr>
 
95
<div class="refsect2" lang="en">
 
96
<a name="id2528307"></a><h3>
 
97
<a name="libxfce4util-major-version"></a>libxfce4util_major_version</h3>
 
98
<a class="indexterm" name="id2528319"></a><pre class="programlisting">extern const guint libxfce4util_major_version;
 
99
</pre>
 
100
<p>
 
101
 
 
102
</p>
 
103
</div>
 
104
<hr>
 
105
<div class="refsect2" lang="en">
 
106
<a name="id2528335"></a><h3>
 
107
<a name="libxfce4util-minor-version"></a>libxfce4util_minor_version</h3>
 
108
<a class="indexterm" name="id2572550"></a><pre class="programlisting">extern const guint libxfce4util_minor_version;
 
109
</pre>
 
110
<p>
 
111
 
 
112
</p>
 
113
</div>
 
114
<hr>
 
115
<div class="refsect2" lang="en">
 
116
<a name="id2572566"></a><h3>
 
117
<a name="libxfce4util-micro-version"></a>libxfce4util_micro_version</h3>
 
118
<a class="indexterm" name="id2572579"></a><pre class="programlisting">extern const guint libxfce4util_micro_version;
 
119
</pre>
 
120
<p>
 
121
 
 
122
</p>
 
123
</div>
 
124
<hr>
 
125
<div class="refsect2" lang="en">
 
126
<a name="id2572594"></a><h3>
 
127
<a name="LIBXFCE4UTIL-MAJOR-VERSION:CAPS"></a>LIBXFCE4UTIL_MAJOR_VERSION</h3>
 
128
<a class="indexterm" name="id2572607"></a><pre class="programlisting">#define LIBXFCE4UTIL_MAJOR_VERSION        4
 
129
</pre>
 
130
<p>
 
131
The major version number of the libxfce4util.
 
132
</p>
 
133
</div>
 
134
<hr>
 
135
<div class="refsect2" lang="en">
 
136
<a name="id2572623"></a><h3>
 
137
<a name="LIBXFCE4UTIL-MINOR-VERSION:CAPS"></a>LIBXFCE4UTIL_MINOR_VERSION</h3>
 
138
<a class="indexterm" name="id2572636"></a><pre class="programlisting">#define LIBXFCE4UTIL_MINOR_VERSION        4
 
139
</pre>
 
140
<p>
 
141
The minor version number of the libxfce4util.
 
142
</p>
 
143
</div>
 
144
<hr>
 
145
<div class="refsect2" lang="en">
 
146
<a name="id2572652"></a><h3>
 
147
<a name="LIBXFCE4UTIL-MICRO-VERSION:CAPS"></a>LIBXFCE4UTIL_MICRO_VERSION</h3>
 
148
<a class="indexterm" name="id2572665"></a><pre class="programlisting">#define LIBXFCE4UTIL_MICRO_VERSION        2
 
149
</pre>
 
150
<p>
 
151
The micro version number of the libxfce4util.
 
152
</p>
 
153
</div>
 
154
<hr>
 
155
<div class="refsect2" lang="en">
 
156
<a name="id2572682"></a><h3>
 
157
<a name="LIBXFCE4UTIL-CHECK-VERSION:CAPS"></a>LIBXFCE4UTIL_CHECK_VERSION()</h3>
 
158
<a class="indexterm" name="id2572694"></a><pre class="programlisting">#define             LIBXFCE4UTIL_CHECK_VERSION(major,minor,micro)</pre>
 
159
<p>
 
160
Checks the version of the libxfce4util library. It returns TRUE if the
 
161
libxfce4util library is the same or newer than the given version.
 
162
</p>
 
163
<div class="example">
 
164
<a name="id2572712"></a><p class="title"><b>Example&#160;1.&#160;Checking the version of the libxfce4util library</b></p>
 
165
<div class="example-contents"><pre class="programlisting">
 
166
  if (!LIBXFCE4UTIL_CHECK_VERSION (4, 1, 6))
 
167
    g_error ("libxfce4util version 4.1.6 or above is required.");
 
168
</pre></div>
 
169
</div>
 
170
<p><br class="example-break">
 
171
</p>
 
172
<div class="variablelist"><table border="0">
 
173
<col align="left" valign="top">
 
174
<tbody>
 
175
<tr>
 
176
<td><p><span class="term"><em class="parameter"><code>major</code></em>&#160;:</span></p></td>
 
177
<td>the major version number.
 
178
</td>
 
179
</tr>
 
180
<tr>
 
181
<td><p><span class="term"><em class="parameter"><code>minor</code></em>&#160;:</span></p></td>
 
182
<td>the minor version number.
 
183
</td>
 
184
</tr>
 
185
<tr>
 
186
<td><p><span class="term"><em class="parameter"><code>micro</code></em>&#160;:</span></p></td>
 
187
<td>the micro version number.
 
188
 
 
189
 
 
190
</td>
 
191
</tr>
 
192
</tbody>
 
193
</table></div>
 
194
</div>
 
195
</div>
 
196
<div class="refsect1" lang="en">
 
197
<a name="id2572775"></a><h2>See Also</h2>
 
198
<p>
 
199
<a class="ulink" href="http://developer.gnome.org/doc/API/2.0/glib/glib-Standard-Macros.html" target="_top">GLib Standard Macros</a>
 
200
</p>
 
201
</div>
 
202
</div>
 
203
</body>
 
204
</html>