2006-12-27 18:19:34 +00:00
|
|
|
/*
|
|
|
|
* Clutter.
|
|
|
|
*
|
|
|
|
* An OpenGL based 'interactive canvas' library.
|
|
|
|
*
|
|
|
|
* Authored By Matthew Allum <mallum@openedhand.com>
|
|
|
|
*
|
|
|
|
* Copyright (C) 2006 OpenedHand
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library 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
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2006-11-20 12:02:24 +00:00
|
|
|
#ifndef __CLUTTER_VERSION_H__
|
|
|
|
#define __CLUTTER_VERSION_H__
|
|
|
|
|
|
|
|
#define CLUTTER_MAJOR_VERSION @CLUTTER_MAJOR_VERSION@
|
|
|
|
#define CLUTTER_MINOR_VERSION @CLUTTER_MINOR_VERSION@
|
|
|
|
#define CLUTTER_MICRO_VERSION @CLUTTER_MICRO_VERSION@
|
|
|
|
|
|
|
|
#define CLUTTER_VERSION @CLUTTER_VERSION@
|
|
|
|
#define CLUTTER_VERSION_S "@CLUTTER_VERSION@"
|
2006-12-08 16:12:52 +00:00
|
|
|
#define CLUTTER_VERSION_HEX ((CLUTTER_MAJOR_VERSION << 24) | \
|
|
|
|
(CLUTTER_MINOR_VERSION << 16) | \
|
|
|
|
(CLUTTER_MICRO_VERSION << 8))
|
2006-11-20 12:02:24 +00:00
|
|
|
|
|
|
|
#define CLUTTER_CHECK_VERSION(major,minor,micro) \
|
2006-12-02 22:54:58 +00:00
|
|
|
(CLUTTER_MAJOR_VERSION > (major) || \
|
2006-11-20 12:02:24 +00:00
|
|
|
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION > (minor)) || \
|
2006-12-02 22:54:58 +00:00
|
|
|
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION == (minor) && CLUTTER_MICRO_VERSION > (micro)))
|
2006-11-20 12:02:24 +00:00
|
|
|
|
2007-05-14 09:11:23 +00:00
|
|
|
/* GL Windowing system used */
|
2007-03-22 18:21:59 +00:00
|
|
|
#define CLUTTER_FLAVOUR "@CLUTTER_FLAVOUR@"
|
2007-02-13 23:31:57 +00:00
|
|
|
|
2007-05-14 09:11:23 +00:00
|
|
|
/* cogl backend - gl or gles currently */
|
|
|
|
#define CLUTTER_COGL "@CLUTTER_COGL@"
|
|
|
|
|
|
|
|
/* Set to 1 if clutter built without FPU (i.e fixed math), 0 otherwise */
|
|
|
|
#define CLUTTER_NO_FPU @CLUTTER_NO_FPU@
|
|
|
|
|
2006-11-20 12:02:24 +00:00
|
|
|
#endif /* __CLUTTER_VERSION_H__ */
|