diff options
author | Kargatum <dowlandtop@yandex.com> | 2021-12-02 20:28:58 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 20:28:58 +0700 |
commit | 51adbffae43aaf56e268e1cf2d39057f5c6a17c7 (patch) | |
tree | 082eee3902a339646eaa55a603f1871cc7c4a4ec /src/server/game/Modules/ModuleMgr.h | |
parent | 8668a03e145d6ec43a52e5e2615a35e4db1d3943 (diff) |
feat(Core/Modules): add separated lib for modules (#9281)
Diffstat (limited to 'src/server/game/Modules/ModuleMgr.h')
-rw-r--r-- | src/server/game/Modules/ModuleMgr.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/server/game/Modules/ModuleMgr.h b/src/server/game/Modules/ModuleMgr.h new file mode 100644 index 0000000000..3513dc5deb --- /dev/null +++ b/src/server/game/Modules/ModuleMgr.h @@ -0,0 +1,31 @@ +/* + * This file is part of the AzerothCore Project. See AUTHORS file for Copyright information + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU Affero General Public License as published by the + * Free Software Foundation; either version 3 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 Affero 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 _MODULE_MGR_H_ +#define _MODULE_MGR_H_ + +#include "Define.h" +#include <string_view> +#include <vector> + +namespace Acore::Module +{ + AC_COMMON_API void SetEnableModulesList(std::string_view modulesList); + AC_COMMON_API std::vector<std::string_view> GetEnableModulesList(); +} + +#endif |