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 #include "nsBidiKeyboard.h"
10 // This must be the last include:
11 #include "nsObjCExceptions.h"
13 using namespace mozilla::widget;
15 NS_IMPL_ISUPPORTS(nsBidiKeyboard, nsIBidiKeyboard)
17 nsBidiKeyboard::nsBidiKeyboard() : nsIBidiKeyboard() { Reset(); }
19 nsBidiKeyboard::~nsBidiKeyboard() {}
21 NS_IMETHODIMP nsBidiKeyboard::Reset() { return NS_OK; }
23 NS_IMETHODIMP nsBidiKeyboard::IsLangRTL(bool* aIsRTL) {
24 return NS_ERROR_NOT_IMPLEMENTED;
27 NS_IMETHODIMP nsBidiKeyboard::GetHaveBidiKeyboards(bool* aResult) {
28 // not implemented yet
29 return NS_ERROR_NOT_IMPLEMENTED;
33 already_AddRefed<nsIBidiKeyboard> nsIWidget::CreateBidiKeyboardInner() {
34 return do_AddRef(new nsBidiKeyboard());