From 94f69fb1bcef103392ca27074ebb31ef2ebd27fb Mon Sep 17 00:00:00 2001 From: StormBytePP Date: Sun, 16 Aug 2015 16:56:11 +0200 Subject: Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely --- src/server/shared/Revision.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 src/server/shared/Revision.h (limited to 'src/server/shared/Revision.h') diff --git a/src/server/shared/Revision.h b/src/server/shared/Revision.h new file mode 100644 index 00000000000..6b80eb2ca46 --- /dev/null +++ b/src/server/shared/Revision.h @@ -0,0 +1,39 @@ +/* + * Copyright (C) 2008-2015 TrinityCore + * + * 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 . + */ + +#ifndef __REVISION_H__ +#define __REVISION_H__ + +#include + +namespace Revision +{ + std::string GetPackageName(); + std::string GetHash(); + std::string GetDate(); + std::string GetBranch(); + std::string GetSourceDirectory(); + std::string GetMySQLExecutable(); + std::string GetFullDatabase(); + std::string GetFullVersion(); + std::string GetCompanyNameStr(); + std::string GetLegalCopyrightStr(); + std::string GetFileVersionStr(); + std::string GetProductVersionStr(); +} + +#endif -- cgit v1.2.3