Debian Codegraph @

xbmc/input/keymaps/keyboard/KeyboardTranslator.h

raw
1 /*
2 * Copyright (C) 2017-2024 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 <stdint.h>
12 #include <string>
13
14 namespace tinyxml2
15 {
16 class XMLElement;
17 }
18
19 namespace KODI
20 {
21 namespace KEYMAP
22 {
23 /*!
24 * \ingroup keymap
25 */
26 class CKeyboardTranslator
27 {
28 public:
29 static uint32_t TranslateButton(const tinyxml2::XMLElement* pButton);
30 static uint32_t TranslateString(const std::string& szButton);
31 };
32 } // namespace KEYMAP
33 } // namespace KODI