xbmc
GameClientCallbacks.h
1 /*
2  * Copyright (C) 2016-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 KODI
12 {
13 namespace GAME
14 {
21 {
22 public:
23  virtual ~IGameInputCallback() = default;
24 
30  virtual bool AcceptsInput() const = 0;
31 
35  virtual void PollInput() = 0;
36 };
37 } // namespace GAME
38 } // namespace KODI
Input callbacks.
Definition: GameClientCallbacks.h:20
virtual bool AcceptsInput() const =0
Return true if the input source accepts input.
Controller configuration window.
Definition: AudioDecoder.h:18
virtual void PollInput()=0
Poll the input source for input.