Add GitRevision

GitRevision as in TrinityCore
This commit is contained in:
Kargatum
2018-06-05 19:39:36 +07:00
committed by Barbz
parent 52fa2c2967
commit 7329ad4790
9 changed files with 95 additions and 47 deletions

23
src/common/GitRevision.h Normal file
View File

@@ -0,0 +1,23 @@
/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-GPL2
* Copyright (C) 2008-2018 TrinityCore <http://www.trinitycore.org/>
*/
#ifndef __GITREVISION_H__
#define __GITREVISION_H__
#include "Define.h"
namespace GitRevision
{
char const* GetHash();
char const* GetDate();
char const* GetBranch();
char const* GetFullVersion();
char const* GetCompanyNameStr();
char const* GetLegalCopyrightStr();
char const* GetFileVersionStr();
char const* GetProductVersionStr();
}
#endif