[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / windowing / osx / WinEventsOSX.h
blobc76e196812f7dff6c4bec6d6c461e9c20505fc1b
1 /*
2 * Copyright (C) 2011-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include "threads/Thread.h"
12 #include "windowing/WinEvents.h"
13 #include "windowing/XBMC_events.h"
15 #include <memory>
17 struct CWinEventsOSXImplWrapper;
18 @class NSEvent;
20 class CWinEventsOSX : public IWinEvents, public CThread
22 public:
23 CWinEventsOSX();
24 ~CWinEventsOSX();
26 void MessagePush(XBMC_Event* newEvent);
27 bool MessagePump();
28 size_t GetQueueSize();
30 void enableInputEvents();
31 void disableInputEvents();
33 void signalMouseEntered();
34 void signalMouseExited();
35 void SendInputEvent(NSEvent* nsEvent);
37 private:
38 std::unique_ptr<CWinEventsOSXImplWrapper> m_eventsImplWrapper;