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"
12 class nsBidiKeyboard
: public nsIBidiKeyboard
{
13 virtual ~nsBidiKeyboard();
17 NS_DECL_NSIBIDIKEYBOARD
21 static void OnLayoutChange();
24 nsresult
SetupBidiKeyboards();
25 bool IsRTLLanguage(HKL aLocale
);
28 bool mHaveBidiKeyboards
;
29 wchar_t mLTRKeyboard
[KL_NAMELENGTH
];
30 wchar_t mRTLKeyboard
[KL_NAMELENGTH
];
31 wchar_t mCurrentLocaleName
[KL_NAMELENGTH
];
34 #endif // __nsBidiKeyboard