[NUI] Implement defaut key construct
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / Interop / Interop.Key.cs
1 /*
2  * Copyright(c) 2021 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 namespace Tizen.NUI
19 {
20     internal static partial class Interop
21     {
22         internal static partial class Key
23         {
24             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_Key__SWIG_0")]
25             public static extern global::System.IntPtr NewKey();
26
27             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_Key__SWIG_1")]
28             public static extern global::System.IntPtr NewKey(global::System.Runtime.InteropServices.HandleRef jarg1);
29
30             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_Assign")]
31             public static extern global::System.IntPtr Assign(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
32
33             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_New")]
34             public static extern global::System.IntPtr New(string jarg1, string jarg2, int jarg3, int jarg4, uint jarg5, int jarg6);
35
36             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_New__SWIG_1")]
37             public static extern global::System.IntPtr New();
38
39             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_Key")]
40             public static extern void DeleteKey(global::System.Runtime.InteropServices.HandleRef jarg1);
41
42             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_IsShiftModifier")]
43             [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
44             public static extern bool IsShiftModifier(global::System.Runtime.InteropServices.HandleRef jarg1);
45
46             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_IsCtrlModifier")]
47             [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
48             public static extern bool IsCtrlModifier(global::System.Runtime.InteropServices.HandleRef jarg1);
49
50             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_IsAltModifier")]
51             [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
52             public static extern bool IsAltModifier(global::System.Runtime.InteropServices.HandleRef jarg1);
53
54             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_keyPressedName_set")]
55             public static extern void KeyPressedNameSet(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
56
57             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_keyPressedName_get")]
58             public static extern string KeyPressedNameGet(global::System.Runtime.InteropServices.HandleRef jarg1);
59
60             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_keyPressed_set")]
61             public static extern void KeyPressedSet(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
62
63             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_keyPressed_get")]
64             public static extern string KeyPressedGet(global::System.Runtime.InteropServices.HandleRef jarg1);
65
66             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_keyPressed_set")]
67             public static extern void KeyStringSet(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2);
68
69             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_keyPressed_get")]
70             public static extern string KeyStringGet(global::System.Runtime.InteropServices.HandleRef jarg1);
71
72             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_keyCode_set")]
73             public static extern void KeyCodeSet(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
74
75             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_keyCode_get")]
76             public static extern int KeyCodeGet(global::System.Runtime.InteropServices.HandleRef jarg1);
77
78             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_keyModifier_set")]
79             public static extern void KeyModifierSet(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
80
81             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_keyModifier_get")]
82             public static extern int KeyModifierGet(global::System.Runtime.InteropServices.HandleRef jarg1);
83
84             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_time_set")]
85             public static extern void TimeSet(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2);
86
87             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_time_get")]
88             public static extern uint TimeGet(global::System.Runtime.InteropServices.HandleRef jarg1);
89
90             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_state_set")]
91             public static extern void StateSet(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
92
93             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_state_get")]
94             public static extern int StateGet(global::System.Runtime.InteropServices.HandleRef jarg1);
95
96             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_logicalKey_get")]
97             public static extern string LogicalKeyGet(global::System.Runtime.InteropServices.HandleRef jarg1);
98
99             [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Key_SWIGUpcast")]
100             public static extern global::System.IntPtr Upcast(global::System.IntPtr jarg1);
101         }
102     }
103 }