Adaptor refactor
[platform/core/uifw/dali-adaptor.git] / dali / internal / input / common / virtual-keyboard-impl.h
1 #ifndef __DALI_INTERNAL_VIRTUAL_KEYBOARD_H__
2 #define __DALI_INTERNAL_VIRTUAL_KEYBOARD_H__
3
4 /*
5  * Copyright (c) 2017 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 // INTERNAL INCLUDES
22 #include <dali/devel-api/adaptor-framework/virtual-keyboard.h>
23
24 namespace Dali
25 {
26
27 namespace Internal
28 {
29
30 namespace Adaptor
31 {
32
33 /**
34  * Implementation of the virtual keyboard namespace
35  */
36 namespace VirtualKeyboard
37 {
38
39 /**
40  * @copydoc Dali::VirtualKeyboard::Show()
41  */
42 void Show();
43
44 /**
45  * @copydoc Dali::VirtualKeyboard::Hide()
46  */
47 void Hide();
48
49 /**
50  * @copydoc Dali::VirtualKeyboard::IsVisible()
51  */
52 bool IsVisible();
53
54 /**
55  * @copydoc Dali::VirtualKeyboard::ApplySettings()
56  */
57 void ApplySettings( const Property::Map& settingsMap );
58
59 /**
60  * @copydoc Dali::VirtualKeyboard::SetReturnKeyType()
61  */
62 void SetReturnKeyType( const Dali::InputMethod::ActionButton type );
63
64 /**
65  * @copydoc Dali::VirtualKeyboard::GetReturnKeyType()
66  */
67 Dali::InputMethod::ActionButton GetReturnKeyType();
68
69 /**
70  * @copydoc Dali::VirtualKeyboard::EnablePrediction()
71  */
72 void EnablePrediction(const bool enable);
73
74 /**
75  * @copydoc Dali::VirtualKeyboard::IsPredictionEnabled()
76  */
77 bool IsPredictionEnabled();
78
79 /**
80  * @copydoc Dali::VirtualKeyboard::GetSizeAndPosition()
81  */
82 Rect<int> GetSizeAndPosition();
83
84 /**
85  * @copydoc Dali::VirtualKeyboard::RotateKeyboard()
86  */
87 void RotateTo(int angle);
88
89 /**
90  * @copydox Dali::VirtualKeyboard::StatusChangedSignal()
91  */
92 Dali::VirtualKeyboard::StatusSignalType& StatusChangedSignal();
93
94 /**
95  * @copydox Dali::VirtualKeyboard::ResizedSignal()
96  */
97 Dali::VirtualKeyboard::KeyboardResizedSignalType& ResizedSignal();
98
99 /**
100  * @copydox Dali::VirtualKeyboard::LanguageChangedSignal()
101  */
102 Dali::VirtualKeyboard::LanguageChangedSignalType& LanguageChangedSignal();
103
104 /**
105  * @copydoc Dali::VirtualKeyboard::GetTextDirection
106  */
107 Dali::VirtualKeyboard::TextDirection GetTextDirection();
108
109 } // namespace VirtualKeyboard
110
111 } // namespace Adaptor
112
113 } // namespace Internal
114
115 } // namespace Dali
116
117 #endif // __DALI_INTERNAL_VIRTUAL_KEYBOARD_H__