aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2018-08-27 05:23:00 +0000
committerMarcel Hollerbach <mail@marcel-hollerbach.de>2018-08-27 21:18:25 +0200
commitea1c79796386c589432868e7e13389b4ea015e0c (patch)
treee790371da2bb382115c92ff761a98f0b7563697b
parentefl_input: fix problem that ref count does not become 0. (diff)
downloadefl-ea1c79796386c589432868e7e13389b4ea015e0c.tar.gz
elementary: Remove multiple class inheritance in eo
Up to now, there is no restriction on using multiple class inheritance in eo. This makes some language bindings more complicated if the language does not support multiple class inheritance. e.g. C#. To support language bindings in a neat way, multiple class inheritance in eo is replaced with implementing interfaces. To remove multiple class inheritance, each part class in elementary should implement interfaces instead of inheriting from other widget class because part class in elementary basically inherit from the class Efl.Ui.Widget_Part. Differential Revision: https://phab.enlightenment.org/D6904
-rw-r--r--src/lib/elementary/efl_ui_navigation_bar_part_back_button.eo2
-rw-r--r--src/lib/elementary/efl_ui_popup_alert_scroll_part.eo2
-rw-r--r--src/lib/elementary/efl_ui_popup_alert_text_part.eo2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_navigation_bar_part_back_button.eo b/src/lib/elementary/efl_ui_navigation_bar_part_back_button.eo
index e89e036953..fb342abe6f 100644
--- a/src/lib/elementary/efl_ui_navigation_bar_part_back_button.eo
+++ b/src/lib/elementary/efl_ui_navigation_bar_part_back_button.eo
@@ -1,4 +1,4 @@
-class Efl.Ui.Navigation_Bar_Part_Back_Button (Efl.Ui.Widget_Part, Efl.Ui.Button)
+class Efl.Ui.Navigation_Bar_Part_Back_Button (Efl.Ui.Layout.Part, Efl.Ui.Clickable, Efl.Gfx.Entity, Efl.Text, Efl.Content)
{
[[Efl Ui Navigation_Bar internal part back button class]]
data: null;
diff --git a/src/lib/elementary/efl_ui_popup_alert_scroll_part.eo b/src/lib/elementary/efl_ui_popup_alert_scroll_part.eo
index b890b982a3..f41ac3bda5 100644
--- a/src/lib/elementary/efl_ui_popup_alert_scroll_part.eo
+++ b/src/lib/elementary/efl_ui_popup_alert_scroll_part.eo
@@ -1,4 +1,4 @@
-class Efl.Ui.Popup_Alert_Scroll_Part (Efl.Ui.Layout.Part_Content, Efl.Ui.Layout.Part_Text)
+class Efl.Ui.Popup_Alert_Scroll_Part (Efl.Ui.Layout.Part, Efl.Content, Efl.Text)
{
[[Efl UI Popup Alert Scroll internal part class]]
data: null;
diff --git a/src/lib/elementary/efl_ui_popup_alert_text_part.eo b/src/lib/elementary/efl_ui_popup_alert_text_part.eo
index 236ef2fd0a..fce0a7b6c1 100644
--- a/src/lib/elementary/efl_ui_popup_alert_text_part.eo
+++ b/src/lib/elementary/efl_ui_popup_alert_text_part.eo
@@ -1,4 +1,4 @@
-class Efl.Ui.Popup_Alert_Text_Part (Efl.Ui.Layout.Part_Content, Efl.Ui.Layout.Part_Text)
+class Efl.Ui.Popup_Alert_Text_Part (Efl.Ui.Layout.Part, Efl.Content, Efl.Text)
{
[[Efl UI Popup Alert Text internal part class]]
data: null;