root/OpenSceneGraph/trunk/include/osgUtil/Version @ 1529

Revision 1529, 1.5 kB (checked in by robert, 11 years ago)

Added new Copyright/License notice to header and source files.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
RevLine 
[1529]1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2003 Robert Osfield
2 *
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.
7 *
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.
12*/
[51]13
[2]14#ifndef OSGUTIL_VERSION
15#define OSGUTIL_VERSION 1
16
17#include <osgUtil/Export>
18
19
20extern "C" {
21
22/**
23 * getVersion_osgUtil() returns the library version number.
[31]24 * Numbering convention : osg_src-0.8-31 will return 0.8.31 from getVersion_osgUtil.
[2]25 *
[31]26 * This C function can be also used to check for the existence of the OpenSceneGraph
[2]27 * library using autoconf and its m4 macro AC_CHECK_LIB.
28 *
29 * Here is the code to add to your configure.in:
30 \verbatim
31 #
32 # Check for the OpenSceneGraph (OSG) utility library
33 #
34 AC_CHECK_LIB(osg, osgUtilGetVersion, ,
35    [AC_MSG_ERROR(OpenSceneGraph utility library not found. See http://www.openscenegraph.org)],)
36 \endverbatim
37*/
38extern OSGUTIL_EXPORT const char* osgUtilGetVersion();
39
40/**
41 * getLibraryName_osgUtil() returns the library name in human friendly form.
42*/
43extern OSGUTIL_EXPORT const char* osgUtilGetLibraryName();
44
[349]45}
[2]46
47#endif
48
Note: See TracBrowser for help on using the browser.