Merge "Enable atspi" into devel/master
[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) 2021 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 namespace Internal
27 {
28 namespace Adaptor
29 {
30 /**
31  * Implementation of the virtual keyboard namespace
32  */
33 namespace VirtualKeyboard
34 {
35 /**
36  * @copydoc Dali::VirtualKeyboard::Show()
37  */
38 void Show();
39
40 /**
41  * @copydoc Dali::VirtualKeyboard::Hide()
42  */
43 void Hide();
44
45 /**
46  * @copydoc Dali::VirtualKeyboard::IsVisible()
47  */
48 bool IsVisible();
49
50 /**
51  * @copydoc Dali::VirtualKeyboard::ApplySettings()
52  */
53 void ApplySettings(const Property::Map& settingsMap);
54
55 /**
56  * @copydoc Dali::VirtualKeyboard::SetReturnKeyType()
57  */
58 void SetReturnKeyType(const Dali::InputMethod::ButtonAction::Type type);
59
60 /**
61  * @copydoc Dali::VirtualKeyboard::GetReturnKeyType()
62  */
63 Dali::InputMethod::ButtonAction::Type GetReturnKeyType();
64
65 /**
66  * @copydoc Dali::VirtualKeyboard::EnablePrediction()
67  */
68 void EnablePrediction(const bool enable);
69
70 /**
71  * @copydoc Dali::VirtualKeyboard::IsPredictionEnabled()
72  */
73 bool IsPredictionEnabled();
74
75 /**
76  * @copydoc Dali::VirtualKeyboard::GetSizeAndPosition()
77  */
78 Rect<int> GetSizeAndPosition();
79
80 /**
81  * @copydoc Dali::VirtualKeyboard::RotateKeyboard()
82  */
83 void RotateTo(int angle);
84
85 /**
86  * @copydoc Dali::VirtualKeyboard::GetTextDirection
87  */
88 Dali::VirtualKeyboard::TextDirection GetTextDirection();
89
90 } // namespace VirtualKeyboard
91
92 } // namespace Adaptor
93
94 } // namespace Internal
95
96 } // namespace Dali
97
98 #endif // DALI_INTERNAL_VIRTUAL_KEYBOARD_H