Version 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* -*-c++-*- OpenThreads library, Copyright (C) 2002 - 2007 The Open Thread Group
  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. #ifndef OPENTHREADS_VERSION
  14. #define OPENTHREADS_VERSION 1
  15. #include <OpenThreads/Exports>
  16. extern "C" {
  17. #define OPENTHREADS_MAJOR_VERSION 3
  18. #define OPENTHREADS_MINOR_VERSION 3
  19. #define OPENTHREADS_PATCH_VERSION 1
  20. #define OPENTHREADS_SOVERSION 21
  21. /** OpenThreadsGetVersion() returns the library version number.
  22. * Numbering convention : OpenThreads-1.0 will return 1.0 from OpenThreadsGetVersion. */
  23. extern OPENTHREAD_EXPORT_DIRECTIVE const char* OpenThreadsGetVersion();
  24. /** The OpenThreadsGetSOVersion() method returns the OpenSceneGraph soversion number. */
  25. extern OPENTHREAD_EXPORT_DIRECTIVE const char* OpenThreadsGetSOVersion();
  26. /** The OpenThreadsGetLibraryName() method returns the library name in human-friendly form. */
  27. extern OPENTHREAD_EXPORT_DIRECTIVE const char* OpenThreadsGetLibraryName();
  28. }
  29. #endif