1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim:set ts=2 sts=2 sw=2 et cin: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef mozilla_widget_InputDeviceUtils_h__
8 #define mozilla_widget_InputDeviceUtils_h__
15 class InputDeviceUtils
{
17 static HDEVNOTIFY
RegisterNotification(HWND aHwnd
);
18 static void UnregisterNotification(HDEVNOTIFY aHandle
);
20 // Returns the number of mouse type devices connected to this system.
21 static DWORD
CountMouseDevices();
25 } // namespace mozilla
26 #endif // mozilla_widget_InputDeviceUtils_h__