summaryrefslogtreecommitdiffstats
path: root/xbmc/utils/ILocalizer.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/utils/ILocalizer.h')
-rw-r--r--xbmc/utils/ILocalizer.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/xbmc/utils/ILocalizer.h b/xbmc/utils/ILocalizer.h
new file mode 100644
index 0000000..a81f7ce
--- /dev/null
+++ b/xbmc/utils/ILocalizer.h
@@ -0,0 +1,23 @@
1/*
2 * Copyright (C) 2017-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
8
9#pragma once
10
11#include <cstdint>
12#include <string>
13
14class ILocalizer
15{
16public:
17 virtual ~ILocalizer() = default;
18
19 virtual std::string Localize(std::uint32_t code) const = 0;
20
21protected:
22 ILocalizer() = default;
23};