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
3
4
#pragma once
5
#include <
ice/i18n_reference.hxx
>
6
#include <fmt/format.h>
7
8
namespace
ice
9
{
10
11
struct
I18NString
;
12
13
class
I18NResolver
14
{
15
public
:
16
virtual
~I18NResolver
() noexcept = default;
17
18
virtual auto
resolve
(
ice
::
I18NReference
key) const noexcept ->
ice
::
String
= 0;
19
virtual auto
resolve
(
ice
::
I18NReference
key, fmt::format_args const& args) const noexcept ->
ice
::
String
= 0;
20
virtual
void
resolve
(
ice
::
I18NString
& inout_text,
ice
::
I18NReference
const& ref) const noexcept { }
21
};
22
23
}
// namespace ice
ice::I18NReference
Definition
i18n_reference.hxx:12
ice::I18NResolver
Definition
i18n_resolver.hxx:14
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
Root namespace for all APIs part of the IceShard engine project.
Definition
array.hxx:12
ice::String
ice::BasicString< char > String
Definition
string.hxx:82
ice::I18NString
Definition
i18n_string.hxx:12
Generated by
1.18.0