~oem-solutions-group/unity-2d/clutter-1.0

« back to all changes in this revision

Viewing changes to clutter/clutter-version.h

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort
  • Date: 2010-03-21 13:27:56 UTC
  • mto: (2.1.3 experimental)
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100321132756-nf8yd30yxo3zzwcm
Tags: upstream-1.2.2
ImportĀ upstreamĀ versionĀ 1.2.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 * Lesser General Public License for more details.
19
19
 *
20
20
 * You should have received a copy of the GNU Lesser General Public
21
 
 * License along with this library; if not, write to the
22
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
23
 
 * Boston, MA 02111-1307, USA.
 
21
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 
22
 *
 
23
 *
24
24
 */
25
25
 
26
26
/**
34
34
#ifndef __CLUTTER_VERSION_H__
35
35
#define __CLUTTER_VERSION_H__
36
36
 
 
37
#include <glib.h>
 
38
 
 
39
G_BEGIN_DECLS
 
40
 
37
41
/**
38
42
 * CLUTTER_MAJOR_VERSION:
39
43
 *
46
50
 *
47
51
 * The minor version of the Clutter library (2, if %CLUTTER_VERSION is 1.2.3)
48
52
 */
49
 
#define CLUTTER_MINOR_VERSION   (0)
 
53
#define CLUTTER_MINOR_VERSION   (2)
50
54
 
51
55
/**
52
56
 * CLUTTER_MICRO_VERSION:
53
57
 *
54
58
 * The micro version of the Clutter library (3, if %CLUTTER_VERSION is 1.2.3)
55
59
 */
56
 
#define CLUTTER_MICRO_VERSION   (8)
 
60
#define CLUTTER_MICRO_VERSION   (2)
57
61
 
58
62
/**
59
63
 * CLUTTER_VERSION:
60
64
 *
61
65
 * The full version of the Clutter library, like 1.2.3
62
66
 */
63
 
#define CLUTTER_VERSION         1.0.8
 
67
#define CLUTTER_VERSION         1.2.2
64
68
 
65
69
/**
66
70
 * CLUTTER_VERSION_S:
68
72
 * The full version of the Clutter library, in string form (suited for
69
73
 * string concatenation)
70
74
 */
71
 
#define CLUTTER_VERSION_S       "1.0.8"
 
75
#define CLUTTER_VERSION_S       "1.2.2"
72
76
 
73
77
/**
74
78
 * CLUTTER_VERSION_HEX:
117
121
 *
118
122
 * The default GObject type for the Clutter stage. 
119
123
 *
120
 
 * Since 0.8
 
124
 * Since: 0.8
121
125
 */
122
126
#define CLUTTER_STAGE_TYPE CLUTTER_TYPE_STAGE_GLX
123
127
 
131
135
 */
132
136
#define CLUTTER_NO_FPU          CLUTTER_NO_FPU_MACRO_WAS_REMOVED
133
137
 
 
138
/**
 
139
 * clutter_major_version:
 
140
 *
 
141
 * The major component of the Clutter library version, e.g. 1 if the version
 
142
 * is 1.2.3
 
143
 *
 
144
 * This value can be used for run-time version checks
 
145
 *
 
146
 * For a compile-time check, use %CLUTTER_MAJOR_VERSION
 
147
 *
 
148
 * Since: 1.2
 
149
 */
 
150
extern const guint clutter_major_version;
 
151
 
 
152
/**
 
153
 * clutter_minor_version:
 
154
 *
 
155
 * The minor component of the Clutter library version, e.g. 2 if the version
 
156
 * is 1.2.3
 
157
 *
 
158
 * This value can be used for run-time version checks
 
159
 *
 
160
 * For a compile-time check, use %CLUTTER_MINOR_VERSION
 
161
 *
 
162
 * Since: 1.2
 
163
 */
 
164
extern const guint clutter_minor_version;
 
165
 
 
166
/**
 
167
 * clutter_micro_version:
 
168
 *
 
169
 * The micro component of the Clutter library version, e.g. 3 if the version
 
170
 * is 1.2.3
 
171
 *
 
172
 * This value can be used for run-time version checks
 
173
 *
 
174
 * For a compile-time check, use %CLUTTER_MICRO_VERSION
 
175
 *
 
176
 * Since: 1.2
 
177
 */
 
178
extern const guint clutter_micro_version;
 
179
 
 
180
gboolean clutter_check_version (guint major,
 
181
                                guint minor,
 
182
                                guint micro);
 
183
 
 
184
G_END_DECLS
134
185
 
135
186
#endif /* __CLUTTER_VERSION_H__ */