tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=a761171009521587a8136fb51e2383757143a29a

commit a761171009521587a8136fb51e2383757143a29a
Author: Tom Hacohen <t...@stosb.com>
Date:   Mon Feb 29 11:56:17 2016 +0000

    Eo: Add an interface for other interfaces to inherit from.
---
 src/Makefile_Eo.am         | 3 ++-
 src/lib/eo/eo_interface.eo | 7 +++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/src/Makefile_Eo.am b/src/Makefile_Eo.am
index 51924fe..e388318 100644
--- a/src/Makefile_Eo.am
+++ b/src/Makefile_Eo.am
@@ -3,7 +3,8 @@
 
 eo_eolian_files = \
        lib/eo/eo_base.eo \
-       lib/eo/eo_abstract_class.eo
+       lib/eo/eo_abstract_class.eo \
+       lib/eo/eo_interface.eo
 
 eo_eolian_c = $(eo_eolian_files:%.eo=%.eo.c)
 eo_eolian_h = $(eo_eolian_files:%.eo=%.eo.h)
diff --git a/src/lib/eo/eo_interface.eo b/src/lib/eo/eo_interface.eo
new file mode 100644
index 0000000..e2a3e9c
--- /dev/null
+++ b/src/lib/eo/eo_interface.eo
@@ -0,0 +1,7 @@
+interface Eo.Interface ()
+{
+   [[An interface for other interfaces to inherit from.
+    This is useful when you want to create interfaces and mixins that expose
+    functions from a normal class, like for example @Eo.Base.constructor.]]
+}
+

-- 


Reply via email to