Code::Blocks
SVN r11506
sdk
configmanager-revision.cpp
Go to the documentation of this file.
1
/*
2
* This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
3
* http://www.gnu.org/licenses/lgpl-3.0.html
4
*
5
* $Revision: 10907 $
6
* $Id: configmanager-revision.cpp 10907 2016-09-25 16:09:48Z fuscated $
7
* $HeadURL: https://svn.code.sf.net/p/codeblocks/code/trunk/src/sdk/configmanager-revision.cpp $
8
*/
9
10
/* ------------------------------------------------------------------------------------------------------------------
11
* Decouple the autorevisioning code, so we don't need to recompile the whole manager each time.
12
* It's bad enough we have to re-link the SDK...
13
*/
14
15
#include "
sdk_precomp.h
"
16
17
#ifndef CB_PRECOMP
18
#include "
configmanager.h
"
19
#include <
wx/string.h
>
20
#endif
21
22
#include "autorevision.h"
23
24
wxString
ConfigManager::GetRevisionString
()
25
{
26
static_assert(wxMinimumVersion<2,8,12>::eval,
"wxWidgets 2.8.12 is required"
);
27
28
return
autorevision::svnRevision;
29
}
30
31
unsigned
int
ConfigManager::GetRevisionNumber
()
32
{
33
return
autorevision::svn_revision;
34
}
35
36
wxString
ConfigManager::GetSvnDate
()
37
{
38
return
autorevision::svnDate;
39
}
40
ConfigManager::GetSvnDate
static wxString GetSvnDate()
Definition:
configmanager-revision.cpp:36
string.h
ConfigManager::GetRevisionNumber
static unsigned int GetRevisionNumber()
Definition:
configmanager-revision.cpp:31
sdk_precomp.h
wxString
ConfigManager::GetRevisionString
static wxString GetRevisionString()
Definition:
configmanager-revision.cpp:24
configmanager.h
Generated by
1.8.13