Version 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 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. */
  13. //osgParticle - Copyright (C) 2002 Marco Jez
  14. #ifndef OSGPARTICLE_VERSION
  15. #define OSGPARTICLE_VERSION 1
  16. #include <osgParticle/Export>
  17. extern "C" {
  18. /**
  19. * osgParticleGetVersion() returns the library version number.
  20. * Numbering convention : OpenSceneGraph-1.0 will return 1.0 from osgParticleGetVersion.
  21. *
  22. * This C function can be also used to check for the existence of the OpenSceneGraph
  23. * library using autoconf and its m4 macro AC_CHECK_LIB.
  24. *
  25. * Here is the code to add to your configure.in:
  26. \verbatim
  27. #
  28. # Check for the OpenSceneGraph Particle library
  29. #
  30. AC_CHECK_LIB(osg, osgParticleGetVersion, ,
  31. [AC_MSG_ERROR(OpenSceneGraph Particle library not found. See http://www.openscenegraph.org)],)
  32. \endverbatim
  33. */
  34. OSGPARTICLE_EXPORT const char* osgParticleGetVersion();
  35. /**
  36. * osgParticleGetLibraryName() returns the library name in human friendly form.
  37. */
  38. OSGPARTICLE_EXPORT const char* osgParticleGetLibraryName();
  39. }
  40. #endif