|
1 | 1 | // Copyright (c) 2009-2014 The Bitcoin developers
|
2 |
| -// Distributed under the MIT/X11 software license, see the accompanying |
| 2 | +// Distributed under the MIT software license, see the accompanying |
3 | 3 | // file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
4 | 4 |
|
5 | 5 | #ifndef CLIENTVERSION_H
|
|
8 | 8 | #if defined(HAVE_CONFIG_H)
|
9 | 9 | #include "config/bitcoin-config.h"
|
10 | 10 | #else
|
11 |
| -// |
12 |
| -// client versioning and copyright year |
13 |
| -// |
14 | 11 |
|
15 |
| -// These need to be macros, as version.cpp's and bitcoin*-res.rc's voodoo requires it |
| 12 | +/** |
| 13 | + * client versioning and copyright year |
| 14 | + */ |
| 15 | + |
| 16 | +//! These need to be macros, as clientversion.cpp's and bitcoin*-res.rc's voodoo requires it |
16 | 17 | #define CLIENT_VERSION_MAJOR 0
|
17 | 18 | #define CLIENT_VERSION_MINOR 9
|
18 | 19 | #define CLIENT_VERSION_REVISION 99
|
19 | 20 | #define CLIENT_VERSION_BUILD 0
|
20 | 21 |
|
21 |
| -// Set to true for release, false for prerelease or test build |
| 22 | +//! Set to true for release, false for prerelease or test build |
22 | 23 | #define CLIENT_VERSION_IS_RELEASE false
|
23 | 24 |
|
24 |
| -// Copyright year (2009-this) |
25 |
| -// Todo: update this when changing our copyright comments in the source |
| 25 | +/** |
| 26 | + * Copyright year (2009-this) |
| 27 | + * Todo: update this when changing our copyright comments in the source |
| 28 | + */ |
26 | 29 | #define COPYRIGHT_YEAR 2014
|
27 | 30 |
|
28 | 31 | #endif //HAVE_CONFIG_H
|
29 | 32 |
|
30 |
| -// Converts the parameter X to a string after macro replacement on X has been performed. |
31 |
| -// Don't merge these into one macro! |
| 33 | +/** |
| 34 | + * Converts the parameter X to a string after macro replacement on X has been performed. |
| 35 | + * Don't merge these into one macro! |
| 36 | + */ |
32 | 37 | #define STRINGIZE(X) DO_STRINGIZE(X)
|
33 | 38 | #define DO_STRINGIZE(X) #X
|
34 | 39 |
|
35 |
| -// Copyright string used in Windows .rc files |
| 40 | +//! Copyright string used in Windows .rc files |
36 | 41 | #define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core Developers"
|
37 | 42 |
|
38 |
| -/* |
39 |
| - bitcoind-res.rc includes this file, but it cannot cope with real c++ code. |
40 |
| - WINDRES_PREPROC is defined to indicate that its pre-processor is running. |
41 |
| - Anything other than a define should be guarded below. |
42 |
| -*/ |
| 43 | +/** |
| 44 | + * bitcoind-res.rc includes this file, but it cannot cope with real c++ code. |
| 45 | + * WINDRES_PREPROC is defined to indicate that its pre-processor is running. |
| 46 | + * Anything other than a define should be guarded below. |
| 47 | + */ |
43 | 48 |
|
44 | 49 | #if !defined(WINDRES_PREPROC)
|
45 | 50 |
|
|
0 commit comments