Debian Codegraph @

xbmc/windowing/windows/WinEventsWin32.h

raw
1 /*
2 * Copyright (C) 2005-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 #include "input/touch/TouchTypes.h"
12 #include "windowing/WinEvents.h"
13
14 class CGenericTouchSwipeDetector;
15
16 class CWinEventsWin32 : public IWinEvents
17 {
18 public:
19 bool MessagePump() override;
20 static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
21
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);
27
28 static int m_originalZoomDistance;
29 static Pointer m_touchPointer;
30 static CGenericTouchSwipeDetector *m_touchSwipeDetector;
31 };
32