1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this
4  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 
6 #ifndef mozilla_widget_WindowsUIUtils_h__
7 #define mozilla_widget_WindowsUIUtils_h__
8 
9 #include "nsIWindowsUIUtils.h"
10 
11 enum TabletModeState { eTabletModeUnknown = 0, eTabletModeOff, eTabletModeOn };
12 
13 class WindowsUIUtils final : public nsIWindowsUIUtils {
14  public:
15   NS_DECL_ISUPPORTS
16   NS_DECL_NSIWINDOWSUIUTILS
17 
18   WindowsUIUtils();
19 
20  protected:
21   ~WindowsUIUtils();
22 
23   TabletModeState mInTabletMode;
24 };
25 
26 #endif  // mozilla_widget_WindowsUIUtils_h__
27