From b2eda6080201942d36a31f886391c6b6cbf8a2bc Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 23 Jul 2014 14:07:32 +0100 Subject: [PATCH] Interfaces: remove interfaces that we don't use. --- src/Makefile_Efl.am | 12 -- src/lib/efl/interfaces/efl_interface_color.eo | 33 ---- .../interfaces/efl_interface_gui_object.eo | 147 ------------------ src/lib/efl/interfaces/efl_interface_image.eo | 28 ---- src/lib/efl/interfaces/efl_interface_part.eo | 18 --- src/lib/efl/interfaces/efl_interface_text.eo | 33 ---- 6 files changed, 271 deletions(-) delete mode 100644 src/lib/efl/interfaces/efl_interface_color.eo delete mode 100644 src/lib/efl/interfaces/efl_interface_gui_object.eo delete mode 100644 src/lib/efl/interfaces/efl_interface_image.eo delete mode 100644 src/lib/efl/interfaces/efl_interface_part.eo delete mode 100644 src/lib/efl/interfaces/efl_interface_text.eo diff --git a/src/Makefile_Efl.am b/src/Makefile_Efl.am index 96bc595329..1d0db37ce6 100644 --- a/src/Makefile_Efl.am +++ b/src/Makefile_Efl.am @@ -1,24 +1,12 @@ BUILT_SOURCES += \ - lib/efl/interfaces/efl_interface_color.eo.c \ - lib/efl/interfaces/efl_interface_color.eo.h \ lib/efl/interfaces/efl_file.eo.c \ lib/efl/interfaces/efl_file.eo.h \ - lib/efl/interfaces/efl_interface_gui_object.eo.c \ - lib/efl/interfaces/efl_interface_gui_object.eo.h \ - lib/efl/interfaces/efl_interface_image.eo.c \ - lib/efl/interfaces/efl_interface_image.eo.h \ - lib/efl/interfaces/efl_interface_text.eo.c \ - lib/efl/interfaces/efl_interface_text.eo.h \ lib/efl/interfaces/efl_text_properties.eo.c \ lib/efl/interfaces/efl_text_properties.eo.h efleolianfilesdir = $(datadir)/eolian/include/efl-@VMAJ@ efleolianfiles_DATA = \ - lib/efl/interfaces/efl_interface_color.eo \ lib/efl/interfaces/efl_file.eo \ - lib/efl/interfaces/efl_interface_gui_object.eo \ - lib/efl/interfaces/efl_interface_image.eo \ - lib/efl/interfaces/efl_interface_text.eo \ lib/efl/interfaces/efl_text_properties.eo EXTRA_DIST += \ diff --git a/src/lib/efl/interfaces/efl_interface_color.eo b/src/lib/efl/interfaces/efl_interface_color.eo deleted file mode 100644 index d7a0cfb553..0000000000 --- a/src/lib/efl/interfaces/efl_interface_color.eo +++ /dev/null @@ -1,33 +0,0 @@ -interface Efl_Interface_Color { - legacy_prefix: null; - properties { - color { - set { - } - get { - } - values { - int r; /*@ The red component of the given color. */ - int g; /*@ The green component of the given color. */ - int b; /*@ The blue component of the given color. */ - int a; /*@ The alpha component of the given color. */ - } - } - color_part { - set { - } - get { - } - keys { - const(Efl_Interface_Part) *part; - } - values { - int r; /*@ The red component of the given color. */ - int g; /*@ The green component of the given color. */ - int b; /*@ The blue component of the given color. */ - int a; /*@ The alpha component of the given color. */ - } - } - } -} - diff --git a/src/lib/efl/interfaces/efl_interface_gui_object.eo b/src/lib/efl/interfaces/efl_interface_gui_object.eo deleted file mode 100644 index ae0e17bffd..0000000000 --- a/src/lib/efl/interfaces/efl_interface_gui_object.eo +++ /dev/null @@ -1,147 +0,0 @@ -interface Efl_Interface_Gui_Object { - legacy_prefix: null; - properties { - size { - set { - /*@ Changes the size of the given Evas object. */ - } - get { - /*@ Retrieves the (rectangular) size of the given Evas object. */ - } - values { - Evas_Coord w; /*@ in */ - Evas_Coord h; /*@ in */ - } - } - above { - get { - /*@ - Get the Evas object stacked right above @p obj - - @return the #Evas_Object directly above @p obj, if any, or @c NULL, - if none - - This function will traverse layers in its search, if there are - objects on layers above the one @p obj is placed at. - - @see evas_object_layer_get() - @see evas_object_layer_set() - @see evas_object_below_get() */ - return Evas_Object * @warn_unused; - } - } - below { - get { - /*@ - Get the Evas object stacked right below @p obj - - @return the #Evas_Object directly below @p obj, if any, or @c NULL, - if none - - This function will traverse layers in its search, if there are - objects on layers below the one @p obj is placed at. - - @see evas_object_layer_get() - @see evas_object_layer_set() - @see evas_object_below_get() */ - return Evas_Object * @warn_unused; - } - } - visibility { - set { - /*@ Makes the given Evas object visible or invisible. */ - legacy null; - } - get { - /*@ Retrieves whether or not the given Evas object is visible. */ - legacy null; - } - values { - Eina_Bool v; /*@ @c EINA_TRUE if to make the object visible, @c EINA_FALSE otherwise */ - } - } - } - methods { - stack_above { - /*@ - Stack @p obj immediately above @p above - - Objects, in a given canvas, are stacked in the order they get added - to it. This means that, if they overlap, the highest ones will - cover the lowest ones, in that order. This function is a way to - change the stacking order for the objects. - - This function is intended to be used with objects belonging to - the same layer in a given canvas, otherwise it will fail (and - accomplish nothing). - - If you have smart objects on your canvas and @p obj is a member of - one of them, then @p above must also be a member of the same - smart object. - - Similarly, if @p obj is not a member of a smart object, @p above - must not be either. - - @see evas_object_layer_get() - @see evas_object_layer_set() - @see evas_object_stack_below() */ - - params { - @in Evas_Object *above @nonull; /*@ the object above which to stack */ - } - } - stack_below { - /*@ - Stack @p obj immediately below @p below - - Objects, in a given canvas, are stacked in the order they get added - to it. This means that, if they overlap, the highest ones will - cover the lowest ones, in that order. This function is a way to - change the stacking order for the objects. - - This function is intended to be used with objects belonging to - the same layer in a given canvas, otherwise it will fail (and - accomplish nothing). - - If you have smart objects on your canvas and @p obj is a member of - one of them, then @p below must also be a member of the same - smart object. - - Similarly, if @p obj is not a member of a smart object, @p below - must not be either. - - @see evas_object_layer_get() - @see evas_object_layer_set() - @see evas_object_stack_below() */ - - params { - @in Evas_Object *below @nonull; /*@ the object below which to stack */ - } - } - raise { - /*@ - Raise @p obj to the top of its layer. - - @p obj will, then, be the highest one in the layer it belongs - to. Object on other layers won't get touched. - - @see evas_object_stack_above() - @see evas_object_stack_below() - @see evas_object_lower() */ - - } - lower { - /*@ - Lower @p obj to the bottom of its layer. - - @p obj will, then, be the lowest one in the layer it belongs - to. Objects on other layers won't get touched. - - @see evas_object_stack_above() - @see evas_object_stack_below() - @see evas_object_raise() */ - - } - } -} - diff --git a/src/lib/efl/interfaces/efl_interface_image.eo b/src/lib/efl/interfaces/efl_interface_image.eo deleted file mode 100644 index edbf693550..0000000000 --- a/src/lib/efl/interfaces/efl_interface_image.eo +++ /dev/null @@ -1,28 +0,0 @@ -interface Efl_Interface_File { - legacy_prefix: null; - properties { - data_copy { - set { - } - values { - void *data; /*@ The raw data to replace. */ - } - } - } - methods { - data_set { - params { - @in void *data; /*@ The raw data, or @c NULL. */ - } - } - data_get { - const; - return void * @warn_unused; - params { - @in Eina_Bool for_writing; /*@ Whether the data being retrieved will be - modified (@c EINA_TRUE) or not (@c EINA_FALSE). */ - } - } - } -} - diff --git a/src/lib/efl/interfaces/efl_interface_part.eo b/src/lib/efl/interfaces/efl_interface_part.eo deleted file mode 100644 index 90d3c6e82c..0000000000 --- a/src/lib/efl/interfaces/efl_interface_part.eo +++ /dev/null @@ -1,18 +0,0 @@ -interface Efl_Interface_Part { - legacy_prefix: null; - eo_prefix: efl; - properties { - part { - set { - } - get { - } - keys { - const(char) *name; /*@ part name. */ - } - values { - Eo *pobj; /*@ the object that populates the part. */ - } - } - } -} diff --git a/src/lib/efl/interfaces/efl_interface_text.eo b/src/lib/efl/interfaces/efl_interface_text.eo deleted file mode 100644 index f7a8002178..0000000000 --- a/src/lib/efl/interfaces/efl_interface_text.eo +++ /dev/null @@ -1,33 +0,0 @@ -interface Efl_Interface_Text { - legacy_prefix: null; - properties { - text_markup { - set { - /*@ - Sets the tetxblock's text to the markup text. - - @note assumes text does not include the unicode object replacement char (0xFFFC) - - @return Return no value. */ - } - get { - /*@ - Return the markup of the object. - - @return the markup text of the object. */ - } - values { - const(char) *text; /*@ the markup text to use. */ - } - } - cursor { - get { - /*@ - Return the object's main cursor. - - @return The @p obj's main cursor. */ - return Evas_Textblock_Cursor *; - } - } - } -}