want_ecore_con_local_sockets="no"
want_ecore_con_abstract_sockets="no"
else
- want_cares="no" # TODO: REVIEW
+ want_cares="no"
fi
AC_DEFINE_IF([HAVE_LOCAL_SOCKETS],
-I$(top_builddir)/src/lib/ecore_con \
-I$(top_builddir)/src/lib/ecore_evas \
-I$(top_builddir)/src/lib/ecore_audio \
--DPACKAGE_EXAMPLES_DIR=\"$(datadir)/ecore/examples\" \
@ECORE_CFLAGS@
EXTRA_PROGRAMS = \
eina_value_02.c \
eina_value_03.c \
eina_inarray_01.c \
-eina_inarray_02.c
-#eina_magic_01.c \
+eina_inarray_02.c \
+eina_magic_01.c
#eina_model_01.c \
#eina_model_02.c \
#eina_model_03.c
#eina_model_04_parrot.h \
#eina_model_04_whistler.h
-# TODO: use ecore_evas from single tree
-#if BUILD_TILER_EXAMPLE
-#AM_CPPFLAGS += @ECORE_EVAS_CFLAGS@
-#EXTRA_PROGRAMS += eina_tiler_01
-#eina_tiler_01_LDADD = $(top_builddir)/src/lib/eina/libeina.la @ECORE_EVAS_LDFLAGS@
-#endif
+EXTRA_PROGRAMS += eina_tiler_01
+
+eina_tiler_01_CPPFLAGS = \
+-I$(top_srcdir)/src/lib/eina \
+-I$(top_srcdir)/src/lib/eo \
+-I$(top_srcdir)/src/lib/evas \
+-I$(top_srcdir)/src/lib/ecore \
+-I$(top_srcdir)/src/lib/ecore_input \
+-I$(top_srcdir)/src/lib/ecore_evas \
+-I$(top_builddir)/src/lib/eina \
+-I$(top_builddir)/src/lib/eo \
+-I$(top_builddir)/src/lib/evas \
+-I$(top_builddir)/src/lib/ecore \
+-I$(top_srcdir)/src/lib/ecore_input \
+-I$(top_builddir)/src/lib/ecore_evas \
+@EINA_CFLAGS@
+
+eina_tiler_01_LDADD = \
+$(top_builddir)/src/lib/eina/libeina.la \
+$(top_builddir)/src/lib/eo/libeo.la \
+$(top_builddir)/src/lib/ecore/libecore.la \
+$(top_builddir)/src/lib/ecore_input/libecore_input.la \
+$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
+$(top_builddir)/src/lib/evas/libevas.la \
+@EINA_LDFLAGS@
examples: $(EXTRA_PROGRAMS)
evas_init_shutdown_SOURCES = evas-init-shutdown.c
evas_init_shutdown_LDADD = $(top_builddir)/src/lib/evas/libevas.la @EVAS_LDFLAGS@
-#the ones using ecore_evas follow
-#AM_CPPFLAGS += @ECORE_EVAS_CFLAGS@
-
-#EXTRA_PROGRAMS += evas_images
-#evas_images_SOURCES = evas-images.c
-#evas_images_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@
-
-#EXTRA_PROGRAMS += evas_events
-#evas_events_SOURCES = evas-events.c
-#evas_events_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@
-
-#EXTRA_PROGRAMS += evas_object_manipulation
-#evas_object_manipulation_SOURCES = evas-object-manipulation.c
-#evas_object_manipulation_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@
-
-#EXTRA_PROGRAMS += evas_object_manipulation-eo
-#evas_object_manipulation_SOURCES = evas-object-manipulation-eo.c
-#evas_object_manipulation_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@
-
-#EXTRA_PROGRAMS += evas_hints
-#evas_hints_SOURCES = evas-hints.c
-#evas_hints_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@
-
-#EXTRA_PROGRAMS += evas_stacking
-#evas_stacking_SOURCES = evas-stacking.c
-#evas_stacking_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@
-
-#EXTRA_PROGRAMS += evas_images2
-#evas_images2_SOURCES = evas-images2.c
-#evas_images2_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@
-
-#EXTRA_PROGRAMS += evas_images3
-#evas_images3_SOURCES = evas-images3.c
-#evas_images3_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@
-
-#EXTRA_PROGRAMS += evas_text
-#evas_text_SOURCES = evas-text.c
-#evas_text_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@
-
-#EXTRA_PROGRAMS += evas_smart_object
-#evas_smart_object_SOURCES = evas-smart-object.c
-#evas_smart_object_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@
-
-#EXTRA_PROGRAMS += evas_smart_interface
-#evas_smart_interface_SOURCES = evas-smart-interface.c
-#evas_smart_interface_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@
+ECORE_EVAS_COMMON_CPPFLAGS = \
+-I$(top_srcdir)/src/lib/eina \
+-I$(top_srcdir)/src/lib/eo \
+-I$(top_srcdir)/src/lib/evas \
+-I$(top_srcdir)/src/lib/ecore \
+-I$(top_srcdir)/src/lib/ecore_input \
+-I$(top_srcdir)/src/lib/ecore_evas \
+-I$(top_builddir)/src/lib/eina \
+-I$(top_builddir)/src/lib/eo \
+-I$(top_builddir)/src/lib/evas \
+-I$(top_builddir)/src/lib/ecore \
+-I$(top_srcdir)/src/lib/ecore_input \
+-I$(top_builddir)/src/lib/ecore_evas \
+-DPACKAGE_EXAMPLES_DIR=\".\" \
+@EVAS_CFLAGS@
-#EXTRA_PROGRAMS += evas_box
-#evas_box_SOURCES = evas-box.c
-#evas_box_LDADD = $(top_builddir)/src/lib/evas/libevas.la @ECORE_EVAS_LIBS@ @EVAS_GENERAL_LIBS@
+ECORE_EVAS_COMMON_LDADD = \
+$(top_builddir)/src/lib/eina/libeina.la \
+$(top_builddir)/src/lib/eo/libeo.la \
+$(top_builddir)/src/lib/ecore/libecore.la \
+$(top_builddir)/src/lib/ecore_input/libecore_input.la \
+$(top_builddir)/src/lib/ecore_evas/libecore_evas.la \
+$(top_builddir)/src/lib/evas/libevas.la \
+@EVAS_LDFLAGS@
+
+EXTRA_PROGRAMS += evas_images
+evas_images_SOURCES = evas-images.c
+evas_images_LDADD = $(ECORE_EVAS_COMMON_LDADD)
+evas_images_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)
+
+EXTRA_PROGRAMS += evas_events
+evas_events_SOURCES = evas-events.c
+evas_events_LDADD = $(ECORE_EVAS_COMMON_LDADD)
+evas_events_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)
+
+EXTRA_PROGRAMS += evas_object_manipulation
+evas_object_manipulation_SOURCES = evas-object-manipulation.c
+evas_object_manipulation_LDADD = $(ECORE_EVAS_COMMON_LDADD)
+evas_object_manipulation_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)
+
+EXTRA_PROGRAMS += evas_object_manipulation-eo
+evas_object_manipulation_eo_SOURCES = evas-object-manipulation-eo.c
+evas_object_manipulation_eo_LDADD = $(ECORE_EVAS_COMMON_LDADD)
+evas_object_manipulation_eo_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)
+
+EXTRA_PROGRAMS += evas_hints
+evas_hints_SOURCES = evas-hints.c
+evas_hints_LDADD = $(ECORE_EVAS_COMMON_LDADD)
+evas_hints_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)
+
+EXTRA_PROGRAMS += evas_stacking
+evas_stacking_SOURCES = evas-stacking.c
+evas_stacking_LDADD = $(ECORE_EVAS_COMMON_LDADD)
+evas_stacking_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)
+
+EXTRA_PROGRAMS += evas_images2
+evas_images2_SOURCES = evas-images2.c
+evas_images2_LDADD = $(ECORE_EVAS_COMMON_LDADD)
+evas_images2_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)
+
+EXTRA_PROGRAMS += evas_images3
+evas_images3_SOURCES = evas-images3.c
+evas_images3_LDADD = $(ECORE_EVAS_COMMON_LDADD)
+evas_images3_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)
+
+EXTRA_PROGRAMS += evas_text
+evas_text_SOURCES = evas-text.c
+evas_text_LDADD = $(ECORE_EVAS_COMMON_LDADD)
+evas_text_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)
+
+EXTRA_PROGRAMS += evas_smart_object
+evas_smart_object_SOURCES = evas-smart-object.c
+evas_smart_object_LDADD = $(ECORE_EVAS_COMMON_LDADD)
+evas_smart_object_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)
+
+EXTRA_PROGRAMS += evas_smart_interface
+evas_smart_interface_SOURCES = evas-smart-interface.c
+evas_smart_interface_LDADD = $(ECORE_EVAS_COMMON_LDADD)
+evas_smart_interface_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)
+
+EXTRA_PROGRAMS += evas_box
+evas_box_SOURCES = evas-box.c
+evas_box_LDADD = $(ECORE_EVAS_COMMON_LDADD)
+evas_box_CPPFLAGS = $(ECORE_EVAS_COMMON_CPPFLAGS)
#the ones using ecore_evas and edje follow
#AM_CPPFLAGS += @EDJE_CFLAGS@
*/
#ifdef HAVE_CONFIG_H
-
#include "config.h"
+#else
+#define PACKAGE_EXAMPLES_DIR "."
#endif
#include <Ecore.h>
}
static void
-_on_keydown(void *data __UNUSED__,
- Evas *evas __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
Evas_Object *o,
void *einfo)
{
*/
#ifdef HAVE_CONFIG_H
-
#include "config.h"
#else
#define PACKAGE_EXAMPLES_DIR "."
-#define __UNUSED__
#endif
#include <Ecore.h>
static void /* custom 'diagonal' layout */
_custom_layout(Evas_Object *o,
Evas_Object_Box_Data *p,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
int x, y, w, h;
int xx, yy, ww, hh;
/* use the following commands to interact with this example - 'h' is
* the key for help */
static void
-_on_keydown(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *einfo)
{
Evas_Event_Key_Down *ev = einfo;
}
static void
-_on_delete(Ecore_Evas *ee __UNUSED__)
+_on_delete(Ecore_Evas *ee EINA_UNUSED)
{
ecore_main_loop_quit();
}
#include "config.h"
#else
-
#define PACKAGE_EXAMPLES_DIR "."
-#define __UNUSED__
-
#endif
#include <Ecore.h>
/* called when our rectangle gets focus */
static void
-_object_focus_in_cb(void *data __UNUSED__,
+_object_focus_in_cb(void *data EINA_UNUSED,
Evas *e,
void *event_info)
{
/* render flush callback */
static void
-_render_flush_cb(void *data __UNUSED__,
- Evas *e __UNUSED__,
- void *event_info __UNUSED__)
+_render_flush_cb(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
fprintf(stdout, "Canvas is about to flush its rendering pipeline!\n");
}
/* put some action in the canvas */
static Eina_Bool
-_resize_cb(void *data __UNUSED__)
+_resize_cb(void *data EINA_UNUSED)
{
int w, h, cw, ch;
/* let's have our events back */
static Eina_Bool
-_thaw_cb(void *data __UNUSED__)
+_thaw_cb(void *data EINA_UNUSED)
{
fprintf(stdout, "Canvas was frozen %d times, now thawing.\n",
evas_event_freeze_get(d.canvas));
/* mouse enters the object's area */
static void
-_on_mouse_in(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
- void *einfo __UNUSED__)
+_on_mouse_in(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
+ void *einfo EINA_UNUSED)
{
fprintf(stdout, "Enlightenment logo has had the mouse in.\n");
}
static void
-_on_mouse_out(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
- void *einfo __UNUSED__)
+_on_mouse_out(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
+ void *einfo EINA_UNUSED)
{
fprintf(stdout, "Enlightenment logo has had the mouse out.\n");
} /* mouse exits the object's area */
/* examine the keys pressed */
static void
-_on_keydown(void *data __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
Evas *evas,
- Evas_Object *o __UNUSED__,
+ Evas_Object *o EINA_UNUSED,
void *einfo)
{
const Evas_Modifier *mods;
#ifdef HAVE_CONFIG_H
#include "config.h"
#else
-#define __UNUSED__
+#define PACKAGE_EXAMPLES_DIR "."
#endif
#include <Ecore.h>
#define WIDTH 320
#define HEIGHT 480
-#define PACKAGE_EXAMPLES_DIR "."
static const char commands[] = \
"commands are:\n"
/* use the following commands to interact with this example - 'h' is
* the key for help */
static void
-_on_keydown(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *einfo)
{
Evas_Event_Key_Down *ev = einfo;
}
static void
-_on_destroy(Ecore_Evas *ee __UNUSED__)
+_on_destroy(Ecore_Evas *ee EINA_UNUSED)
{
ecore_main_loop_quit();
}
*/
#ifdef HAVE_CONFIG_H
-
#include "config.h"
#else
-
#define PACKAGE_EXAMPLES_DIR "."
-#define __UNUSED__
-
#endif
#include <Ecore.h>
static struct test_data d = {0};
static void
-_on_destroy(Ecore_Evas *ee __UNUSED__)
+_on_destroy(Ecore_Evas *ee EINA_UNUSED)
{
ecore_main_loop_quit();
}
}
static void
-_on_keydown(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *einfo)
{
Evas_Event_Key_Down *ev = einfo;
*/
#ifdef HAVE_CONFIG_H
-
#include "config.h"
#else
-
#define PACKAGE_EXAMPLES_DIR "."
-#define __UNUSED__
-
#endif
#include <Ecore.h>
static struct test_data d = {0};
static void
-_mouse_down(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj,
+_mouse_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj,
void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
}
static void
-_mouse_move(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj,
+_mouse_move(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj,
void *event_info)
{
Evas_Event_Mouse_Move *ev = event_info;
}
static void
-_mouse_up(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj,
+_mouse_up(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj,
void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
}
static void
-_multi_down(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj,
+_multi_down(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj,
void *event_info)
{
Evas_Event_Multi_Down *ev = event_info;
}
static void
-_multi_move(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj,
+_multi_move(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj,
void *event_info)
{
Evas_Event_Multi_Move *ev = event_info;
}
static void
-_multi_up(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj,
+_multi_up(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj,
void *event_info)
{
Evas_Event_Multi_Up *ev = event_info;
}
static void
-_mouse_in(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj,
+_mouse_in(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj,
void *event_info)
{
Evas_Event_Mouse_In *ev = event_info;
}
static void
-_mouse_out(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj,
+_mouse_out(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj,
void *event_info)
{
Evas_Event_Mouse_Out *ev = event_info;
}
static void
-_hold(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj,
+_hold(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj,
void *event_info)
{
Evas_Event_Hold *ev = event_info;
}
static void
-_on_preloaded(void *data __UNUSED__,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_on_preloaded(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
fprintf(stdout, "Image has been pre-loaded!\n");
}
static void
-_on_destroy(Ecore_Evas *ee __UNUSED__)
+_on_destroy(Ecore_Evas *ee EINA_UNUSED)
{
ecore_main_loop_quit();
}
}
static void
-_on_keydown(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *einfo)
{
Evas_Event_Key_Down *ev = einfo;
*/
#ifdef HAVE_CONFIG_H
-
#include "config.h"
#else
-
#define PACKAGE_EXAMPLES_DIR "."
-#define __UNUSED__
-
#endif
#include <Ecore.h>
static struct test_data d = {0};
static void
-_on_destroy(Ecore_Evas *ee __UNUSED__)
+_on_destroy(Ecore_Evas *ee EINA_UNUSED)
{
ecore_main_loop_quit();
}
}
static void
-_on_keydown(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *einfo)
{
Evas_Event_Key_Down *ev = einfo;
#ifdef HAVE_CONFIG_H
#include "config.h"
#else
-#define __UNUSED__
+#define PACKAGE_EXAMPLES_DIR "."
#endif
#include <Ecore.h>
}
static void
-_on_resize(void *data __UNUSED__, Evas *e, Evas_Object *o __UNUSED__, void *event __UNUSED__)
+_on_resize(void *data EINA_UNUSED, Evas *e, Evas_Object *o EINA_UNUSED, void *event EINA_UNUSED)
{
_objs_fit(e);
}
static void
-_on_free(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *o __UNUSED__, void *event __UNUSED__)
+_on_free(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event EINA_UNUSED)
{
ecore_main_loop_quit();
}
*/
#ifdef HAVE_CONFIG_H
-
#include "config.h"
#else
-
#define PACKAGE_EXAMPLES_DIR "."
-#define __UNUSED__
-
#endif
#include <Ecore.h>
}
static void
-_on_keydown(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *einfo)
{
Evas_Event_Key_Down *ev = einfo;
*/
#ifdef HAVE_CONFIG_H
-
#include "config.h"
#else
-
#define PACKAGE_EXAMPLES_DIR "."
-#define __UNUSED__
-
#endif
#include <Ecore.h>
}
static void
-_on_keydown(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *einfo)
{
Evas_Event_Key_Down *ev = einfo;
*/
#ifdef HAVE_CONFIG_H
-
#include "config.h"
#else
-
#define PACKAGE_EXAMPLES_DIR "."
-#define __UNUSED__
-
#endif
#include <Ecore.h>
_smart_interfaces);
static void
-_on_destroy(Ecore_Evas *ee __UNUSED__)
+_on_destroy(Ecore_Evas *ee EINA_UNUSED)
{
ecore_main_loop_quit();
}
static void
_on_child_del(void *data,
- Evas *evas __UNUSED__,
+ Evas *evas EINA_UNUSED,
Evas_Object *o,
- void *einfo __UNUSED__)
+ void *einfo EINA_UNUSED)
{
Evas_Object *example_smart = data;
long idx;
/* END OF example smart object's own interface */
static void
-_on_keydown(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *einfo)
{
Evas_Event_Key_Down *ev = einfo;
static void
/* callback on number of member objects changed */
-_on_example_smart_object_child_num_change(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_on_example_smart_object_child_num_change(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
fprintf(stdout, "Number of child members on our example smart"
#include "config.h"
#else
-
#define PACKAGE_EXAMPLES_DIR "."
-#define __UNUSED__
-
#endif
#include <Ecore.h>
evas_object_smart_clipped_class_get, _smart_callbacks);
static void
-_on_destroy(Ecore_Evas *ee __UNUSED__)
+_on_destroy(Ecore_Evas *ee EINA_UNUSED)
{
ecore_main_loop_quit();
}
static void
_on_child_del(void *data,
- Evas *evas __UNUSED__,
+ Evas *evas EINA_UNUSED,
Evas_Object *o,
- void *einfo __UNUSED__)
+ void *einfo EINA_UNUSED)
{
Evas_Object *example_smart = data;
long idx;
}
static void
-_on_keydown(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *einfo)
{
Evas_Event_Key_Down *ev = einfo;
static void
/* callback on number of member objects changed */
-_on_example_smart_object_child_num_change(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_on_example_smart_object_child_num_change(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
fprintf(stdout, "Number of child members on our example smart"
#ifdef HAVE_CONFIG_H
#include "config.h"
#else
-
-#define __UNUSED__
-
+#define PACKAGE_EXAMPLES_DIR "."
#endif
#include <Ecore.h>
"\th - print help\n";
static void
-_on_mouse_down(void *data __UNUSED__,
- Evas *evas __UNUSED__,
+_on_mouse_down(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
Evas_Object *o,
- void *einfo __UNUSED__)
+ void *einfo EINA_UNUSED)
{
fprintf(stdout, "Mouse down on rectangle %s!\n", evas_object_name_get(o));
}
/* use the following commands to interact with this example - 'h' is
* the key for help */
static void
-_on_keydown(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *einfo)
{
Evas_Event_Key_Down *ev = einfo;
}
static void
-_on_destroy(Ecore_Evas *ee __UNUSED__)
+_on_destroy(Ecore_Evas *ee EINA_UNUSED)
{
ecore_main_loop_quit();
}
#ifdef HAVE_CONFIG_H
#include "config.h"
-#else
-#define __UNUSED__
#endif
#include <Ecore.h>
static struct test_data d = {0};
static void
-_on_destroy(Ecore_Evas *ee __UNUSED__)
+_on_destroy(Ecore_Evas *ee EINA_UNUSED)
{
ecore_main_loop_quit();
}
*/
#ifdef HAVE_CONFIG_H
-
#include "config.h"
#else
-
#define PACKAGE_EXAMPLES_DIR "."
-#define __UNUSED__
-
#endif
#include <Ecore.h>
static struct test_data d = {0};
static void
-_on_destroy(Ecore_Evas *ee __UNUSED__)
+_on_destroy(Ecore_Evas *ee EINA_UNUSED)
{
ecore_main_loop_quit();
}
}
static void
-_on_keydown(void *data __UNUSED__,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+_on_keydown(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *einfo)
{
Evas_Event_Key_Down *ev = einfo;