IceShard
1
A personal game engine project, with development focused on 2D/2.5D games.
Toggle main menu visibility
Loading...
Searching...
No Matches
i18n
public
ice
i18n_resolver.hxx
Go to the documentation of this file.
1
#pragma once
2
#include <
ice/i18n_reference.hxx
>
3
#include <fmt/format.h>
4
5
namespace
ice
6
{
7
8
struct
I18NString
;
9
10
class
I18NResolver
11
{
12
public
:
13
virtual
~I18NResolver
() noexcept = default;
14
15
virtual auto
resolve
(
ice
::
I18NReference
key) const noexcept ->
ice
::
String
= 0;
16
virtual auto
resolve
(
ice
::
I18NReference
key, fmt::format_args const& args) const noexcept ->
ice
::
String
= 0;
17
virtual
void
resolve
(
ice
::
I18NString
& inout_text,
ice
::
I18NReference
const& ref) const noexcept { }
18
};
19
20
}
// namespace ice
ice::I18NReference
Definition
i18n_reference.hxx:9
ice::I18NResolver
Definition
i18n_resolver.hxx:11
ice::I18NResolver::resolve
virtual auto resolve(ice::I18NReference key) const noexcept -> ice::String=0
ice::I18NResolver::~I18NResolver
virtual ~I18NResolver() noexcept=default
i18n_reference.hxx
ice
SPDX-License-Identifier: MIT.
Definition
array.hxx:12
ice::String
ice::BasicString< char > String
Definition
string.hxx:82
ice::I18NString
Definition
i18n_string.hxx:9
Generated by
1.18.0