Merge pull request #24470 from fuzzard/release_20.3
[xbmc.git] / xbmc / input / IButtonMapper.h
blobe535df1c90a93c5f793f76df5a389006b3f71a1e
1 /*
2 * Copyright (C) 2017-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 class TiXmlNode;
13 /*!
14 * \brief Interface for classes that can map buttons to Kodi actions
16 class IButtonMapper
18 public:
19 virtual ~IButtonMapper() = default;
21 virtual void MapActions(int windowId, const TiXmlNode* pDevice) = 0;
23 virtual void Clear() = 0;