DALi signals refactor to remove V2 naming
[platform/core/uifw/dali-adaptor.git] / adaptors / public-api / adaptor-framework / virtual-keyboard.cpp
1 /*
2  * Copyright (c) 2014 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18 // CLASS HEADER
19 #include <virtual-keyboard.h>
20
21 // INTERNAL INCLUDES
22 #include <virtual-keyboard-impl.h>
23
24 namespace Dali
25 {
26
27 namespace VirtualKeyboard
28 {
29
30 void Show()
31 {
32   Internal::Adaptor::VirtualKeyboard::Show();
33 }
34
35 void Hide()
36 {
37   Internal::Adaptor::VirtualKeyboard::Hide();
38 }
39
40 bool IsVisible()
41 {
42   return Internal::Adaptor::VirtualKeyboard::IsVisible();
43 }
44
45 void SetReturnKeyType( ReturnKeyType type )
46 {
47   Internal::Adaptor::VirtualKeyboard::SetReturnKeyType( type );
48 }
49
50 ReturnKeyType GetReturnKeyType()
51 {
52   return Internal::Adaptor::VirtualKeyboard::GetReturnKeyType();
53 }
54
55 void EnablePrediction(const bool enable)
56 {
57   Internal::Adaptor::VirtualKeyboard::EnablePrediction(enable);
58 }
59
60 bool IsPredictionEnabled()
61 {
62   return Internal::Adaptor::VirtualKeyboard::IsPredictionEnabled();
63 }
64
65 Rect<int> GetSizeAndPosition()
66 {
67   return Internal::Adaptor::VirtualKeyboard::GetSizeAndPosition();
68 }
69
70 void RotateTo(int angle)
71 {
72   Internal::Adaptor::VirtualKeyboard::RotateTo(angle);
73 }
74
75 StatusSignalType& StatusChangedSignal()
76 {
77   return Internal::Adaptor::VirtualKeyboard::StatusChangedSignal();
78 }
79
80 VoidSignalType& ResizedSignal()
81 {
82   return Internal::Adaptor::VirtualKeyboard::ResizedSignal();
83 }
84
85 VoidSignalType& LanguageChangedSignal()
86 {
87   return Internal::Adaptor::VirtualKeyboard::LanguageChangedSignal();
88 }
89
90 TextDirection GetTextDirection()
91 {
92   return Internal::Adaptor::VirtualKeyboard::GetTextDirection();
93 }
94
95 } // namespace VirtualKeyboard
96
97 } // namespace Dali