Debian Codegraph @

xbmc/games/addons/input/GameClientHardware.cpp

raw
1 /*
2 * Copyright (C) 2015-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 #include "GameClientHardware.h"
10
11 #include "games/addons/GameClient.h"
12 #include "utils/log.h"
13
14 using namespace KODI;
15 using namespace GAME;
16
17 CGameClientHardware::CGameClientHardware(CGameClient& gameClient) : m_gameClient(gameClient)
18 {
19 }
20
21 void CGameClientHardware::OnResetButton()
22 {
23 CLog::Log(LOGDEBUG, "{}: Sending hardware reset", m_gameClient.ID());
24 m_gameClient.Reset();
25 }