IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
i18n_resolver.hxx
Go to the documentation of this file.
1
3
4#pragma once
6#include <fmt/format.h>
7
8namespace ice
9{
10
11 struct I18NString;
12
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
Definition i18n_reference.hxx:12
Definition i18n_resolver.hxx:14
virtual auto resolve(ice::I18NReference key) const noexcept -> ice::String=0
virtual ~I18NResolver() noexcept=default
Root namespace for all APIs part of the IceShard engine project.
Definition array.hxx:12
ice::BasicString< char > String
Definition string.hxx:82
Definition i18n_string.hxx:12