blob: 0805bb5c8e4aad237cf1293172b69184635bcad3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
/*
* File: version.cc
* Summary: Version (and revision) functionality.
* Written by: Steven Noonan
*/
#include "AppHdr.h"
#include "build.h"
namespace Version
{
std::string Short()
{
return std::string(CRAWL_VERSION_TAG);
}
std::string Long()
{
return std::string(CRAWL_VERSION_LONG);
}
int Major()
{
return CRAWL_VERSION_MAJOR;
}
int Minor()
{
return CRAWL_VERSION_MINOR;
}
int Revision()
{
return CRAWL_VERSION_REVISION;
}
int Build()
{
return CRAWL_VERSION_BUILD;
}
Class ReleaseType()
{
return CRAWL_VERSION_PREREL_TYPE;
}
int ReleaseID()
{
return CRAWL_VERSION_PREREL_NUM;
}
}
|