feat(Core/Config): rework config and delete ACE inherited (#4608)

This commit is contained in:
Kargatum
2021-02-28 20:37:03 +07:00
committed by GitHub
parent c2f274e06d
commit dbefa17a53
36 changed files with 1340 additions and 816 deletions

View File

@@ -1,13 +1,14 @@
/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU AGPL v3 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-AGPL3
* Copyright (C) 2021+ WarheadCore <https://github.com/WarheadCore>
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
*/
#ifndef __STRING_FORMAT_H__
#define __STRING_FORMAT_H__
#ifndef _STRING_FORMAT_H_
#define _STRING_FORMAT_H_
#include "fmt/printf.h"
#include <fmt/printf.h>
namespace acore
{
@@ -39,4 +40,10 @@ namespace acore
}
}
namespace acore::String
{
std::string Trim(std::string const& str, std::string_view whitespace = " \t");
std::string Reduce(std::string const& str, std::string_view fill = " ", std::string_view whitespace = " \t");
}
#endif