kodi
IKeyMapper.h
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 namespace tinyxml2
12 {
13 class XMLNode;
14 }
15 
16 namespace KODI
17 {
18 namespace KEYMAP
19 {
26 {
27 public:
28  virtual ~IKeyMapper() = default;
29 
30  virtual void MapActions(int windowId, const tinyxml2::XMLNode* pDevice) = 0;
31 
32  virtual void Clear() = 0;
33 };
34 } // namespace KEYMAP
35 } // namespace KODI
Definition: SkinTimerManager.h:18
Interface for classes that can map buttons to Kodi actions.
Definition: IKeyMapper.h:25
Definition: AudioDecoder.h:18