1 /* 2 Copyright (C) 2010-2014 Kristian Duske 3 4 This file is part of TrenchBroom. 5 6 TrenchBroom is free software: you can redistribute it and/or modify 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation, either version 3 of the License, or 9 (at your option) any later version. 10 11 TrenchBroom is distributed in the hope that it will be useful, 12 but WITHOUT ANY WARRANTY; without even the implied warranty of 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 GNU General Public License for more details. 15 16 You should have received a copy of the GNU General Public License 17 along with TrenchBroom. If not, see <http://www.gnu.org/licenses/>. 18 */ 19 20 #include "View/GetVersion.h" 21 #include "Version.h" 22 23 namespace TrenchBroom { 24 namespace View { getBuildVersion()25 wxString getBuildVersion() { 26 wxString result; 27 result << VERSION_STR; 28 return result; 29 } 30 getBuildChannel()31 wxString getBuildChannel() { 32 wxString result; 33 result << BUILD_CHANNEL; 34 return result; 35 } 36 getBuildId()37 wxString getBuildId() { 38 wxString result; 39 result << BUILD_ID; 40 return result; 41 } 42 getBuildType()43 wxString getBuildType() { 44 wxString result; 45 result << BUILD_TYPE; 46 return result; 47 } 48 } 49 } 50 51