summaryrefslogtreecommitdiffstats
path: root/xbmc/input/KeyboardTranslator.h
blob: 7432037e88e0d40a8a51b627decdb48cdeff1b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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);
};