2001-02-15 02:13:07 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
|
|
*
|
2012-05-21 15:12:37 +04:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2001-02-15 02:13:07 +03:00
|
|
|
|
|
|
|
#include "nsBidiKeyboard.h"
|
|
|
|
|
2001-08-21 05:48:11 +04:00
|
|
|
NS_IMPL_ISUPPORTS1(nsBidiKeyboard, nsIBidiKeyboard)
|
2001-02-15 02:13:07 +03:00
|
|
|
|
|
|
|
nsBidiKeyboard::nsBidiKeyboard() : nsIBidiKeyboard()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
nsBidiKeyboard::~nsBidiKeyboard()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2011-09-29 10:19:26 +04:00
|
|
|
NS_IMETHODIMP nsBidiKeyboard::IsLangRTL(bool *aIsRTL)
|
2001-02-15 02:13:07 +03:00
|
|
|
{
|
2011-10-17 18:59:28 +04:00
|
|
|
*aIsRTL = false;
|
2001-02-15 02:13:07 +03:00
|
|
|
// XXX Insert platform specific code to determine keyboard direction
|
2006-07-06 12:29:53 +04:00
|
|
|
return NS_ERROR_NOT_IMPLEMENTED;
|
2001-02-15 02:13:07 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
NS_IMETHODIMP nsBidiKeyboard::SetLangFromBidiLevel(PRUint8 aLevel)
|
|
|
|
{
|
|
|
|
// XXX Insert platform specific code to set keyboard language
|
2006-07-06 12:29:53 +04:00
|
|
|
return NS_ERROR_NOT_IMPLEMENTED;
|
2001-02-15 02:13:07 +03:00
|
|
|
}
|
2011-09-15 18:54:50 +04:00
|
|
|
|
2011-09-29 10:19:26 +04:00
|
|
|
NS_IMETHODIMP nsBidiKeyboard::GetHaveBidiKeyboards(bool* aResult)
|
2011-09-15 18:54:50 +04:00
|
|
|
{
|
|
|
|
// not implemented yet
|
|
|
|
return NS_ERROR_NOT_IMPLEMENTED;
|
|
|
|
}
|