tasn pushed a commit to branch master.

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

commit cbca4e3c12bc439440052f1aadb8c01e5431c940
Author: Tom Hacohen <t...@stosb.com>
Date:   Tue Feb 16 14:39:30 2016 +0000

    Ector renderer generic: Fix Eolian warnings.
    
    This includes either migrating types to eolian, fixing namespace or
    importing extra types.
---
 src/lib/ector/Ector.h                         | 11 -----------
 src/lib/ector/ector_renderer_generic_base.eo  | 13 +++++++++++--
 src/lib/ector/ector_renderer_generic_shape.eo |  8 +++++---
 3 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/src/lib/ector/Ector.h b/src/lib/ector/Ector.h
index 82d22bf..66ebc85 100644
--- a/src/lib/ector/Ector.h
+++ b/src/lib/ector/Ector.h
@@ -114,17 +114,6 @@ typedef Eo Ector_Renderer;
 /* typedef Evas_Colorspace Ector_Colorspace; */
 
 /**
- * Quality values
- */
-typedef enum _Ector_Quality
-{
-  ECTOR_QUALITY_BEST, /**< Best quality */
-  ECTOR_QUALITY_GOOD, /**< Good quality */
-  ECTOR_QUALITY_FAST, /**< Lower quality, fastest */
-  ECTOR_QUALITY_LAST
-} Ector_Quality;
-
-/**
  * Priorities
  */
 typedef enum _Ector_Priority
diff --git a/src/lib/ector/ector_renderer_generic_base.eo 
b/src/lib/ector/ector_renderer_generic_base.eo
index a9b91cb..28659a1 100644
--- a/src/lib/ector/ector_renderer_generic_base.eo
+++ b/src/lib/ector/ector_renderer_generic_base.eo
@@ -1,5 +1,14 @@
 import eina_types;
 
+enum Ector.Quality
+{
+   [[Quality values]]
+   best, [[Best quality]]
+   good, [[Good quality]]
+   fast, [[Lower quality]]
+   last, [[Sentinel]]
+}
+
 abstract Ector.Renderer.Generic.Base (Eo.Base)
 {
    eo_prefix: ector_renderer;
@@ -80,7 +89,7 @@ abstract Ector.Renderer.Generic.Base (Eo.Base)
         get {
         }
         values {
-           r: Ector_Renderer *;
+           r: Ector.Renderer.Generic.Base *;
         }
       }
       @property quality {
@@ -89,7 +98,7 @@ abstract Ector.Renderer.Generic.Base (Eo.Base)
         get {
         }
         values {
-           q: Ector_Quality;
+           q: Ector.Quality;
         }
       }
       @property crc {
diff --git a/src/lib/ector/ector_renderer_generic_shape.eo 
b/src/lib/ector/ector_renderer_generic_shape.eo
index 37d27b7..4362a88 100644
--- a/src/lib/ector/ector_renderer_generic_shape.eo
+++ b/src/lib/ector/ector_renderer_generic_shape.eo
@@ -1,3 +1,5 @@
+import ector_renderer_generic_base;
+
 mixin Ector.Renderer.Generic.Shape (Efl.Gfx.Shape)
 {
    eo_prefix: ector_renderer_shape;
@@ -9,7 +11,7 @@ mixin Ector.Renderer.Generic.Shape (Efl.Gfx.Shape)
         get {
         }
         values {
-           r: const(Ector_Renderer) *;
+           r: const(Ector.Renderer.Generic.Base) *;
         }
       }
       @property stroke_fill {
@@ -18,7 +20,7 @@ mixin Ector.Renderer.Generic.Shape (Efl.Gfx.Shape)
         get {
         }
         values {
-           r: const(Ector_Renderer) *;
+           r: const(Ector.Renderer.Generic.Base) *;
         }
       }
       @property stroke_marker {
@@ -27,7 +29,7 @@ mixin Ector.Renderer.Generic.Shape (Efl.Gfx.Shape)
         get {
         }
         values {
-           r: const(Ector_Renderer) *;
+           r: const(Ector.Renderer.Generic.Base) *;
         }
       }
    }

-- 


Reply via email to