1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
3 * This library is open source and may be redistributed and/or modified under
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version. The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * OpenSceneGraph Public License for more details.
14#ifndef OSGMANIPULATOR_VERSION
15#define OSGMANIPULATOR_VERSION 1
17#include <osgManipulator/Export>
23 * osgManipulatorGetVersion() returns the library version number.
24 * Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgManipulatorGetVersion.
26 * This C function can be also used to check for the existence of the OpenSceneGraph
27 * library using autoconf and its m4 macro AC_CHECK_LIB.
29 * Here is the code to add to your configure.in:
32 # Check for the OpenSceneGraph (OSG) Manipulator library
34 AC_CHECK_LIB(osg, osgManipulatorGetVersion, ,
35 [AC_MSG_ERROR(OpenSceneGraph Manipulator library not found. See http://www.openscenegraph.org)],)
38extern OSGMANIPULATOR_EXPORT const char* osgManipulatorGetVersion();
41 * osgManipulatorGetLibraryName() returns the library name in human friendly form.
43extern OSGMANIPULATOR_EXPORT const char* osgManipulatorGetLibraryName();