diff options
| author | StormBytePP <stormbyte@gmail.com> | 2015-08-16 16:56:11 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2015-08-16 17:50:40 +0200 |
| commit | 6a9fc63e412adf7074c2850320cddf007edc3b28 (patch) | |
| tree | 1fd539b128874dba459afe5f42ab94b84bab5073 /src/server/shared/Revision.h | |
| parent | b9106ee000f3c4955324739117eba86b8e538a3c (diff) | |
Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
(cherry picked from commit 94f69fb1bcef103392ca27074ebb31ef2ebd27fb)
Diffstat (limited to 'src/server/shared/Revision.h')
| -rw-r--r-- | src/server/shared/Revision.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/server/shared/Revision.h b/src/server/shared/Revision.h new file mode 100644 index 00000000000..efca375c4f9 --- /dev/null +++ b/src/server/shared/Revision.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 __REVISION_H__ +#define __REVISION_H__ + +#include <string> + +namespace Revision +{ + 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 |
