xbmc
EventLockHandle.h
1 /*
2  * Copyright (C) 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 PERIPHERALS
12 {
13 class CEventLockHandle;
14 
19 {
20 public:
21  virtual ~IEventLockCallback(void) = default;
22 
23  virtual void ReleaseLock(CEventLockHandle& handle) = 0;
24 };
25 
32 {
33 public:
38 
42  ~CEventLockHandle(void);
43 
44 private:
45  // Construction parameters
46  IEventLockCallback& m_callback;
47 };
48 } // namespace PERIPHERALS
Definition: RetroPlayerInput.h:15
Handle returned by the event scanner to disable event processing.
Definition: EventLockHandle.h:31
Callback implemented by event scanner.
Definition: EventLockHandle.h:18