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 class TiXmlNode;
12 
17 {
18 public:
19  virtual ~IButtonMapper() = default;
20 
21  virtual void MapActions(int windowId, const TiXmlNode* pDevice) = 0;
22 
23  virtual void Clear() = 0;
24 };
Interface for classes that can map buttons to Kodi actions.
Definition: IButtonMapper.h:16