diff options
author | StormBytePP <stormbyte@gmail.com> | 2015-08-16 23:08:01 +0200 |
---|---|---|
committer | StormBytePP <stormbyte@gmail.com> | 2015-08-16 23:08:01 +0200 |
commit | 0cc3d883e11daf6e2da1fd938c15a6cd060013bc (patch) | |
tree | 6a8e22fb12b7d4150323ccd8cdef7ea82588bbb7 /src/server/shared/GitRevision.h | |
parent | 2f92a2f58e171bbfa6dc06d3b2663cbf384a7d38 (diff) |
Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present
Diffstat (limited to 'src/server/shared/GitRevision.h')
-rw-r--r-- | src/server/shared/GitRevision.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/server/shared/GitRevision.h b/src/server/shared/GitRevision.h new file mode 100644 index 00000000000..ce941170083 --- /dev/null +++ b/src/server/shared/GitRevision.h @@ -0,0 +1,38 @@ +/* + * 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* GetFullVersion(); + char const* GetCompanyNameStr(); + char const* GetLegalCopyrightStr(); + char const* GetFileVersionStr(); + char const* GetProductVersionStr(); +} + +#endif |