| 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 | |
|---|
| 14 | #ifndef OPENTHREADS_VERSION |
|---|
| 15 | #define OPENTHREADS_VERSION 1 |
|---|
| 16 | |
|---|
| 17 | #include <OpenThreads/Exports> |
|---|
| 18 | |
|---|
| 19 | extern "C" { |
|---|
| 20 | |
|---|
| 21 | #define OPENTHREADS_MAJOR_VERSION 2 |
|---|
| 22 | #define OPENTHREADS_MINOR_VERSION 4 |
|---|
| 23 | #define OPENTHREADS_PATCH_VERSION 0 |
|---|
| 24 | #define OPENTHREADS_SOVERSION 11 |
|---|
| 25 | |
|---|
| 26 | /** OpenThreadsGetVersion() returns the library version number. |
|---|
| 27 | * Numbering convention : OpenThreads-1.0 will return 1.0 from OpenThreadsGetVersion. */ |
|---|
| 28 | extern OPENTHREAD_EXPORT_DIRECTIVE const char* OpenThreadsGetVersion(); |
|---|
| 29 | |
|---|
| 30 | /** The OpenThreadsGetSOVersion() method returns the OpenSceneGraph soversion number. */ |
|---|
| 31 | extern OPENTHREAD_EXPORT_DIRECTIVE const char* OpenThreadsGetSOVersion(); |
|---|
| 32 | |
|---|
| 33 | /** The OpenThreadsGetLibraryName() method returns the library name in human-friendly form. */ |
|---|
| 34 | extern OPENTHREAD_EXPORT_DIRECTIVE const char* OpenThreadsGetLibraryName(); |
|---|
| 35 | |
|---|
| 36 | } |
|---|
| 37 | |
|---|
| 38 | #endif |
|---|