BALL
1.5.0
include
BALL
COMMON
version.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
5
#ifndef BALL_COMMON_VERSION_H
6
#define BALL_COMMON_VERSION_H
7
8
#ifndef BALL_CONFIG_CONFIG_H
9
# include <BALL/CONFIG/config.h>
10
#endif
11
12
#ifndef BALL_COMMON_EXCEPTION_H
13
# include <
BALL/COMMON/exception.h
>
14
#endif
15
16
#ifndef BALL_COMMON_GLOBAL_H
17
# include <
BALL/COMMON/global.h
>
18
#endif
19
20
21
namespace
BALL
22
{
23
32
class
BALL_EXPORT
VersionInfo
33
{
34
public
:
35
38
enum
Type
39
{
40
STABLE
,
41
ALPHA
,
42
BETA
,
43
NONPUBLIC
,
44
PRERELEASE
,
45
PATCHLVL
,
// this can't be PATCHLEVEL due to a collision with historic Python versions (< 2.2).
46
UNKNOWN
47
};
48
51
static
const
char
* getVersion();
52
57
static
int
getMajorRevision();
58
63
static
int
getMinorRevision();
64
68
static
Type getType() ;
69
70
71
protected
:
72
static
const
char
*
RELEASE_DATE_AND_TIME
;
73
static
const
char
*
RELEASE_WHAT_STRING
;
74
};
75
76
}
77
78
#endif // BALL_COMMON_VERSION_H
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
BALL::VersionInfo::PRERELEASE
Definition:
version.h:44
BALL::VersionInfo::RELEASE_WHAT_STRING
static const char * RELEASE_WHAT_STRING
Definition:
version.h:73
BALL::VersionInfo::STABLE
Definition:
version.h:40
BALL
Definition:
constants.h:12
exception.h
BALL::VersionInfo
Definition:
version.h:32
BALL::VersionInfo::NONPUBLIC
Definition:
version.h:43
UNKNOWN
UNKNOWN
Definition:
result.h:27
BALL::VersionInfo::Type
Type
Definition:
version.h:38
global.h
BALL::VersionInfo::PATCHLVL
Definition:
version.h:45
BALL::VersionInfo::ALPHA
Definition:
version.h:41
BALL::VersionInfo::BETA
Definition:
version.h:42
BALL::VersionInfo::RELEASE_DATE_AND_TIME
static const char * RELEASE_DATE_AND_TIME
Definition:
version.h:72
Generated by
1.8.16