jpeg pushed a commit to branch master.

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

commit c86a5edc9f4dbee7660166309d441790e9149e80
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Tue Jun 23 17:25:44 2015 +0900

    Evas filters: Add @protected tag where applicable
    
    The Evas.Filter interface is basically just an internal thing.
---
 src/lib/evas/canvas/evas_filter.eo      | 14 +++++++-------
 src/lib/evas/canvas/evas_filter_mixin.c |  2 ++
 src/lib/evas/canvas/evas_object_image.c |  2 ++
 src/lib/evas/canvas/evas_object_text.c  |  2 ++
 4 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/src/lib/evas/canvas/evas_filter.eo 
b/src/lib/evas/canvas/evas_filter.eo
index b461de9..5f8442f 100644
--- a/src/lib/evas/canvas/evas_filter.eo
+++ b/src/lib/evas/canvas/evas_filter.eo
@@ -3,7 +3,7 @@ mixin Evas.Filter (Efl.Gfx.Filter)
    // Evas internal implementation
    legacy_prefix: null;
    methods {
-      @property changed {
+      @property changed @protected {
          set {
             [[Marks this filter as changed.]]
          }
@@ -11,7 +11,7 @@ mixin Evas.Filter (Efl.Gfx.Filter)
             val: bool;
          }
       }
-      @property invalid {
+      @property invalid @protected {
          set {
             [[Marks this filter as invalid.]]
          }
@@ -19,24 +19,24 @@ mixin Evas.Filter (Efl.Gfx.Filter)
             val: bool;
          }
       }
-      constructor {
+      constructor @protected {
          [[Initialize the Evas.Filter mixin.
 
            Should be called in a parent's class constructor.
          ]]
       }
-      destructor {
+      destructor @protected {
          [[Release all data held by this Evas.Filter.
 
            This may include image buffers allocated by the Evas engine.
            This should be called at the beginning of a parent's class 
destructor.
          ]]
       }
-      input_alpha {
+      input_alpha @protected {
          [[Called by Evas.Filter to determine whether the input is alpha or 
rgba.]]
          return: bool;
       }
-      input_render {
+      input_render @protected {
          [[Called by Evas.Filter when the parent class must render the input.
          ;
          ]]
@@ -51,7 +51,7 @@ mixin Evas.Filter (Efl.Gfx.Filter)
             do_async: bool;
          }
       }
-      dirty {
+      dirty @protected {
          [[Called when the filter changes must trigger a redraw of the object.
 
            Virtual, to be implemented in the parent class.
diff --git a/src/lib/evas/canvas/evas_filter_mixin.c 
b/src/lib/evas/canvas/evas_filter_mixin.c
index 70e37b0..046683b 100644
--- a/src/lib/evas/canvas/evas_filter_mixin.c
+++ b/src/lib/evas/canvas/evas_filter_mixin.c
@@ -1,3 +1,5 @@
+#define EVAS_FILTER_PROTECTED
+
 #include "evas_common_private.h"
 #include "evas_private.h"
 #include "../../lib/efl/interfaces/efl_gfx_filter.eo.h"
diff --git a/src/lib/evas/canvas/evas_object_image.c 
b/src/lib/evas/canvas/evas_object_image.c
index 0446ede..807f27c 100644
--- a/src/lib/evas/canvas/evas_object_image.c
+++ b/src/lib/evas/canvas/evas_object_image.c
@@ -1,3 +1,5 @@
+#define EVAS_FILTER_PROTECTED
+
 #include "evas_common_private.h"
 
 #include <sys/types.h>
diff --git a/src/lib/evas/canvas/evas_object_text.c 
b/src/lib/evas/canvas/evas_object_text.c
index 21b91d9..1113791 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -1,3 +1,5 @@
+#define EVAS_FILTER_PROTECTED
+
 #include "evas_common_private.h" /* Includes evas_bidi_utils stuff. */
 #include "evas_private.h"
 

-- 


Reply via email to