2 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include <virtual-keyboard.h>
22 #include <virtual-keyboard-impl.h>
27 namespace VirtualKeyboard
32 Internal::Adaptor::VirtualKeyboard::Show();
37 Internal::Adaptor::VirtualKeyboard::Hide();
42 return Internal::Adaptor::VirtualKeyboard::IsVisible();
45 void SetReturnKeyType( ReturnKeyType type )
47 Internal::Adaptor::VirtualKeyboard::SetReturnKeyType( type );
50 ReturnKeyType GetReturnKeyType()
52 return Internal::Adaptor::VirtualKeyboard::GetReturnKeyType();
55 void EnablePrediction(const bool enable)
57 Internal::Adaptor::VirtualKeyboard::EnablePrediction(enable);
60 bool IsPredictionEnabled()
62 return Internal::Adaptor::VirtualKeyboard::IsPredictionEnabled();
65 Rect<int> GetSizeAndPosition()
67 return Internal::Adaptor::VirtualKeyboard::GetSizeAndPosition();
70 void RotateTo(int angle)
72 Internal::Adaptor::VirtualKeyboard::RotateTo(angle);
75 StatusSignalType& StatusChangedSignal()
77 return Internal::Adaptor::VirtualKeyboard::StatusChangedSignal();
80 VoidSignalType& ResizedSignal()
82 return Internal::Adaptor::VirtualKeyboard::ResizedSignal();
85 VoidSignalType& LanguageChangedSignal()
87 return Internal::Adaptor::VirtualKeyboard::LanguageChangedSignal();
90 TextDirection GetTextDirection()
92 return Internal::Adaptor::VirtualKeyboard::GetTextDirection();
95 } // namespace VirtualKeyboard