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
This commit is contained in:
Jaehyun Cho 2018-08-27 05:23:00 +00:00 committed by Marcel Hollerbach
parent 586f8ae957
commit ea1c797963
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;