diff options
Diffstat (limited to '')
-rw-r--r-- | xbmc/input/actions/ActionTranslator.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/xbmc/input/actions/ActionTranslator.h b/xbmc/input/actions/ActionTranslator.h new file mode 100644 index 0000000..91c146a --- /dev/null +++ b/xbmc/input/actions/ActionTranslator.h @@ -0,0 +1,20 @@ +/* + * 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 <string> +#include <vector> + +class CActionTranslator +{ +public: + static void GetActions(std::vector<std::string>& actionList); + static bool IsAnalog(unsigned int actionId); + static bool TranslateString(std::string strAction, unsigned int& actionId); +}; |