michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef __nsBidiKeyboard michael@0: #define __nsBidiKeyboard michael@0: #include "nsIBidiKeyboard.h" michael@0: #include michael@0: michael@0: class nsBidiKeyboard : public nsIBidiKeyboard michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSIBIDIKEYBOARD michael@0: michael@0: nsBidiKeyboard(); michael@0: virtual ~nsBidiKeyboard(); michael@0: michael@0: protected: michael@0: michael@0: nsresult SetupBidiKeyboards(); michael@0: bool IsRTLLanguage(HKL aLocale); michael@0: michael@0: bool mInitialized; michael@0: bool mHaveBidiKeyboards; michael@0: wchar_t mLTRKeyboard[KL_NAMELENGTH]; michael@0: wchar_t mRTLKeyboard[KL_NAMELENGTH]; michael@0: wchar_t mCurrentLocaleName[KL_NAMELENGTH]; michael@0: }; michael@0: michael@0: michael@0: #endif // __nsBidiKeyboard