diff options
Diffstat (limited to 'xbmc/input/KeyboardTranslator.h')
-rw-r--r-- | xbmc/input/KeyboardTranslator.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/xbmc/input/KeyboardTranslator.h b/xbmc/input/KeyboardTranslator.h new file mode 100644 index 0000000..7432037 --- /dev/null +++ b/xbmc/input/KeyboardTranslator.h @@ -0,0 +1,21 @@ +/* + * Copyright (C) 2017-2018 Team Kodi + * This file is part of Kodi - https://kodi.tv + * + * SPDX-License-Identifier: GPL-2.0-or-later + * See LICENSES/README.md for more information. + */ + +#pragma once + +#include <stdint.h> +#include <string> + +class TiXmlElement; + +class CKeyboardTranslator +{ +public: + static uint32_t TranslateButton(const TiXmlElement* pButton); + static uint32_t TranslateString(const std::string& szButton); +}; |