BALL 1.5.0
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
14#endif
15
16#ifndef BALL_COMMON_GLOBAL_H
17# include <BALL/COMMON/global.h>
18#endif
19
20
21namespace BALL
22{
23
33 {
34 public:
35
38 enum Type
39 {
45 PATCHLVL, // this can't be PATCHLEVEL due to a collision with historic Python versions (< 2.2).
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
UNKNOWN
Definition: result.h:27
Definition: constants.h:13
static const char * RELEASE_WHAT_STRING
Definition: version.h:73
static const char * getVersion()
static Type getType()
static const char * RELEASE_DATE_AND_TIME
Definition: version.h:72
static int getMinorRevision()
static int getMajorRevision()
#define BALL_EXPORT
Definition: COMMON/global.h:50