-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3906a75
commit a12944c
Showing
5 changed files
with
388 additions
and
2 deletions.
There are no files selected for viewing
165 changes: 165 additions & 0 deletions
165
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Interop/Interop.PropertyMap.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,165 @@ | ||
/* | ||
* Copyright(c) 2021 Samsung Electronics Co., Ltd. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
|
||
|
||
namespace Tizen.NUI.Samples | ||
{ | ||
internal static partial class Interop | ||
{ | ||
|
||
internal static partial class PropertyMap | ||
{ | ||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_Property_Map__SWIG_0")] | ||
public static extern global::System.IntPtr NewPropertyMap(); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_delete_Property_Map")] | ||
public static extern void DeletePropertyMap(global::System.IntPtr jarg1); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_ValueOfIndex__SWIG_0")] | ||
public static extern global::System.IntPtr ValueOfIndex(global::System.IntPtr jarg1, string jarg2); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_ValueOfIndex__SWIG_2")] | ||
public static extern global::System.IntPtr ValueOfIndex(global::System.IntPtr jarg1, int jarg2); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_Int__SWIG_0")] | ||
public static extern void Insert(global::System.IntPtr jarg1, string jarg2, int jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_Bool__SWIG_0")] | ||
public static extern void Insert(global::System.IntPtr jarg1, string jarg2, bool jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_Float__SWIG_0")] | ||
public static extern void Insert(global::System.IntPtr jarg1, string jarg2, float jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_String__SWIG_0")] | ||
public static extern void Insert(global::System.IntPtr jarg1, string jarg2, string jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_Vector2__SWIG_0")] | ||
public static extern void Insert(global::System.IntPtr jarg1, string jarg2, float jarg3, float jarg4); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_Vector3__SWIG_0")] | ||
public static extern void Insert(global::System.IntPtr jarg1, string jarg2, float jarg3, float jarg4, float jarg5); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_Vector4__SWIG_0")] | ||
public static extern void Insert(global::System.IntPtr jarg1, string jarg2, float jarg3, float jarg4, float jarg5, float jarg6); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_Int__SWIG_2")] | ||
public static extern void Insert(global::System.IntPtr jarg1, int jarg2, int jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_Bool__SWIG_2")] | ||
public static extern void Insert(global::System.IntPtr jarg1, int jarg2, bool jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_Float__SWIG_2")] | ||
public static extern void Insert(global::System.IntPtr jarg1, int jarg2, float jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_String__SWIG_2")] | ||
public static extern void Insert(global::System.IntPtr jarg1, int jarg2, string jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_Vector2__SWIG_2")] | ||
public static extern void Insert(global::System.IntPtr jarg1, int jarg2, float jarg3, float jarg4); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_Vector3__SWIG_2")] | ||
public static extern void Insert(global::System.IntPtr jarg1, int jarg2, float jarg3, float jarg4, float jarg5); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Insert_Vector4__SWIG_2")] | ||
public static extern void Insert(global::System.IntPtr jarg1, int jarg2, float jarg3, float jarg4, float jarg5, float jarg6); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_Int__SWIG_0")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, string jarg2, int jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_Bool__SWIG_0")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, string jarg2, bool jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_Float__SWIG_0")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, string jarg2, float jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_String__SWIG_0")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, string jarg2, string jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_Vector2__SWIG_0")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, string jarg2, float jarg3, float jarg4); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_Vector3__SWIG_0")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, string jarg2, float jarg3, float jarg4, float jarg5); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_Vector4__SWIG_0")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, string jarg2, float jarg3, float jarg4, float jarg5, float jarg6); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_Int__SWIG_2")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, int jarg2, int jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_Bool__SWIG_2")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, int jarg2, bool jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_Float__SWIG_2")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, int jarg2, float jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_String__SWIG_2")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, int jarg2, string jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_Vector2__SWIG_2")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, int jarg2, float jarg3, float jarg4); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_Vector3__SWIG_2")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, int jarg2, float jarg3, float jarg4, float jarg5); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_Add_Vector4__SWIG_2")] | ||
public static extern global::System.IntPtr Add(global::System.IntPtr jarg1, int jarg2, float jarg3, float jarg4, float jarg5, float jarg6); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_StringKey_IntValue")] | ||
public static extern void SetValueStringKey(global::System.IntPtr jarg1, string jarg2, int jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_StringKey_BoolValue")] | ||
public static extern void SetValueStringKey(global::System.IntPtr jarg1, string jarg2, bool jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_StringKey_FloatValue")] | ||
public static extern void SetValueStringKey(global::System.IntPtr jarg1, string jarg2, float jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_StringKey_StringValue")] | ||
public static extern void SetValueStringKey(global::System.IntPtr jarg1, string jarg2, string jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_StringKey_Vector2")] | ||
public static extern void SetValueStringKey(global::System.IntPtr jarg1, string jarg2, float jarg3, float jarg4); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_StringKey_Vector4")] | ||
public static extern void SetValueStringKey(global::System.IntPtr jarg1, string jarg2, float jarg3, float jarg4, float jarg5, float jarg6); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_StringKey_Rect")] | ||
public static extern void SetValueStringKey(global::System.IntPtr jarg1, string jarg2, int jarg3, int jarg4, int jarg5, int jarg6); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_IntKey_IntValue")] | ||
public static extern void SetValueIntKey(global::System.IntPtr jarg1, int jarg2, int jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_IntKey_BoolValue")] | ||
public static extern void SetValueIntKey(global::System.IntPtr jarg1, int jarg2, bool jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_IntKey_FloatValue")] | ||
public static extern void SetValueIntKey(global::System.IntPtr jarg1, int jarg2, float jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_IntKey_StringValue")] | ||
public static extern void SetValueIntKey(global::System.IntPtr jarg1, int jarg2, string jarg3); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_IntKey_Vector2")] | ||
public static extern void SetValueIntKey(global::System.IntPtr jarg1, int jarg2, float jarg3, float jarg4); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_IntKey_Vector4")] | ||
public static extern void SetValueIntKey(global::System.IntPtr jarg1, int jarg2, float jarg3, float jarg4, float jarg5, float jarg6); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Map_SetValue_IntKey_Rect")] | ||
public static extern void SetValueIntKey(global::System.IntPtr jarg1, int jarg2, int jarg3, int jarg4, int jarg5, int jarg6); | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Interop/Interop.PropertyValue.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* Copyright(c) 2021 Samsung Electronics Co., Ltd. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
|
||
namespace Tizen.NUI.Samples | ||
{ | ||
internal static partial class Interop | ||
{ | ||
internal static partial class PropertyValue | ||
{ | ||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Value_Get__SWIG_1")] | ||
[return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)] | ||
public static extern bool PropertyValueGet(global::System.IntPtr jarg1, out bool jarg2); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Value_Get__SWIG_3")] | ||
[return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)] | ||
public static extern bool PropertyValueGet(global::System.IntPtr jarg1, out int jarg2); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Property_Value_Get__SWIG_5")] | ||
[return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)] | ||
public static extern bool GetVector2(global::System.IntPtr jarg1, global::System.IntPtr jarg2); | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Interop/Interop.Vector.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
* Copyright(c) 2021 Samsung Electronics Co., Ltd. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
* | ||
*/ | ||
|
||
namespace Tizen.NUI.Samples | ||
{ | ||
internal static partial class Interop | ||
{ | ||
internal static partial class Vector2 | ||
{ | ||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_new_Vector2__SWIG_0")] | ||
public static extern global::System.IntPtr NewVector2(); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector2_X_get")] | ||
public static extern float XGet(global::System.IntPtr jarg1); | ||
|
||
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Vector2_Y_get")] | ||
public static extern float YGet(global::System.IntPtr jarg1); | ||
} | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
test/Tizen.NUI.Samples/Tizen.NUI.Samples/Interop/NDalicPINVOKE.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
| ||
namespace Tizen.NUI.Samples | ||
{ | ||
internal class NDalicPINVOKE | ||
{ | ||
public const string Lib = "libdali2-csharp-binder.so"; | ||
} | ||
} |
Oops, something went wrong.