[Windows] Fix driver version detection of AMD RDNA+ GPU on Windows 10
[xbmc.git] / xbmc / windowing / windows / WinEventsWin32.h
blob466c755801479f2f90f85aa79bd57c767c3bc381
1 /*
2 * Copyright (C) 2005-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 "input/touch/TouchTypes.h"
12 #include "windowing/WinEvents.h"
14 class CGenericTouchSwipeDetector;
16 class CWinEventsWin32 : public IWinEvents
18 public:
19 bool MessagePump() override;
20 static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
22 private:
23 static void RegisterDeviceInterfaceToHwnd(GUID InterfaceClassGuid, HWND hWnd, HDEVNOTIFY *hDeviceNotify);
24 static void WindowFromScreenCoords(HWND hWnd, POINT *point);
25 static void OnGestureNotify(HWND hWnd, LPARAM lParam);
26 static void OnGesture(HWND hWnd, LPARAM lParam);
28 static int m_originalZoomDistance;
29 static Pointer m_touchPointer;
30 static CGenericTouchSwipeDetector *m_touchSwipeDetector;