Enlightenment CVS committal Author : barbieri Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas Modified Files: evas_events.c evas_focus.c evas_key.c evas_name.c evas_object_main.c evas_smart.c evas_stack.c Log Message: Add const to Evas aoi (part 3), still lacks objects. =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_events.c,v retrieving revision 1.55 retrieving revision 1.56 diff -u -3 -r1.55 -r1.56 --- evas_events.c 23 Jan 2008 09:00:59 -0000 1.55 +++ evas_events.c 8 Feb 2008 21:42:01 -0000 1.56 @@ -1165,7 +1165,7 @@ * @return pointer behavior. */ EAPI Evas_Object_Pointer_Mode -evas_object_pointer_mode_get(Evas_Object *obj) +evas_object_pointer_mode_get(const Evas_Object *obj) { MAGIC_CHECK(obj, Evas_Object, MAGIC_OBJ); return 0; =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_focus.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- evas_focus.c 4 Jun 2007 09:48:27 -0000 1.7 +++ evas_focus.c 8 Feb 2008 21:42:01 -0000 1.8 @@ -89,7 +89,7 @@ * @return The object that has focus or NULL is there is not one. */ EAPI Evas_Object * -evas_focus_get(Evas *e) +evas_focus_get(const Evas *e) { MAGIC_CHECK(e, Evas, MAGIC_EVAS); return NULL; =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_key.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -3 -r1.11 -r1.12 --- evas_key.c 4 Jun 2007 09:48:27 -0000 1.11 +++ evas_key.c 8 Feb 2008 21:42:01 -0000 1.12 @@ -3,11 +3,8 @@ /* private calls */ -static int evas_key_modifier_number(Evas_Modifier *m, const char *keyname); -static int evas_key_lock_number(Evas_Lock *l, const char *keyname); - static int -evas_key_modifier_number(Evas_Modifier *m, const char *keyname) +evas_key_modifier_number(const Evas_Modifier *m, const char *keyname) { int i; @@ -19,7 +16,7 @@ } static int -evas_key_lock_number(Evas_Lock *l, const char *keyname) +evas_key_lock_number(const Evas_Lock *l, const char *keyname) { int i; @@ -50,8 +47,8 @@ * @return An Evas_Modifier handle to query the modifier subsystem with * evas_key_modifier_is_set_get, or NULL on error. */ -EAPI Evas_Modifier * -evas_key_modifier_get(Evas *e) +EAPI const Evas_Modifier * +evas_key_modifier_get(const Evas *e) { MAGIC_CHECK(e, Evas, MAGIC_EVAS); return NULL; @@ -74,8 +71,8 @@ * @return An Evas_Lock handle to query the lock subsystem with * evas_key_lock_is_set_get, or NULL on error. */ -EAPI Evas_Lock * -evas_key_lock_get(Evas *e) +EAPI const Evas_Lock * +evas_key_lock_get(const Evas *e) { MAGIC_CHECK(e, Evas, MAGIC_EVAS); return NULL; @@ -405,7 +402,7 @@ * @returns the bit mask or 0 if the @p keyname wasn't registered as a modifier. */ EAPI Evas_Modifier_Mask -evas_key_modifier_mask_get(Evas *e, const char *keyname) +evas_key_modifier_mask_get(const Evas *e, const char *keyname) { Evas_Modifier_Mask num; int n; =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_name.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- evas_name.c 6 Jan 2006 23:05:17 -0000 1.9 +++ evas_name.c 8 Feb 2008 21:42:01 -0000 1.10 @@ -57,7 +57,7 @@ * @ingroup Evas_Object_Name_Group */ EAPI Evas_Object * -evas_object_name_find(Evas *e, const char *name) +evas_object_name_find(const Evas *e, const char *name) { MAGIC_CHECK(e, Evas, MAGIC_EVAS); return NULL; =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_object_main.c,v retrieving revision 1.61 retrieving revision 1.62 diff -u -3 -r1.61 -r1.62 --- evas_object_main.c 5 Oct 2007 04:52:10 -0000 1.61 +++ evas_object_main.c 8 Feb 2008 21:42:01 -0000 1.62 @@ -1037,7 +1037,7 @@ * @ingroup Evas_Object_Finders */ EAPI Evas_Object * -evas_object_top_at_xy_get(Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects) +evas_object_top_at_xy_get(const Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects) { Evas_Object_List *l; int xx, yy; @@ -1079,7 +1079,7 @@ * @ingroup Evas_Object_Finders */ EAPI Evas_Object * -evas_object_top_at_pointer_get(Evas *e) +evas_object_top_at_pointer_get(const Evas *e) { //// return evas_object_top_at_xy_get(e, e->pointer.canvas_x, e->pointer.canvas_y, 0, 0); return evas_object_top_at_xy_get(e, e->pointer.x, e->pointer.y, 1, 1); @@ -1092,7 +1092,7 @@ * @ingroup Evas_Object_Finders */ EAPI Evas_Object * -evas_object_top_in_rectangle_get(Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects) +evas_object_top_in_rectangle_get(const Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects) { Evas_Object_List *l; int xx, yy, ww, hh; @@ -1140,7 +1140,7 @@ * @ingroup Evas_Object_Finders */ EAPI Evas_List * -evas_objects_at_xy_get(Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects) +evas_objects_at_xy_get(const Evas *e, Evas_Coord x, Evas_Coord y, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects) { Evas_List *in = NULL; Evas_Object_List *l; @@ -1183,7 +1183,7 @@ * @ingroup Evas_Object_Finders */ EAPI Evas_List * -evas_objects_in_rectangle_get(Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects) +evas_objects_in_rectangle_get(const Evas *e, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h, Evas_Bool include_pass_events_objects, Evas_Bool include_hidden_objects) { Evas_List *in = NULL; Evas_Object_List *l; =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_smart.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- evas_smart.c 8 Feb 2008 20:03:48 -0000 1.18 +++ evas_smart.c 8 Feb 2008 21:42:01 -0000 1.19 @@ -148,7 +148,7 @@ * @return the Evas_Smart_Class */ EAPI const Evas_Smart_Class * -evas_smart_class_get(Evas_Smart *s) +evas_smart_class_get(const Evas_Smart *s) { MAGIC_CHECK(s, Evas_Smart, MAGIC_SMART); return NULL; @@ -167,7 +167,7 @@ * */ EAPI void * -evas_smart_data_get(Evas_Smart *s) +evas_smart_data_get(const Evas_Smart *s) { MAGIC_CHECK(s, Evas_Smart, MAGIC_SMART); return NULL; =================================================================== RCS file: /cvs/e/e17/libs/evas/src/lib/canvas/evas_stack.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- evas_stack.c 8 Dec 2006 07:51:48 -0000 1.24 +++ evas_stack.c 8 Feb 2008 21:42:01 -0000 1.25 @@ -398,7 +398,7 @@ * */ EAPI Evas_Object * -evas_object_bottom_get(Evas *e) +evas_object_bottom_get(const Evas *e) { MAGIC_CHECK(e, Evas, MAGIC_EVAS); return NULL; @@ -425,7 +425,7 @@ * */ EAPI Evas_Object * -evas_object_top_get(Evas *e) +evas_object_top_get(const Evas *e) { Evas_Object *obj = NULL; Evas_Object_List *list; ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs