class CWinEventsBase
{
-public:
- static PHANDLE_EVENT_FUNC m_pEventFunc;
};
#if defined(TARGET_WINDOWS)
#include "utils/log.h"
#include "powermanagement/PowerManager.h"
-PHANDLE_EVENT_FUNC CWinEventsBase::m_pEventFunc = NULL;
-
bool CWinEventsLinux::m_initialized = false;
CLinuxInputDevices CWinEventsLinux::m_devices;
#include "utils/log.h"
#endif
-PHANDLE_EVENT_FUNC CWinEventsBase::m_pEventFunc = NULL;
-
#if defined(_LINUX) && !defined(__APPLE__)
// The following chunk of code is Linux specific. For keys that have
// with keysym.sym set to zero it checks the scan code, and sets the sym
static CCriticalSection g_inputCond;
-PHANDLE_EVENT_FUNC CWinEventsBase::m_pEventFunc = NULL;
-
static std::list<XBMC_Event> events;
void CWinEventsAndroid::DeInit()
static CCriticalSection g_inputCond;
-PHANDLE_EVENT_FUNC CWinEventsBase::m_pEventFunc = NULL;
-
static std::list<XBMC_Event> events;
void CWinEventsIOS::DeInit()
int XBMC_TranslateUNICODE = 1;
-PHANDLE_EVENT_FUNC CWinEventsBase::m_pEventFunc = NULL;
+PHANDLE_EVENT_FUNC CWinEventsWin32::m_pEventFunc = NULL;
int CWinEventsWin32::m_lastGesturePosX = 0;
int CWinEventsWin32::m_lastGesturePosY = 0;
public:
static bool MessagePump();
static LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
+ static PHANDLE_EVENT_FUNC m_pEventFunc;
private:
static void RegisterDeviceInterfaceToHwnd(GUID InterfaceClassGuid, HWND hWnd, HDEVNOTIFY *hDeviceNotify);
static void WindowFromScreenCoords(HWND hWnd, POINT *point);