File: version.c

package info (click to toggle)
libmirage 3.2.10-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,540 kB
  • sloc: ansic: 25,454; xml: 108; makefile: 11
file content (138 lines) | stat: -rw-r--r-- 5,175 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
/*
 *  libMirage: version
 *  Copyright (C) 2008-2014 Rok Mandeljc
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License along
 *  with this program; if not, write to the Free Software Foundation, Inc.,
 *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

/**
 * SECTION: mirage-version
 * @title: Version
 * @short_description: Version information variables.
 * @include: mirage-version.h
 *
 * libMirage provides version information, primarily useful in configure
 * checks for builds that have a configure script. It can also be used
 * in applications when displaying underlying system version information.
 *
 * Additionaly, <ulink url="http://semver.org">semantic version</ulink>
 * is also exposed, which is primarily intended to be used in libMirage's
 * plugin system.
 */

#include "mirage/config.h"
#include "mirage/mirage.h"

#include <glib/gi18n-lib.h>


/**
 * mirage_version_major:
 *
 * The major version number of the libMirage library. (e.g. in libMirage version
 * 1.2.5 this is 1.)
 *
 * This variable is in the library, so it represents the version of libMirage
 * library you have linked against (contrary to %MIRAGE_VERSION_MAJOR macro,
 * which represents the version of the libMirage headers you have included).
 */
const guint mirage_version_major = MIRAGE_VERSION_MAJOR;

/**
 * mirage_version_minor:
 *
 * The minor version number of the libMirage library. (e.g. in libMirage version
 * 1.2.5 this is 2.)
 *
 * This variable is in the library, so it represents the version of libMirage
 * library you have linked against (contrary to %MIRAGE_VERSION_MINOR macro,
 * which represents the version of the libMirage headers you have included).
 */
const guint mirage_version_minor = MIRAGE_VERSION_MINOR;

/**
 * mirage_version_micro:
 *
 * The micro version number of the libMirage library. (e.g. in libMirage version
 * 1.2.5 this is 5.)
 *
 * This variable is in the library, so it represents the version of libMirage
 * library you have linked against (contrary to %MIRAGE_VERSION_MICRO macro,
 * which represents the version of the libMirage headers you have included).
 */
const guint mirage_version_micro = MIRAGE_VERSION_MICRO;


/**
 * mirage_version_long:
 *
 * The long version string of the libMirage library.
 *
 * This variable is in the library, so it represents the version of libMirage
 * library you have linked against (contrary to %MIRAGE_VERSION_LONG macro,
 * which represents the version of the libMirage headers you have included).
 */
const gchar *mirage_version_long = MIRAGE_VERSION_LONG;

/**
 * mirage_version_short:
 *
 * The long version string of the libMirage library.
 *
 * This variable is in the library, so it represents the version of libMirage
 * library you have linked against (contrary to %MIRAGE_VERSION_SHORT macro,
 * which represents the version of the libMirage headers you have included).
 */
const gchar *mirage_version_short = MIRAGE_VERSION_SHORT;


/**
 * mirage_soversion_major:
 *
 * The major component of <ulink url="http://semver.org">semantic version</ulink>
 * of the libMirage library. It is intended to be used in libMirage's plugin
 * system and should not be of much interest to application developers.
 *
 * This variable is in the library, so it represents the version of libMirage
 * library you have linked against (contrary to %MIRAGE_SOVERSION_MAJOR macro,
 * which represents the version of the libMirage headers you have included).
 */
const guint mirage_soversion_major = MIRAGE_SOVERSION_MAJOR;

/**
 * mirage_soversion_minor:
 *
 * The minor component of <ulink url="http://semver.org">semantic version</ulink>
 * of the libMirage library. It is intended to be used in libMirage's plugin
 * system and should not be of much interest to application developers.
 *
 * This variable is in the library, so it represents the version of libMirage
 * library you have linked against (contrary to %MIRAGE_SOVERSION_MINOR macro,
 * which represents the version of the libMirage headers you have included).
 */
const guint mirage_soversion_minor = MIRAGE_SOVERSION_MINOR;

/**
 * mirage_soversion_patch:
 *
 * The patch component of <ulink url="http://semver.org">semantic version</ulink>
 * of the libMirage library. It is intended to be used in libMirage's plugin
 * system and should not be of much interest to application developers.
 *
 * This variable is in the library, so it represents the version of libMirage
 * library you have linked against (contrary to %MIRAGE_SOVERSION_PATCH macro,
 * which represents the version of the libMirage headers you have included).
 */
const guint mirage_soversion_patch = MIRAGE_SOVERSION_PATCH;