root/OpenSceneGraph/trunk/src/osgPlugins/geo/geoVersion.h @ 13041

Revision 13041, 2.6 kB (checked in by robert, 2 years ago)

Ran script to remove trailing spaces and tabs

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1/*===========================================================================*\
2
3        NAME:                   geoVersion.h
4
5        DESCRIPTION:    Compile Time Library Version Info
6
7        AUTHOR:                 Andy Bushnell
8
9        -------------------------------------------------------------------------
10
11
12PROPRIETARY RIGHTS NOTICE:
13
14        This software contains proprietary information and trade secrets of Carbon
15        Graphics LLC. No part or all of this software may be reproduced in any
16        form, without the written permission of Carbon Graphics LLC.
17
18        This software file can only be used in conjunction with the Geo SDK &
19        libraries to create Plugin modules for the Geo 3D Modeling & Animation
20        package.
21
22COPYRIGHT NOTICE:
23
24        Copyright © 1998-2001 Carbon Graphics Llc, ALL RIGHTS RESERVED
25
26\*===========================================================================*/
27
28
29
30#ifndef __GEO_VERSION_H__
31#define __GEO_VERSION_H__
32
33
34#include "geoCore.h"
35
36
37///////////////////////////////////////////////////////////////////////////////
38// Constants for the GEO_LIB_LEVEL_VERSION
39///////////////////////////////////////////////////////////////////////////////
40
41/** Signifies a pre-alpha version of the software */
42const unsigned char             GEO_DEV_RELEASE                 = 10;
43
44/** Signifies an alpha version of the software */
45const unsigned char             GEO_ALPHA_RELEASE               = 11;
46
47/** Signifies an beta version of the software */
48const unsigned char             GEO_BETA_RELEASE                = 12;
49
50/** Signifies a late beta version of the software - potential release candidate, depending on user feedback */
51const unsigned char             GEO_RELEASE_CANDIDATE   = 13;
52
53/** Signifies an full version of the software */
54const unsigned char             GEO_FULL_RELEASE                = 14;
55
56
57///////////////////////////////////////////////////////////////////////////////
58// Constants to identify the Geo version
59///////////////////////////////////////////////////////////////////////////////
60
61/** this constant specifies the Geo Major release number */
62#define                                 GEO_LIB_MAJOR_VERSION           1
63
64/** this constant specifies the Geo Minor release number */
65#define                                 GEO_LIB_MINOR_VERSION           2
66
67/** This constant defines the level of type of release - ie alpha,beta */
68#define                                 GEO_LIB_LEVEL_VERSION           GEO_FULL_RELEASE
69
70/** This constant defines the number of releases made at a particular level */
71#define                                 GEO_LIB_RELEASE_VERSION         2
72
73#define                                 GEO_VERSION                                     ((GEO_LIB_MAJOR_VERSION*1000)+(GEO_LIB_MINOR_VERSION*100)+(GEO_LIB_LEVEL_VERSION*10)+(GEO_LIB_RELEASE_VERSION))
74
75// returns the GEO_VERSION value of the running Geo application. Users can use
76// this to control code calls in the plugin.
77extern GEO_DB_API int   GetGeoLibraryVersion(void);
78
79
80
81#endif // __GEO_VERSION_H__
Note: See TracBrowser for help on using the browser.