| 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 <string> |
| 12 |
#include <vector> |
| 13 |
|
| 14 |
namespace KODI |
| 15 |
{ |
| 16 |
namespace ACTION |
| 17 |
{ |
| 18 |
/*! |
| 19 |
* \ingroup action |
| 20 |
*/ |
| 21 |
class CActionTranslator |
| 22 |
{ |
| 23 |
public: |
| 24 |
static void GetActions(std::vector<std::string>& actionList); |
| 25 |
static bool IsAnalog(unsigned int actionId); |
| 26 |
static bool TranslateString(std::string strAction, unsigned int& actionId); |
| 27 |
}; |
| 28 |
} // namespace ACTION |
| 29 |
} // namespace KODI |