xbmc
IButtonMapper.h
1 /*
2  * Copyright (C) 2017-2018 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 namespace tinyxml2
12 {
13 class XMLNode;
14 }
15 
20 {
21 public:
22  virtual ~IButtonMapper() = default;
23 
24  virtual void MapActions(int windowId, const tinyxml2::XMLNode* pDevice) = 0;
25 
26  virtual void Clear() = 0;
27 };
Interface for classes that can map buttons to Kodi actions.
Definition: IButtonMapper.h:19
Definition: SkinTimerManager.h:18