Support for the macOS platform
[platform/core/uifw/dali-adaptor.git] / dali / internal / input / macos / virtual-keyboard-impl-mac.cpp
1 /*
2  * Copyright (c) 2018 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 <dali/internal/input/common/virtual-keyboard-impl.h>
20
21 namespace Dali::Internal::Adaptor::VirtualKeyboard
22 {
23
24 void Show()
25 {
26 }
27
28 void Hide()
29 {
30
31 }
32
33 bool IsVisible()
34 {
35   return false;
36 }
37
38 void ApplySettings( const Property::Map& settingsMap )
39 {
40
41 }
42
43 void EnablePrediction( const bool enable )
44 {
45
46 }
47
48 bool IsPredictionEnabled()
49 {
50   return false;
51 }
52
53 Rect<int> GetSizeAndPosition()
54 {
55   Rect<int> ret;
56   return ret;
57 }
58
59 Dali::VirtualKeyboard::StatusSignalType& StatusChangedSignal()
60 {
61   static Dali::VirtualKeyboard::StatusSignalType ret;
62   return ret;
63 }
64
65 Dali::VirtualKeyboard::KeyboardResizedSignalType& ResizedSignal()
66 {
67   static Dali::VirtualKeyboard::KeyboardResizedSignalType ret;
68   return ret;
69 }
70
71 Dali::VirtualKeyboard::LanguageChangedSignalType& LanguageChangedSignal()
72 {
73   static Dali::VirtualKeyboard::LanguageChangedSignalType ret;
74   return ret;
75 }
76
77 Dali::VirtualKeyboard::TextDirection GetTextDirection()
78 {
79   return Dali::VirtualKeyboard::LEFT_TO_RIGHT;
80 }
81
82 void RotateTo(int angle)
83 {
84 }
85
86 void SetReturnKeyType( const InputMethod::ButtonAction::Type type )
87 {
88 }
89
90 Dali::InputMethod::ButtonAction::Type GetReturnKeyType()
91 {
92   return Dali::InputMethod::ButtonAction::DEFAULT;
93 }
94
95 } // namespace Dali::Internal::Adaptor::VirtualKeyboard