1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
<title>Software Licenses</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-Internationalisation.html" title="Internationalization">
10
<link rel="next" href="libxfce4util-core.html" title="Xfce Core Application support">
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">
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">
22
<td><a accesskey="p" href="libxfce4util-Internationalisation.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-core.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
28
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2576902" class="shortcut">Top</a>
30
<a href="#id2576971" class="shortcut">Description</a></nobr></td></tr>
32
<div class="refentry" lang="en">
33
<a name="libxfce4util-Software-Licenses"></a><div class="titlepage"></div>
34
<div class="refnamediv"><table width="100%"><tr>
37
<a name="id2576902"></a><span class="refentrytitle">Software Licenses</span>
39
<p>Software Licenses</p>
41
<td valign="top" align="right"></td>
43
<div class="refsynopsisdiv">
45
<pre class="synopsis">
47
#include <libxfce4util/libxfce4util.h>
50
#define <a class="link" href="libxfce4util-Software-Licenses.html#XFCE-LICENSE-BSD:CAPS">XFCE_LICENSE_BSD</a>
51
#define <a class="link" href="libxfce4util-Software-Licenses.html#XFCE-LICENSE-GPL:CAPS">XFCE_LICENSE_GPL</a>
52
#define <a class="link" href="libxfce4util-Software-Licenses.html#XFCE-LICENSE-LGPL:CAPS">XFCE_LICENSE_LGPL</a>
53
enum <a class="link" href="libxfce4util-Software-Licenses.html#XfceLicenseTextType">XfceLicenseTextType</a>;
55
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
56
>gchar</a>* <a class="link" href="libxfce4util-Software-Licenses.html#xfce-get-license-text">xfce_get_license_text</a> (<a class="link" href="libxfce4util-Software-Licenses.html#XfceLicenseTextType">XfceLicenseTextType</a> license_type);
60
<div class="refsect1" lang="en">
61
<a name="id2576971"></a><h2>Description</h2>
66
<div class="refsect1" lang="en">
67
<a name="id2576985"></a><h2>Details</h2>
68
<div class="refsect2" lang="en">
69
<a name="id2576995"></a><h3>
70
<a name="XFCE-LICENSE-BSD:CAPS"></a>XFCE_LICENSE_BSD</h3>
71
<a class="indexterm" name="id2577008"></a><pre class="programlisting">#define XFCE_LICENSE_BSD (xfce_get_license_text (XFCE_LICENSE_TEXT_BSD))
74
Contains the text of the BSD license.
78
<div class="refsect2" lang="en">
79
<a name="id2577025"></a><h3>
80
<a name="XFCE-LICENSE-GPL:CAPS"></a>XFCE_LICENSE_GPL</h3>
81
<a class="indexterm" name="id2577038"></a><pre class="programlisting">#define XFCE_LICENSE_GPL (xfce_get_license_text (XFCE_LICENSE_TEXT_GPL))
84
Contains the text of the GNU General Public License.
88
<div class="refsect2" lang="en">
89
<a name="id2577055"></a><h3>
90
<a name="XFCE-LICENSE-LGPL:CAPS"></a>XFCE_LICENSE_LGPL</h3>
91
<a class="indexterm" name="id2577068"></a><pre class="programlisting">#define XFCE_LICENSE_LGPL (xfce_get_license_text (XFCE_LICENSE_TEXT_LGPL))
94
Contains the text of the GNU Lesser General Public License.
98
<div class="refsect2" lang="en">
99
<a name="id2577085"></a><h3>
100
<a name="XfceLicenseTextType"></a>enum XfceLicenseTextType</h3>
101
<a class="indexterm" name="id2577097"></a><pre class="programlisting">typedef enum /*< enum >*/
103
XFCE_LICENSE_TEXT_BSD,
104
XFCE_LICENSE_TEXT_GPL,
105
XFCE_LICENSE_TEXT_LGPL,
106
} XfceLicenseTextType;
109
The license text to return from <a class="link" href="libxfce4util-Software-Licenses.html#xfce-get-license-text"><code class="function">xfce_get_license_text()</code></a>.</p>
113
<div class="variablelist"><table border="0">
114
<col align="left" valign="top">
117
<td><p><span class="term"><a name="XFCE-LICENSE-TEXT-BSD:CAPS"></a><code class="literal">XFCE_LICENSE_TEXT_BSD</code></span></p></td>
118
<td> the BSD License.
122
<td><p><span class="term"><a name="XFCE-LICENSE-TEXT-GPL:CAPS"></a><code class="literal">XFCE_LICENSE_TEXT_GPL</code></span></p></td>
123
<td> the GNU General Public License.
127
<td><p><span class="term"><a name="XFCE-LICENSE-TEXT-LGPL:CAPS"></a><code class="literal">XFCE_LICENSE_TEXT_LGPL</code></span></p></td>
128
<td> the GNU Lesser General Public License.
135
<div class="refsect2" lang="en">
136
<a name="id2577203"></a><h3>
137
<a name="xfce-get-license-text"></a>xfce_get_license_text ()</h3>
138
<a class="indexterm" name="id2577215"></a><pre class="programlisting">const <a
139
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
140
>gchar</a>* xfce_get_license_text (<a class="link" href="libxfce4util-Software-Licenses.html#XfceLicenseTextType">XfceLicenseTextType</a> license_type);</pre>
142
Returns the text of the software license specified in the
143
<em class="parameter"><code>license_type</code></em> translated to the current language. If no
144
translation is available, the english license text will
149
<div class="variablelist"><table border="0">
150
<col align="left" valign="top">
153
<td><p><span class="term"><em class="parameter"><code>license_type</code></em> :</span></p></td>
154
<td> an <a class="link" href="libxfce4util-Software-Licenses.html#XfceLicenseTextType"><span class="type">XfceLicenseTextType</span></a>.
158
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
159
<td> the license text for <em class="parameter"><code>license_type</code></em>.