feat(Core/Apps): add support dynamic lib for EnumUtils (#6120)

This commit is contained in:
Kargatum
2021-06-01 22:58:01 +07:00
committed by GitHub
parent d398c34c61
commit 584b8d908e
3 changed files with 26 additions and 26 deletions

View File

@@ -16,7 +16,7 @@ namespace Acore::Impl::EnumUtilsImpl
|* data for enum 'ColorTypes' in 'AppenderConsole.h' auto-generated *|
\********************************************************************/
template <>
EnumText EnumUtils<ColorTypes>::ToString(ColorTypes value)
AC_API_EXPORT EnumText EnumUtils<ColorTypes>::ToString(ColorTypes value)
{
switch (value)
{
@@ -40,10 +40,10 @@ EnumText EnumUtils<ColorTypes>::ToString(ColorTypes value)
}
template <>
size_t EnumUtils<ColorTypes>::Count() { return 15; }
AC_API_EXPORT size_t EnumUtils<ColorTypes>::Count() { return 15; }
template <>
ColorTypes EnumUtils<ColorTypes>::FromIndex(size_t index)
AC_API_EXPORT ColorTypes EnumUtils<ColorTypes>::FromIndex(size_t index)
{
switch (index)
{
@@ -67,7 +67,7 @@ ColorTypes EnumUtils<ColorTypes>::FromIndex(size_t index)
}
template <>
size_t EnumUtils<ColorTypes>::ToIndex(ColorTypes value)
AC_API_EXPORT size_t EnumUtils<ColorTypes>::ToIndex(ColorTypes value)
{
switch (value)
{