Debian Codegraph @

xbmc/input/hardware/IHardwareInput.h

raw
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
13 namespace KODI
14 {
15 namespace HARDWARE
16 {
17 /*!
18 * \ingroup hardware
19 * \brief Handles events for hardware such as reset buttons on a game console
20 */
21 class IHardwareInput
22 {
23 public:
24 virtual ~IHardwareInput() = default;
25
26 /*!
27 * \brief A hardware reset button has been pressed
28 */
29 virtual void OnResetButton() = 0;
30 };
31 } // namespace HARDWARE
32 } // namespace KODI