Software Licenses

Software Licenses — Software Licenses

Functions

const gchar * xfce_get_license_text ()

Types and Values

Includes

#include <libxfce4util/libxfce4util.h>

Description

Functions

xfce_get_license_text ()

const gchar *
xfce_get_license_text (XfceLicenseTextType license_type);

Returns the text of the software license specified in the license_type translated to the current language. If no translation is available, the english license text will be returned.

Parameters

license_type

an XfceLicenseTextType.

 

Returns

the license text for license_type .

Types and Values

XFCE_LICENSE_BSD

#define XFCE_LICENSE_BSD (xfce_get_license_text (XFCE_LICENSE_TEXT_BSD))

XFCE_LICENSE_GPL

#define XFCE_LICENSE_GPL (xfce_get_license_text (XFCE_LICENSE_TEXT_GPL))

XFCE_LICENSE_LGPL

#define XFCE_LICENSE_LGPL (xfce_get_license_text (XFCE_LICENSE_TEXT_LGPL))

enum XfceLicenseTextType

The license text to return from xfce_get_license_text().

Members

XFCE_LICENSE_TEXT_BSD

the BSD License.

 

XFCE_LICENSE_TEXT_GPL

the GNU General Public License.

 

XFCE_LICENSE_TEXT_LGPL

the GNU Lesser General Public License.