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