diff options
author | jackpoz <giacomopoz@gmail.com> | 2015-08-16 23:27:25 +0200 |
---|---|---|
committer | DDuarte <dnpd.dd@gmail.com> | 2015-08-16 22:45:18 +0100 |
commit | 4617d65131e3726fa5ec0395a9e1bee85d849066 (patch) | |
tree | e05426f3c6b7b195e4d65007bb664f48f85d0dac /src/server/shared/GitRevision.h | |
parent | 6a9fc63e412adf7074c2850320cddf007edc3b28 (diff) |
Merge pull request #15297 from StormBytePP/3.3.5_rename_Revision.h
Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present
(cherry picked from commit 360cc93357d1b51258986e547ac29dddac20159c)
Conflicts:
src/server/authserver/Main.cpp
src/server/database/Updater/DBUpdater.cpp
src/server/game/Entities/Player/Player.cpp
src/server/game/World/World.cpp
src/server/shared/PrecompiledHeaders/sharedPCH.h
src/server/worldserver/Main.cpp
Diffstat (limited to 'src/server/shared/GitRevision.h')
-rw-r--r-- | src/server/shared/GitRevision.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/server/shared/GitRevision.h b/src/server/shared/GitRevision.h new file mode 100644 index 00000000000..a5972c581a0 --- /dev/null +++ b/src/server/shared/GitRevision.h @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2008-2015 TrinityCore <http://www.trinitycore.org/> + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + * more details. + * + * You should have received a copy of the GNU General Public License along + * with this program. If not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef __GITREVISION_H__ +#define __GITREVISION_H__ + +#include <string> + +namespace GitRevision +{ + char const* GetHash(); + char const* GetDate(); + char const* GetBranch(); + char const* GetSourceDirectory(); + char const* GetMySQLExecutable(); + char const* GetFullDatabase(); + char const* GetHotfixesDatabase(); + char const* GetFullVersion(); + char const* GetCompanyNameStr(); + char const* GetLegalCopyrightStr(); + char const* GetFileVersionStr(); + char const* GetProductVersionStr(); +} + +#endif |