summaryrefslogtreecommitdiff
path: root/ElmSharp.Wearable/Interop
diff options
context:
space:
mode:
authorpius.lee <pius.lee@samsung.com>2017-07-27 16:21:48 +0900
committerHyunjin <hj.na.park@samsung.com>2017-07-28 11:03:01 +0900
commitaa9cabe3cb5378bb21e8d4561355fa12e931c15f (patch)
tree52669262790f00c5be48765e1e7f9783dc537555 /ElmSharp.Wearable/Interop
parent69ef9b1c784c433b70ed71ca36d10126f9c60478 (diff)
downloadelm-sharp-wearable.tar.gz
elm-sharp-wearable.tar.bz2
elm-sharp-wearable.zip
Add Wearable project and widgets for Wearablewearable
Add CircleDatetimeSelector Add CircleGenList Add CircleScroller Add CircleSlider Add CircleProgressBar Add CircleSpinner Add MoreOption Add RotarySelector And Interops for wearable widget native functions. Change-Id: I2eeba407c5ef3ad23f9ab0501ad5cab3074b36ed
Diffstat (limited to 'ElmSharp.Wearable/Interop')
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Eext.CircleDatetime.cs27
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Eext.CircleGenList.cs40
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Eext.CircleObject.cs141
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Eext.CircleProgressBar.cs28
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Eext.CircleScroller.cs39
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Eext.CircleSlider.cs33
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Eext.CircleSpinner.cs31
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Eext.CircleSurface.cs37
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Eext.MoreOption.cs65
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Eext.Rotary.cs28
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Eext.RotarySelector.cs51
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Evas.cs28
-rw-r--r--ElmSharp.Wearable/Interop/Interop.Libraries.cs25
13 files changed, 573 insertions, 0 deletions
diff --git a/ElmSharp.Wearable/Interop/Interop.Eext.CircleDatetime.cs b/ElmSharp.Wearable/Interop/Interop.Eext.CircleDatetime.cs
new file mode 100644
index 0000000..4bbd8d9
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Eext.CircleDatetime.cs
@@ -0,0 +1,27 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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.
+ */
+
+using System;
+using System.Runtime.InteropServices;
+
+internal static partial class Interop
+{
+ internal static partial class Eext
+ {
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_circle_object_datetime_add(IntPtr datetime, IntPtr surface);
+ }
+} \ No newline at end of file
diff --git a/ElmSharp.Wearable/Interop/Interop.Eext.CircleGenList.cs b/ElmSharp.Wearable/Interop/Interop.Eext.CircleGenList.cs
new file mode 100644
index 0000000..b3581ca
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Eext.CircleGenList.cs
@@ -0,0 +1,40 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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.
+ */
+
+using System;
+using System.Runtime.InteropServices;
+
+internal static partial class Interop
+{
+
+ internal static partial class Eext
+ {
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_circle_object_genlist_add(IntPtr genlist, IntPtr surface);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_genlist_scroller_policy_set(IntPtr circleGenlist, int policyHorisontal, int policyVertical);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_genlist_scroller_policy_get(IntPtr circleGenlist, out int policyHorisontal, out int policyVertical);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_genlist_scroller_policy_get(IntPtr circleGenlist, out int policyHorisontal, IntPtr policyVertical);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_genlist_scroller_policy_get(IntPtr circleGenlist, IntPtr policyHorisontal, out int policyVertical);
+ }
+} \ No newline at end of file
diff --git a/ElmSharp.Wearable/Interop/Interop.Eext.CircleObject.cs b/ElmSharp.Wearable/Interop/Interop.Eext.CircleObject.cs
new file mode 100644
index 0000000..e1940f6
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Eext.CircleObject.cs
@@ -0,0 +1,141 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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.
+ */
+
+using System;
+using System.Runtime.InteropServices;
+
+internal static partial class Interop
+{
+ internal static partial class Eext
+ {
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_circle_object_add(IntPtr obj, IntPtr surface);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_disabled_set(IntPtr obj, bool disabled);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern bool eext_circle_object_disabled_get(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_line_width_set(IntPtr obj, int lineWidth);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern int eext_circle_object_line_width_get(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_angle_set(IntPtr obj, double angle);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern double eext_circle_object_angle_get(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_angle_offset_set(IntPtr obj, double offset);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern double eext_circle_object_angle_offset_get(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_angle_min_max_set(IntPtr obj, double min, double max);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_angle_min_max_get(IntPtr obj, out double min, out double max);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_value_min_max_set(IntPtr obj, double min, double max);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_value_min_max_get(IntPtr obj, out double min, out double max);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_value_set(IntPtr obj, double value);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern double eext_circle_object_value_get(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_color_set(IntPtr obj, int r, int g, int b, int a);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_color_get(IntPtr obj, out int r, out int g, out int b, out int a);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_radius_set(IntPtr obj, double radius);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern double eext_circle_object_radius_get(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_line_width_set(IntPtr obj, string item, int lineWidth);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern int eext_circle_object_item_line_width_get(IntPtr obj, string item);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_angle_set(IntPtr obj, string item, double angle);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern double eext_circle_object_item_angle_get(IntPtr obj, string item);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_angle_offset_set(IntPtr obj, string item, double offset);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern double eext_circle_object_item_angle_offset_get(IntPtr obj, string item);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_angle_min_max_set(IntPtr obj, string item, double min, double max);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_angle_min_max_get(IntPtr obj, string item, out double min, out double max);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_angle_min_max_get(IntPtr obj, string item, out double min, IntPtr max);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_angle_min_max_get(IntPtr obj, string item, IntPtr min, out double max);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_value_min_max_set(IntPtr obj, string item, double min, double max);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_value_min_max_get(IntPtr obj, string item, out double min, out double max);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_value_min_max_get(IntPtr obj, string item, out double min, IntPtr max);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_value_min_max_get(IntPtr obj, string item, IntPtr min, out double max);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_value_set(IntPtr obj, string item, double value);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern double eext_circle_object_item_value_get(IntPtr obj, string item);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_color_set(IntPtr obj, string item, int r, int g, int b, int a);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_color_get(IntPtr obj, string item, out int r, out int g, out int b, out int a);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_item_radius_set(IntPtr obj, string item, double radius);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern double eext_circle_object_item_radius_get(IntPtr obj, string item);
+ }
+} \ No newline at end of file
diff --git a/ElmSharp.Wearable/Interop/Interop.Eext.CircleProgressBar.cs b/ElmSharp.Wearable/Interop/Interop.Eext.CircleProgressBar.cs
new file mode 100644
index 0000000..8c60209
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Eext.CircleProgressBar.cs
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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.
+ */
+
+using System;
+using System.Runtime.InteropServices;
+
+internal static partial class Interop
+{
+ internal static partial class Eext
+ {
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_circle_object_progressbar_add(IntPtr parent, IntPtr surface);
+
+ }
+} \ No newline at end of file
diff --git a/ElmSharp.Wearable/Interop/Interop.Eext.CircleScroller.cs b/ElmSharp.Wearable/Interop/Interop.Eext.CircleScroller.cs
new file mode 100644
index 0000000..2502100
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Eext.CircleScroller.cs
@@ -0,0 +1,39 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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.
+ */
+
+using System;
+using System.Runtime.InteropServices;
+
+internal static partial class Interop
+{
+ internal static partial class Eext
+ {
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_circle_object_scroller_add(IntPtr scroller, IntPtr surface);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_scroller_policy_set(IntPtr obj, int policy_h, int policy_v);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_scroller_policy_get(IntPtr obj, IntPtr policy_h, IntPtr policy_v);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_scroller_policy_get(IntPtr obj, out int policy_h, IntPtr policy_v);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_scroller_policy_get(IntPtr obj, IntPtr policy_h, out int policy_v);
+ }
+} \ No newline at end of file
diff --git a/ElmSharp.Wearable/Interop/Interop.Eext.CircleSlider.cs b/ElmSharp.Wearable/Interop/Interop.Eext.CircleSlider.cs
new file mode 100644
index 0000000..d2eeef3
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Eext.CircleSlider.cs
@@ -0,0 +1,33 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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.
+ */
+
+using System;
+using System.Runtime.InteropServices;
+
+internal static partial class Interop
+{
+ internal static partial class Eext
+ {
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_circle_object_slider_add(IntPtr parent, IntPtr surface);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_circle_object_slider_step_set(IntPtr obj, double value);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern double eext_circle_object_slider_step_get(IntPtr obj);
+ }
+} \ No newline at end of file
diff --git a/ElmSharp.Wearable/Interop/Interop.Eext.CircleSpinner.cs b/ElmSharp.Wearable/Interop/Interop.Eext.CircleSpinner.cs
new file mode 100644
index 0000000..eb221eb
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Eext.CircleSpinner.cs
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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.
+ */
+
+using System;
+using System.Runtime.InteropServices;
+
+internal static partial class Interop
+{
+ internal static partial class Eext
+ {
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_circle_object_spinner_add(IntPtr spinner, IntPtr surface);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_circle_object_spinner_angle_set(IntPtr spinner, double angle);
+
+ }
+} \ No newline at end of file
diff --git a/ElmSharp.Wearable/Interop/Interop.Eext.CircleSurface.cs b/ElmSharp.Wearable/Interop/Interop.Eext.CircleSurface.cs
new file mode 100644
index 0000000..4b5f820
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Eext.CircleSurface.cs
@@ -0,0 +1,37 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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.
+ */
+
+using System;
+using System.Runtime.InteropServices;
+
+internal static partial class Interop
+{
+
+ internal static partial class Eext
+ {
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_circle_surface_conformant_add(IntPtr conformant);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_circle_surface_layout_add(IntPtr layout);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_circle_surface_naviframe_add(IntPtr naviframe);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_circle_surface_del(IntPtr surface);
+ }
+} \ No newline at end of file
diff --git a/ElmSharp.Wearable/Interop/Interop.Eext.MoreOption.cs b/ElmSharp.Wearable/Interop/Interop.Eext.MoreOption.cs
new file mode 100644
index 0000000..95b1de8
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Eext.MoreOption.cs
@@ -0,0 +1,65 @@
+using System;
+using System.Runtime.InteropServices;
+
+internal static partial class Interop
+{
+ internal static partial class Eext
+ {
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_more_option_add(IntPtr parent);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_more_option_direction_set(IntPtr obj, int direction);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern int eext_more_option_direction_get(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_more_option_item_append(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_more_option_item_del(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_more_option_item_domain_translatable_part_text_set(IntPtr item, string part_name, string domain, string text);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_more_option_item_insert_after(IntPtr obj, IntPtr after);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_more_option_item_insert_before(IntPtr obj, IntPtr before);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_more_option_item_part_content_get(IntPtr obj, string part_name);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_more_option_item_part_content_set(IntPtr item, string part_name, IntPtr content);
+
+ [DllImport(Libraries.Eext, EntryPoint = "eext_more_option_item_part_text_get")]
+ static extern IntPtr _eext_more_option_item_part_text_get(IntPtr item, string part_name);
+
+ internal static string eext_more_option_item_part_text_get(IntPtr item, string part_name)
+ {
+ var ptr = _eext_more_option_item_part_text_get(item, part_name);
+ return Marshal.PtrToStringAnsi(ptr);
+ }
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_more_option_item_part_text_set(IntPtr item, string part_name, string text);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_more_option_item_prepend(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_more_option_items_clear(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_more_option_items_get(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern bool eext_more_option_opened_get(IntPtr obj);
+
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_more_option_opened_set(IntPtr obj, bool opened);
+ }
+}
diff --git a/ElmSharp.Wearable/Interop/Interop.Eext.Rotary.cs b/ElmSharp.Wearable/Interop/Interop.Eext.Rotary.cs
new file mode 100644
index 0000000..5348d39
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Eext.Rotary.cs
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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.
+ */
+
+using System;
+using System.Runtime.InteropServices;
+
+internal static partial class Interop
+{
+
+ internal static partial class Eext
+ {
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_rotary_object_event_activated_set(IntPtr circleObject, bool activated);
+ }
+} \ No newline at end of file
diff --git a/ElmSharp.Wearable/Interop/Interop.Eext.RotarySelector.cs b/ElmSharp.Wearable/Interop/Interop.Eext.RotarySelector.cs
new file mode 100644
index 0000000..457cfbb
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Eext.RotarySelector.cs
@@ -0,0 +1,51 @@
+using System;
+using System.Runtime.InteropServices;
+
+
+internal static partial class Interop
+{
+ internal static partial class Eext
+ {
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_rotary_selector_add(IntPtr parent);
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_rotary_selector_item_append(IntPtr obj);
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_rotary_selector_item_prepend(IntPtr obj);
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_rotary_selector_item_insert_after(IntPtr obj, IntPtr after);
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_rotary_selector_item_insert_before(IntPtr obj, IntPtr before);
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_rotary_selector_item_del(IntPtr item);
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_rotary_selector_items_clear(IntPtr obj);
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_rotary_selector_item_part_text_set(IntPtr item, string part_name, string text);
+ [DllImport(Libraries.Eext)]
+ internal static extern string eext_rotary_selector_item_part_text_get(IntPtr item, string part_name);
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_rotary_selector_item_domain_translatable_part_text_set(IntPtr item, string part_name, string domain, string text);
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_rotary_selector_item_part_content_set(IntPtr item, string part_name, int state, IntPtr content);
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_rotary_selector_item_part_content_get(IntPtr item, string part_name, int state);
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_rotary_selector_part_content_set(IntPtr obj, string part_name, int state, IntPtr content);
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_rotary_selector_part_content_get(IntPtr obj, string part_name, int state);
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_rotary_selector_item_part_color_set(IntPtr item, string part_name, int state, int r, int g, int b, int a);
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_rotary_selector_item_part_color_get(IntPtr item, string part_name, int state, out int r, out int g, out int b, out int a);
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_rotary_selector_part_color_set(IntPtr obj, string part_name, int state, int r, int g, int b, int a);
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_rotary_selector_part_color_get(IntPtr obj, string part_name, int state, out int r, out int g, out int b, out int a);
+ [DllImport(Libraries.Eext)]
+ internal static extern void eext_rotary_selector_selected_item_set(IntPtr obj, IntPtr item);
+ [DllImport(Libraries.Eext)]
+ internal static extern IntPtr eext_rotary_selector_selected_item_get(IntPtr obj);
+
+ }
+}
diff --git a/ElmSharp.Wearable/Interop/Interop.Evas.cs b/ElmSharp.Wearable/Interop/Interop.Evas.cs
new file mode 100644
index 0000000..dbe48e8
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Evas.cs
@@ -0,0 +1,28 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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.
+ */
+
+using System;
+using System.Runtime.InteropServices;
+
+internal static partial class Interop
+{
+ internal static partial class Evas
+ {
+
+ [DllImport(Libraries.Evas)]
+ internal static extern void evas_object_resize(IntPtr obj, int w, int h);
+ }
+} \ No newline at end of file
diff --git a/ElmSharp.Wearable/Interop/Interop.Libraries.cs b/ElmSharp.Wearable/Interop/Interop.Libraries.cs
new file mode 100644
index 0000000..3668358
--- /dev/null
+++ b/ElmSharp.Wearable/Interop/Interop.Libraries.cs
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * 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.
+ */
+
+internal static partial class Interop
+{
+ internal static class Libraries
+ {
+ internal const string Elementary = "libelementary.so.1";
+ internal const string Eext = "libefl-extension.so.0";
+ internal const string Evas = "libevas.so.1";
+ }
+}