Bug 1799258 - Fix constexpr issue on base toolchain builds. r=gfx-reviewers,lsalzman
[gecko.git] / widget / windows / nsBidiKeyboard.h
blob584d4d2dee39f75f89e2a0cc974260a32fdf4e1b
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
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 __nsBidiKeyboard
8 #define __nsBidiKeyboard
9 #include "nsIBidiKeyboard.h"
10 #include <windows.h>
12 class nsBidiKeyboard : public nsIBidiKeyboard {
13 virtual ~nsBidiKeyboard();
15 public:
16 NS_DECL_ISUPPORTS
17 NS_DECL_NSIBIDIKEYBOARD
19 nsBidiKeyboard();
21 static void OnLayoutChange();
23 protected:
24 nsresult SetupBidiKeyboards();
25 bool IsRTLLanguage(HKL aLocale);
27 bool mInitialized;
28 bool mHaveBidiKeyboards;
29 wchar_t mLTRKeyboard[KL_NAMELENGTH];
30 wchar_t mRTLKeyboard[KL_NAMELENGTH];
31 wchar_t mCurrentLocaleName[KL_NAMELENGTH];
34 #endif // __nsBidiKeyboard