plebble
vcs.h
Go to the documentation of this file.
1
/*
2
-------------------------------------------------------------------------------
3
PLEBBLE
4
-------------------------------------------------------------------------------
5
Copyright (C) 2019-2020 KATLAS Technology. (http://katlastechnology.com)
6
Copyright (C) 2017-2020 Marcos Mayorga. (mm@mm-studios.com)
7
8
This file is part of our Plebble(R) Platform.
9
10
The code below cannot be copied, used for any purpose other than the one
11
agreed and/or distributed without the express permission of
12
KATLAS Technology.
13
-------------------------------------------------------------------------------
14
15
16
*/
17
#ifndef USGOV_a3139e98a893e563983d09c537d27ef0d7266a85cd82c689ec0d454973938f91
18
#define USGOV_a3139e98a893e563983d09c537d27ef0d7266a85cd82c689ec0d454973938f91
19
20
#include <string>
21
#include <sstream>
22
23
namespace
us
{
namespace
vcs
{
24
using namespace
std
;
25
26
extern
string
devjob
;
27
extern
string
devjobtag
;
28
extern
string
brand
;
29
extern
string
branch
;
30
extern
string
codehash
;
31
extern
string
cfghash
;
32
extern
string
hashname
;
33
extern
string
version_name
;
34
extern
string
build_date
;
35
36
static
inline
void
version
(ostream& os) {
37
os <<
version_name
<<
' '
<<
codehash
<<
' '
<<
build_date
;
38
}
39
40
static
inline
void
name_date
(ostream& os) {
41
os <<
version_name
<<
' '
<<
build_date
;
42
}
43
44
static
string
version
() {
45
ostringstream os;
46
version
(os);
47
return
os.str();
48
}
49
50
static
string
name_date
() {
51
ostringstream os;
52
name_date
(os);
53
return
os.str();
54
}
55
56
}}
57
58
#endif
59
60
us::vcs
Definition:
vcs.h:23
vcs.h
us.vcs.name_date
static String name_date()
Definition:
vcs.java:43
us
Definition:
daemon.h:22
us.vcs::codehash
string codehash
Definition:
vcs.h:30
us.vcs::branch
string branch
Definition:
vcs.h:29
us.vcs::version_name
string version_name
Definition:
vcs.h:33
us.vcs.version
static String version()
Definition:
vcs.java:39
us.vcs::build_date
string build_date
Definition:
vcs.h:34
us.vcs::cfghash
string cfghash
Definition:
vcs.h:31
us.vcs::devjob
string devjob
Definition:
vcs.h:26
us.vcs
Definition:
vcs.java:20
std
Definition:
app.h:380
us.vcs::brand
string brand
Definition:
vcs.h:28
us.vcs::hashname
string hashname
Definition:
vcs.h:32
us.vcs::devjobtag
string devjobtag
Definition:
vcs.h:27
gov
vcs.h
Generated by
1.8.20