* and the entry itself doesn't, yet, support all the needed capabilities to
* make this simpler. We begin by getting the format we are using in our
* function from the button pressed.
- * @skip _format_change_cb(void *data, Evas_Object *obj, void *event __UNUSED__)
+ * @skip _format_change_cb(void *data, Evas_Object *obj, void *event EINA_UNUSED))
* @until sizeof(fmt_close)
*
* Next we need to find out if we need to insert an opening or a closing tag.
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#else
-# define __UNUSED__
+# define EINA_UNUSED
#endif
static char *
-_grid_text_get(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- const char *part __UNUSED__)
+_grid_text_get(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ const char *part EINA_UNUSED)
{
return strdup("label");
}
static Evas_Object *
-_grid_content_get(void *data __UNUSED__,
+_grid_content_get(void *data EINA_UNUSED,
Evas_Object *obj,
const char *part)
{
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#else
-# define __UNUSED__
+# define EINA_UNUSED
#endif
static char *
-_text_get(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- const char *part __UNUSED__)
+_text_get(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ const char *part EINA_UNUSED)
{
return strdup("label");
}
static Evas_Object *
-_content_get(void *data __UNUSED__,
+_content_get(void *data EINA_UNUSED,
Evas_Object *obj,
- const char *part __UNUSED__)
+ const char *part EINA_UNUSED)
{
Evas_Object *icon = elm_icon_add(obj);
elm_icon_standard_set(icon, "home");
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#else
-# define __UNUSED__
+# define EINA_UNUSED
#endif
static char *
-_text_get(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_text_get(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
const char *part)
{
return strdup(part);
}
static Evas_Object *
-_content_get(void *data __UNUSED__,
+_content_get(void *data EINA_UNUSED,
Evas_Object *obj,
- const char *part __UNUSED__)
+ const char *part EINA_UNUSED)
{
Evas_Object *icon = elm_icon_add(obj);
elm_icon_standard_set(icon, "home");
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#else
-# define __UNUSED__
+# define EINA_UNUSED
#endif
static char *
-_text_get(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_text_get(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
const char *part)
{
return strdup(part);
}
static Evas_Object *
-_content_get(void *data __UNUSED__,
+_content_get(void *data EINA_UNUSED,
Evas_Object *obj,
- const char *part __UNUSED__)
+ const char *part EINA_UNUSED)
{
Evas_Object *icon = elm_icon_add(obj);
elm_icon_standard_set(icon, "home");
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#else
-# define __UNUSED__
+# define EINA_UNUSED
#endif
static char *
-_text_get(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_text_get(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
const char *part)
{
return strdup(part);
}
static Evas_Object *
-_content_get(void *data __UNUSED__,
+_content_get(void *data EINA_UNUSED,
Evas_Object *obj,
- const char *part __UNUSED__)
+ const char *part EINA_UNUSED)
{
Evas_Object *icon = elm_icon_add(obj);
elm_icon_standard_set(icon, "home");
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#else
-# define __UNUSED__
+# define EINA_UNUSED
#endif
static char *
-_text_get(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_text_get(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
const char *part)
{
return strdup(part);
}
static Evas_Object *
-_content_get(void *data __UNUSED__,
+_content_get(void *data EINA_UNUSED,
Evas_Object *obj,
- const char *part __UNUSED__)
+ const char *part EINA_UNUSED)
{
Evas_Object *icon = elm_icon_add(obj);
elm_icon_standard_set(icon, "home");
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#else
-# define __UNUSED__
+# define EINA_UNUSED
#endif
#include <Elementary.h>
}
EAPI_MAIN int
-elm_main(int argc __UNUSED__, char **argv)
+elm_main(int argc EINA_UNUSED, char **argv)
{
Evas_Object *win, *bg;
Evas_Coord w, h;
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#else
-# define __UNUSED__
+# define EINA_UNUSED
#endif
#include <Elementary.h>
EAPI_MAIN int
-elm_main(int argc __UNUSED__, char **argv)
+elm_main(int argc EINA_UNUSED, char **argv)
{
Evas_Object *win, *bg;
Evas_Coord w, h;
}
static void
-_rd1_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_rd1_changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Show_Data *sd = data;
sd->winmode = elm_radio_state_value_get(obj);
}
static void
-_rd2_changed_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_rd2_changed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Show_Data *sd = data;
sd->scrollto = elm_radio_state_value_get(obj);
}
static void
-_bring_in_clicked_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_bring_in_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *grid;
static Item_Data ti[5000];
}
static void
-_show_clicked_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_show_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *grid;
static Item_Data ti[10000];
}
void
-test_progressbar2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+test_progressbar2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *win, *pb, *bx, *bt, *bt_bx;
Progressbar_Data *pd;
}
static void
-_external_obj_del(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_external_obj_del(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
evas_object_event_callback_del(obj, EVAS_CALLBACK_DEL,
_external_obj_del);
}
void
-external_signal(void *data __UNUSED__, Evas_Object *obj, const char *sig, const char *source)
+external_signal(void *data EINA_UNUSED, Evas_Object *obj, const char *sig, const char *source)
{
char *_signal = strdup(sig);
char *p = _signal;
}
const char *
-external_translate(void *data __UNUSED__, const char *orig)
+external_translate(void *data EINA_UNUSED, const char *orig)
{
// in future, mark all params as translatable and use dgettext()
// with "elementary" text domain here.
} Elm_External_Signals_Proxy_Context;
static void
-_external_signal_proxy_free_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_external_signal_proxy_free_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_External_Signals_Proxy_Context *ctxt = data;
free(ctxt);
}
static void
-_external_signal_proxy_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_external_signal_proxy_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_External_Signals_Proxy_Context *ctxt = data;
// TODO: Is it worth to check Evas_Smart_Cb_Description and do something
}
Eina_Bool
-external_common_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_common_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "style"))
{
}
Eina_Bool
-external_common_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_common_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "style"))
{
}
void
-external_common_params_parse(void *mem, void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_common_params_parse(void *mem, void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params *p;
const Eina_List *l;
}
void
-external_common_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_common_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params *p;
if (to_params) p = to_params;
} Elm_Params_Actionslider;
static void
-external_actionslider_state_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_actionslider_state_set(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Actionslider *p;
}
static Eina_Bool
-external_actionslider_param_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Edje_External_Param *param)
+external_actionslider_param_set(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Edje_External_Param *param)
{
if ((param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
&& (!strcmp(param->name, "label")))
}
static Eina_Bool
-external_actionslider_param_get(void *data __UNUSED__, const Evas_Object *obj __UNUSED__, Edje_External_Param *param)
+external_actionslider_param_get(void *data EINA_UNUSED, const Evas_Object *obj EINA_UNUSED, Edje_External_Param *param)
{
if ((param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
&& (!strcmp(param->name, "label")))
}
static void *
-external_actionslider_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_actionslider_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Actionslider *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_actionslider_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_actionslider_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
}
static void
-external_bg_state_set(void *data __UNUSED__, Evas_Object *obj,
+external_bg_state_set(void *data EINA_UNUSED, Evas_Object *obj,
const void *from_params, const void *to_params,
- float pos __UNUSED__)
+ float pos EINA_UNUSED)
{
const Elm_Params_Bg *p;
Elm_Bg_Option option;
}
static Eina_Bool
-external_bg_param_set(void *data __UNUSED__, Evas_Object *obj,
+external_bg_param_set(void *data EINA_UNUSED, Evas_Object *obj,
const Edje_External_Param *param)
{
if ((!strcmp(param->name, "file"))
}
static Eina_Bool
-external_bg_param_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__,
+external_bg_param_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED,
Edje_External_Param *param)
{
if ((!strcmp(param->name, "file"))
}
static void *
-external_bg_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
+external_bg_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
const Eina_List *params)
{
Elm_Params_Bg *mem;
}
static Evas_Object *
-external_bg_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__,
- const char *content __UNUSED__)
+external_bg_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED,
+ const char *content EINA_UNUSED)
{
ERR("no content");
return NULL;
} Elm_Params_Bubble;
static void
-external_bubble_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_bubble_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Bubble *p;
}
static Eina_Bool
-external_bubble_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_bubble_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_bubble_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_bubble_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_bubble_params_parse(void *data __UNUSED__, Evas_Object *obj, const Eina_List *params)
+external_bubble_params_parse(void *data EINA_UNUSED, Evas_Object *obj, const Eina_List *params)
{
Elm_Params_Bubble *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_bubble_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_bubble_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
if (!strcmp(content, "content"))
return elm_object_content_get(obj);
} Elm_Params_Button;
static void
-external_button_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_button_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Button *p;
}
static Eina_Bool
-external_button_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_button_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_button_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_button_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_button_params_parse(void *data __UNUSED__, Evas_Object *obj, const Eina_List *params)
+external_button_params_parse(void *data EINA_UNUSED, Evas_Object *obj, const Eina_List *params)
{
Elm_Params_Button *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_button_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_button_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
}
static void
-external_calendar_state_set(void *data __UNUSED__, Evas_Object *obj,
+external_calendar_state_set(void *data EINA_UNUSED, Evas_Object *obj,
const void *from_params, const void *to_params,
- float pos __UNUSED__)
+ float pos EINA_UNUSED)
{
const Elm_Params_Calendar *p;
Elm_Calendar_Select_Mode select_mode;
}
static Eina_Bool
-external_calendar_param_set(void *data __UNUSED__, Evas_Object *obj,
+external_calendar_param_set(void *data EINA_UNUSED, Evas_Object *obj,
const Edje_External_Param *param)
{
int min,max;
}
static Eina_Bool
-external_calendar_param_get(void *data __UNUSED__, const Evas_Object *obj,
+external_calendar_param_get(void *data EINA_UNUSED, const Evas_Object *obj,
Edje_External_Param *param)
{
int min, max;
}
static void *
-external_calendar_params_parse(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+external_calendar_params_parse(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
const Eina_List *params)
{
Elm_Params_Calendar *mem;
}
static Evas_Object *
-external_calendar_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__,
- const char *content __UNUSED__)
+external_calendar_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED,
+ const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_Check;
static void
-external_check_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_check_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Check *p;
}
static Eina_Bool
-external_check_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_check_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_check_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_check_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_check_params_parse(void *data __UNUSED__, Evas_Object *obj, const Eina_List *params)
+external_check_params_parse(void *data EINA_UNUSED, Evas_Object *obj, const Eina_List *params)
{
Elm_Params_Check *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_check_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_check_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_Clock;
static void
-external_clock_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_clock_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Clock *p;
}
static Eina_Bool
-external_clock_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_clock_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "hours"))
{
}
static Eina_Bool
-external_clock_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_clock_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "hours"))
{
}
static void *
-external_clock_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_clock_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Clock *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_clock_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_clock_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
}
static void
-external_entry_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_entry_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Entry *p;
Eina_Bool hbounce, vbounce;
}
static Eina_Bool
-external_entry_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_entry_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_entry_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_entry_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_entry_params_parse(void *data __UNUSED__, Evas_Object *obj, const Eina_List *params)
+external_entry_params_parse(void *data EINA_UNUSED, Evas_Object *obj, const Eina_List *params)
{
Elm_Params_Entry *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_entry_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_entry_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_Fileselector;
static void
-external_fileselector_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_fileselector_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Fileselector *p;
}
static Eina_Bool
-external_fileselector_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_fileselector_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "save"))
{
}
static Eina_Bool
-external_fileselector_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_fileselector_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "save"))
{
}
static void *
-external_fileselector_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_fileselector_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Fileselector *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_fileselector_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_fileselector_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_fileselector_button;
static void
-external_fileselector_button_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_fileselector_button_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_fileselector_button *p;
}
static Eina_Bool
-external_fileselector_button_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_fileselector_button_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_fileselector_button_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_fileselector_button_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_fileselector_button_params_parse(void *data __UNUSED__, Evas_Object *obj, const Eina_List *params)
+external_fileselector_button_params_parse(void *data EINA_UNUSED, Evas_Object *obj, const Eina_List *params)
{
Elm_Params_fileselector_button *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_fileselector_button_content_get(void *data __UNUSED__, const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_fileselector_button_content_get(void *data EINA_UNUSED, const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_fileselector_entry;
static void
-external_fileselector_entry_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_fileselector_entry_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_fileselector_entry *p;
}
static Eina_Bool
-external_fileselector_entry_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_fileselector_entry_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_fileselector_entry_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_fileselector_entry_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_fileselector_entry_params_parse(void *data __UNUSED__, Evas_Object *obj, const Eina_List *params)
+external_fileselector_entry_params_parse(void *data EINA_UNUSED, Evas_Object *obj, const Eina_List *params)
{
Elm_Params_fileselector_entry *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_fileselector_entry_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_fileselector_entry_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_Frame;
static void
-external_frame_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_frame_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Frame *p;
}
static Eina_Bool
-external_frame_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_frame_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_frame_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_frame_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_frame_params_parse(void *data __UNUSED__, Evas_Object *obj, const Eina_List *params)
+external_frame_params_parse(void *data EINA_UNUSED, Evas_Object *obj, const Eina_List *params)
{
Elm_Params_Frame *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_frame_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_frame_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
if (!strcmp(content, "content"))
return elm_object_content_get(obj);
} Elm_Params_Gengrid;
static void
-external_gengrid_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_gengrid_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Gengrid *p;
}
static Eina_Bool
-external_gengrid_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_gengrid_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "multi select"))
{
}
static Eina_Bool
-external_gengrid_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_gengrid_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "multi select"))
{
}
static void *
-external_gengrid_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_gengrid_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Gengrid *mem;
Edje_External_Param *param;
}
static Evas_Object *
-external_gengrid_content_get(void *data __UNUSED__, const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+external_gengrid_content_get(void *data EINA_UNUSED, const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
}
static void
-external_genlist_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_genlist_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Genlist *p;
}
static Eina_Bool
-external_genlist_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_genlist_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "horizontal mode"))
{
}
static Eina_Bool
-external_genlist_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_genlist_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "horizontal mode"))
{
}
static void *
-external_genlist_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_genlist_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Genlist *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_genlist_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_genlist_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_Hoversel;
static void
-external_hoversel_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_hoversel_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Hoversel *p;
}
static Eina_Bool
-external_hoversel_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_hoversel_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_hoversel_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_hoversel_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_hoversel_params_parse(void *data __UNUSED__, Evas_Object *obj, const Eina_List *params)
+external_hoversel_params_parse(void *data EINA_UNUSED, Evas_Object *obj, const Eina_List *params)
{
Elm_Params_Hoversel *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_hoversel_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_hoversel_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
static Elm_Params_Icon *param_icon;
static void
-external_icon_state_set(void *data __UNUSED__, Evas_Object *obj,
+external_icon_state_set(void *data EINA_UNUSED, Evas_Object *obj,
const void *from_params, const void *to_params,
- float pos __UNUSED__)
+ float pos EINA_UNUSED)
{
const Elm_Params_Icon *p;
Evas_Object *edje;
}
static Eina_Bool
-external_icon_param_set(void *data __UNUSED__, Evas_Object *obj,
+external_icon_param_set(void *data EINA_UNUSED, Evas_Object *obj,
const Edje_External_Param *param)
{
Evas_Object *edje;
}
static Eina_Bool
-external_icon_param_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__,
+external_icon_param_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED,
Edje_External_Param *param)
{
if (!strcmp(param->name, "file")
}
static void *
-external_icon_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
+external_icon_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
const Eina_List *params)
{
Elm_Params_Icon *mem;
}
static Evas_Object *
-external_icon_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__,
- const char *content __UNUSED__)
+external_icon_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED,
+ const char *content EINA_UNUSED)
{
ERR("no content");
return NULL;
} Elm_Params_Index;
static void
-external_index_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_index_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Index *p;
}
static Eina_Bool
-external_index_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_index_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "active"))
{
}
static Eina_Bool
-external_index_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_index_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "active"))
{
}
static void *
-external_index_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_index_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Index *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_index_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_index_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_Label;
static void
-external_label_state_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_label_state_set(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Label *p;
}
static Eina_Bool
-external_label_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_label_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_label_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_label_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_label_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params __UNUSED__)
+external_label_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params EINA_UNUSED)
{
Elm_Params_Label *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_label_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_label_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("no content");
return NULL;
}
static void
-external_list_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_list_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_List *p;
Elm_Scroller_Policy policy_h, policy_v;
}
static Eina_Bool
-external_list_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_list_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "list mode"))
{
}
static Eina_Bool
-external_list_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_list_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "horizontal mode"))
{
}
static void *
-external_list_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_list_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_List *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_list_content_get(void *data __UNUSED__, const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_list_content_get(void *data EINA_UNUSED, const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
}
static void
-external_map_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_map_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Map *p;
}
static Eina_Bool
-external_map_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_map_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "map source"))
{
}
static Eina_Bool
-external_map_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_map_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "map source"))
{
}
static void *
-external_map_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_map_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Map *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_map_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_map_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_Multibuttonentry;
static void
-external_multibuttonentry_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_multibuttonentry_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Multibuttonentry *p;
}
static Eina_Bool
-external_multibuttonentry_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_multibuttonentry_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_multibuttonentry_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_multibuttonentry_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_multibuttonentry_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_multibuttonentry_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Multibuttonentry *mem = NULL;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_multibuttonentry_content_get(void *data __UNUSED__, const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_multibuttonentry_content_get(void *data EINA_UNUSED, const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("so content");
return NULL;
} Elm_Params_Naviframe;
static void
-external_naviframe_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params,
- const void *to_params, float pos __UNUSED__)
+external_naviframe_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params,
+ const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Naviframe *p;
}
static Eina_Bool
-external_naviframe_param_set(void *data __UNUSED__, Evas_Object *obj,
+external_naviframe_param_set(void *data EINA_UNUSED, Evas_Object *obj,
const Edje_External_Param *param)
{
if (!strcmp(param->name, "preserve on pop"))
}
static Eina_Bool
-external_naviframe_param_get(void *data __UNUSED__, const Evas_Object *obj,
+external_naviframe_param_get(void *data EINA_UNUSED, const Evas_Object *obj,
Edje_External_Param *param)
{
if (!strcmp(param->name, "preserve on pop"))
}
static void *
-external_naviframe_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__,
+external_naviframe_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
const Eina_List *params)
{
Elm_Params_Naviframe *mem;
return mem;
}
-static Evas_Object *external_naviframe_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_naviframe_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
}
static void
-external_notify_state_set(void *data __UNUSED__,
+external_notify_state_set(void *data EINA_UNUSED,
Evas_Object *obj, const void *from_params,
- const void *to_params, float pos __UNUSED__)
+ const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Notify *p;
}
static Eina_Bool
-external_notify_param_set(void *data __UNUSED__,
+external_notify_param_set(void *data EINA_UNUSED,
Evas_Object *obj, const Edje_External_Param *param)
{
if ((!strcmp(param->name, "content"))
}
static Eina_Bool
-external_notify_param_get(void *data __UNUSED__,
+external_notify_param_get(void *data EINA_UNUSED,
const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "content"))
}
static void *
-external_notify_params_parse(void *data __UNUSED__, Evas_Object *obj,
+external_notify_params_parse(void *data EINA_UNUSED, Evas_Object *obj,
const Eina_List *params) {
Elm_Params_Notify *mem;
Edje_External_Param *param;
}
static Evas_Object *
-external_notify_content_get(void *data __UNUSED__,
+external_notify_content_get(void *data EINA_UNUSED,
const Evas_Object *obj, const char *content)
{
if (!strcmp(content, "content"))
Eina_Bool fixed;
};
-static void external_panes_state_set(void *data __UNUSED__,
+static void external_panes_state_set(void *data EINA_UNUSED,
Evas_Object *obj, const void *from_params,
- const void *to_params, float pos __UNUSED__)
+ const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Panes *p;
elm_panes_fixed_set(obj, p->fixed);
}
-static Eina_Bool external_panes_param_set(void *data __UNUSED__,
+static Eina_Bool external_panes_param_set(void *data EINA_UNUSED,
Evas_Object *obj, const Edje_External_Param *param)
{
if ((!strcmp(param->name, "content left"))
}
static Eina_Bool
-external_panes_param_get(void *data __UNUSED__, const Evas_Object *obj,
+external_panes_param_get(void *data EINA_UNUSED, const Evas_Object *obj,
Edje_External_Param *param)
{
if (!strcmp(param->name, "content left"))
}
static void *
-external_panes_params_parse(void *data __UNUSED__, Evas_Object *obj,
+external_panes_params_parse(void *data EINA_UNUSED, Evas_Object *obj,
const Eina_List *params)
{
Elm_Params_Panes *mem;
}
static Evas_Object *
-external_panes_content_get(void *data __UNUSED__, const Evas_Object *obj,
+external_panes_content_get(void *data EINA_UNUSED, const Evas_Object *obj,
const char *content)
{
if (!strcmp(content, "left"))
}
static void
-external_photocam_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_photocam_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Photocam *p;
}
static Eina_Bool
-external_photocam_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_photocam_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "file"))
{
}
static Eina_Bool
-external_photocam_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_photocam_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "file"))
{
}
static void *
-external_photocam_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_photocam_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Photocam *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_photocam_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_photocam_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_Progressbar;
static void
-external_progressbar_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_progressbar_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Progressbar *p;
}
static Eina_Bool
-external_progressbar_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_progressbar_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_progressbar_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_progressbar_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_progressbar_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_progressbar_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Progressbar *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_progressbar_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_progressbar_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_Radio;
static void
-external_radio_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_radio_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Radio *p;
}
static Eina_Bool
-external_radio_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_radio_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_radio_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_radio_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_radio_params_parse(void *data __UNUSED__, Evas_Object *obj, const Eina_List *params)
+external_radio_params_parse(void *data EINA_UNUSED, Evas_Object *obj, const Eina_List *params)
{
Elm_Params_Radio *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_radio_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_radio_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
-static void external_scroller_state_set(void *data __UNUSED__,
+static void external_scroller_state_set(void *data EINA_UNUSED,
Evas_Object *obj, const void *from_params,
- const void *to_params, float pos __UNUSED__)
+ const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Scroller *p;
}
}
-static Eina_Bool external_scroller_param_set(void *data __UNUSED__,
+static Eina_Bool external_scroller_param_set(void *data EINA_UNUSED,
Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "content")
return EINA_FALSE;
}
-static Eina_Bool external_scroller_param_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, Edje_External_Param *param)
+static Eina_Bool external_scroller_param_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, Edje_External_Param *param)
{
if (!strcmp(param->name, "content"))
{
return EINA_FALSE;
}
-static void * external_scroller_params_parse(void *data __UNUSED__, Evas_Object *obj,
+static void * external_scroller_params_parse(void *data EINA_UNUSED, Evas_Object *obj,
const Eina_List *params) {
Elm_Params_Scroller *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_scroller_content_get(void *data __UNUSED__,
+static Evas_Object *external_scroller_content_get(void *data EINA_UNUSED,
const Evas_Object *obj, const char *content)
{
if (!strcmp(content, "content"))
} Elm_Params_Segment_Control;
static void
-external_segment_control_state_set(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- const void *from_params __UNUSED__,
- const void *to_params __UNUSED__,
- float pos __UNUSED__)
+external_segment_control_state_set(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ const void *from_params EINA_UNUSED,
+ const void *to_params EINA_UNUSED,
+ float pos EINA_UNUSED)
{
/* FIXME: no params, no setting */
}
static Eina_Bool
-external_segment_control_param_set(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Edje_External_Param *param)
+external_segment_control_param_set(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Edje_External_Param *param)
{
ERR("unknown parameter '%s' of type '%s'",
param->name, edje_external_param_type_str(param->type));
}
static Eina_Bool
-external_segment_control_param_get(void *data __UNUSED__, const Evas_Object *obj __UNUSED__, Edje_External_Param *param)
+external_segment_control_param_get(void *data EINA_UNUSED, const Evas_Object *obj EINA_UNUSED, Edje_External_Param *param)
{
ERR("unknown parameter '%s' of type '%s'",
param->name, edje_external_param_type_str(param->type));
}
static void *
-external_segment_control_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params __UNUSED__)
+external_segment_control_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params EINA_UNUSED)
{
Elm_Params_Segment_Control *mem;
//Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_segment_control_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_segment_control_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_Slider;
static void
-external_slider_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_slider_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Slider *p;
}
static Eina_Bool
-external_slider_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_slider_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static Eina_Bool
-external_slider_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_slider_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label"))
{
}
static void *
-external_slider_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_slider_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Slider *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_slider_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_slider_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
static const char *layout[] = { "fullscreen", "not_fullscreen", NULL};
static void
-external_slideshow_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_slideshow_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Slideshow *p;
}
static Eina_Bool
-external_slideshow_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_slideshow_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "timeout"))
{
}
static Eina_Bool
-external_slideshow_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_slideshow_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "timeout"))
{
}
static void *
-external_slideshow_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_slideshow_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Slideshow *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_slideshow_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_slideshow_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
}
static void
-external_slideshow_params_free(void *params __UNUSED__)
+external_slideshow_params_free(void *params EINA_UNUSED)
{
return;
}
} Elm_Params_Spinner;
static void
-external_spinner_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_spinner_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Spinner *p;
}
static Eina_Bool
-external_spinner_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_spinner_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "label format"))
{
}
static Eina_Bool
-external_spinner_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_spinner_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "label format"))
{
}
static void *
-external_spinner_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_spinner_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Spinner *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_spinner_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_spinner_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
}
static void
-external_thumb_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_thumb_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Thumb *p;
}
static Eina_Bool
-external_thumb_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_thumb_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "animate"))
{
}
static Eina_Bool
-external_thumb_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_thumb_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "animate"))
{
}
static void *
-external_thumb_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_thumb_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Thumb *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_thumb_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_thumb_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
DEFINE_EXTERNAL_ICON_ADD(thumb, "thumb")
static Evas_Object *
-external_thumb_add(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *edje, const Eina_List *params __UNUSED__, const char *part_name)
+external_thumb_add(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *edje, const Eina_List *params EINA_UNUSED, const char *part_name)
{
Evas_Object *parent, *obj;
external_elm_init();
}
static void
-external_toolbar_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_toolbar_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Toolbar *p;
Elm_Toolbar_Shrink_Mode shrink_mode;
}
static Eina_Bool
-external_toolbar_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_toolbar_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
Elm_Toolbar_Shrink_Mode shrink_mode;
}
static Eina_Bool
-external_toolbar_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_toolbar_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "icon size"))
{
}
static void *
-external_toolbar_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_toolbar_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Toolbar *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_toolbar_content_get(void *data __UNUSED__,
- const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_toolbar_content_get(void *data EINA_UNUSED,
+ const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
} Elm_Params_Video;
static void
-external_video_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_video_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Video *p;
}
static Eina_Bool
-external_video_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_video_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if ((param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
&& (!strcmp(param->name, "file")))
}
static Eina_Bool
-external_video_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_video_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if ((param->type == EDJE_EXTERNAL_PARAM_TYPE_STRING)
&& (!strcmp(param->name, "file")))
return EINA_FALSE; }
-static void * external_video_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+static void * external_video_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Video *mem;
Edje_External_Param *param;
return mem;
}
-static Evas_Object *external_video_content_get(void *data __UNUSED__, const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+static Evas_Object *external_video_content_get(void *data EINA_UNUSED, const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
ERR("No content.");
return NULL;
}
static void
-external_web_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__)
+external_web_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED)
{
const Elm_Params_Web *p;
}
static Eina_Bool
-external_web_param_set(void *data __UNUSED__, Evas_Object *obj, const Edje_External_Param *param)
+external_web_param_set(void *data EINA_UNUSED, Evas_Object *obj, const Edje_External_Param *param)
{
if (!strcmp(param->name, "uri"))
{
}
static Eina_Bool
-external_web_param_get(void *data __UNUSED__, const Evas_Object *obj, Edje_External_Param *param)
+external_web_param_get(void *data EINA_UNUSED, const Evas_Object *obj, Edje_External_Param *param)
{
if (!strcmp(param->name, "uri"))
{
}
static void *
-external_web_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params)
+external_web_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params)
{
Elm_Params_Web *mem;
Edje_External_Param *param;
}
static Evas_Object *
-external_web_content_get(void *data __UNUSED__, const Evas_Object *obj __UNUSED__, const char *content __UNUSED__)
+external_web_content_get(void *data EINA_UNUSED, const Evas_Object *obj EINA_UNUSED, const char *content EINA_UNUSED)
{
return NULL;
}
};
static Evas_Object *
-external_web_add(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *edje, const Eina_List *params __UNUSED__, const char *part_name)
+external_web_add(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *edje, const Eina_List *params EINA_UNUSED, const char *part_name)
{
Evas_Object *parent, *obj;
external_elm_init();
return external_##type_name##_param_get(data, obj, param); \
} \
static const char * \
-external_##type_name##_label_get(void *data __UNUSED__) \
+external_##type_name##_label_get(void *data EINA_UNUSED) \
{ \
return name; \
} \
\
static void \
-_external_##type_name##_state_set(void *data __UNUSED__, Evas_Object *obj, const void *from_params, const void *to_params, float pos __UNUSED__) \
+_external_##type_name##_state_set(void *data EINA_UNUSED, Evas_Object *obj, const void *from_params, const void *to_params, float pos EINA_UNUSED) \
{ \
external_common_state_set(data, obj, from_params, to_params, pos); \
external_##type_name##_state_set(data, obj, from_params, to_params, pos); \
} \
\
static void * \
-_external_##type_name##_params_parse(void *data __UNUSED__, Evas_Object *obj __UNUSED__, const Eina_List *params) \
+_external_##type_name##_params_parse(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, const Eina_List *params) \
{ \
void *mem = external_##type_name##_params_parse(data, obj, params); \
external_common_params_parse(mem, data, obj, params); \
#define DEFINE_EXTERNAL_TYPE_SIMPLE(type_name, name) \
static Evas_Object * \
-external_##type_name##_add(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *edje, const Eina_List *params __UNUSED__, const char *part_name) \
+external_##type_name##_add(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *edje, const Eina_List *params EINA_UNUSED, const char *part_name) \
{ \
Evas_Object *parent, *obj; \
external_elm_init(); \
#define DEFINE_EXTERNAL_ICON_ADD(type_name, name) \
Evas_Object * \
-external_##type_name##_icon_add(void *data __UNUSED__, Evas *e) { \
+external_##type_name##_icon_add(void *data EINA_UNUSED, Evas *e) { \
Evas_Object *ic; \
int w = 20, h = 10; \
\
static void
_on_parent_del(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
evas_object_del(data);
}
static void
_on_parent_move(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_CTXPOPUP_DATA_GET(data, sd);
static void
_on_parent_resize(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_CTXPOPUP_DATA_GET(data, sd);
static void
_on_content_resized(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_CTXPOPUP_DATA_GET(data, sd);
static void
_bg_clicked_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_CTXPOPUP_DATA_GET(data, sd);
}
static void
-_on_show(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_on_show(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_CTXPOPUP_DATA_GET(obj, sd);
}
static void
-_on_hide(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_on_hide(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_CTXPOPUP_DATA_GET(obj, sd);
}
static void
-_on_move(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_on_move(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_CTXPOPUP_DATA_GET(obj, sd);
static void
_hide_finished_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_hide(data);
evas_object_smart_callback_call(data, SIG_DISMISSED, NULL);
static void
_list_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_CTXPOPUP_DATA_GET(data, sd);
}
static void
-_ctxpopup_restack_cb(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_ctxpopup_restack_cb(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_CTXPOPUP_DATA_GET(obj, sd);
evas_object_stack_below(sd->bg, obj);
}
static void
-_item_wrap_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_item_wrap_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Ctxpopup_Item *item = data;
if (!item->wcb.org_func_cb) return;
/*** GENLIST/GENGRID "MODEL" ***/
static char *
_itc_text_get(void *data,
- Evas_Object *obj __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
return elm_entry_utf8_to_markup
(ecore_file_file_get(data)); /* NOTE this will be free()'d by
}
static Evas_Object *
-_itc_icon_folder_get(void *data __UNUSED__,
+_itc_icon_folder_get(void *data EINA_UNUSED,
Evas_Object *obj,
const char *source)
{
}
static Evas_Object *
-_itc_icon_file_get(void *data __UNUSED__,
+_itc_icon_file_get(void *data EINA_UNUSED,
Evas_Object *obj,
const char *source)
{
}
static Eina_Bool
-_itc_state_get(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- const char *source __UNUSED__)
+_itc_state_get(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
return EINA_FALSE;
}
static void
_itc_del(void *data,
- Evas_Object *obj __UNUSED__)
+ Evas_Object *obj EINA_UNUSED)
{
eina_stringshare_del(data);
}
static Eina_Bool
_ls_filter_cb(void *data,
- Eio_File *handler __UNUSED__,
+ Eio_File *handler EINA_UNUSED,
const Eina_File_Direct_Info *info)
{
Listing_Request *lreq = data;
}
static void
-_ls_done_cb(void *data, Eio_File *handler __UNUSED__)
+_ls_done_cb(void *data, Eio_File *handler EINA_UNUSED)
{
Listing_Request *lreq = data;
}
static void
-_ls_error_cb(void *data, Eio_File *handler, int error __UNUSED__)
+_ls_error_cb(void *data, Eio_File *handler, int error EINA_UNUSED)
{
Listing_Request *lreq = data;
static void
_on_list_expanded(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Object_Item *it = event_info;
}
static void
-_on_list_contracted(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_on_list_contracted(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Object_Item *it = event_info;
}
static void
-_on_list_expand_req(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_on_list_expand_req(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Object_Item *it = event_info;
}
static void
-_on_list_contract_req(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_on_list_contract_req(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Object_Item *it = event_info;
static void
_on_item_double_clicked(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
//This event_info could be a list or gengrid item
static void
_on_item_activated(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
//This event_info could be a list or gengrid item
static void
_on_item_selected(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
//This event_info could be a list or gengrid item
static void
_on_item_unselected(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Eina_List *li, *l;
static void
_on_dir_up(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs = data;
char *parent;
static void
_home(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs = data;
static void
_current_filter_changed(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Fileselector_Filter *filter = data;
static void
_ok(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
const char *name;
const char *selection = NULL;
static void
_canc(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs = data;
}
static void
-_on_text_clicked(void *data __UNUSED__,
+_on_text_clicked(void *data EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_FILESELECTOR_DATA_GET(data, sd);
static void
_on_text_activated(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Object *fs = data;
const char *p, *path;
static void
_on_text_unfocused(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_FILESELECTOR_DATA_GET(data, sd);
_anchors_do(data, sd->path);
static void
_anchor_clicked(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Entry_Anchor_Info *info = event_info;
}
static void
-_multi_select_set(Eo *obj __UNUSED__, void *_pd, va_list *list __UNUSED__)
+_multi_select_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
{
Eina_Bool multi = va_arg(*list, int);
Elm_Fileselector_Smart_Data *sd = _pd;
}
static void
-_selected_paths_get(Eo *obj __UNUSED__, void *_pd, va_list *list)
+_selected_paths_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
{
const Eina_List **ret = va_arg(*list, const Eina_List**);
Elm_Fileselector_Smart_Data *sd = _pd;
}
static void
-_hidden_visible_set(Eo *obj __UNUSED__, void *_pd, va_list *list EINA_UNUSED)
+_hidden_visible_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
{
Eina_Bool visible = va_arg(*list, int);
Elm_Fileselector_Smart_Data *sd = _pd;
}
static void
-_thumbnail_size_set(Eo *obj __UNUSED__, void *_pd, va_list *list EINA_UNUSED)
+_thumbnail_size_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
{
Evas_Coord w = va_arg(*list, Evas_Coord);
Evas_Coord h = va_arg(*list, Evas_Coord);
}
static void
-_sort_method_set(Eo *obj __UNUSED__, void *_pd, va_list *list EINA_UNUSED)
+_sort_method_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list EINA_UNUSED)
{
Elm_Fileselector_Sort sort = va_arg(*list, Elm_Fileselector_Sort);
Elm_Fileselector_Smart_Data *sd = _pd;
static void
_selection_done(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Fileselector_Button_Smart_Data *sd = data;
static void
_button_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_activate(data);
}
#define SIG_FWD(name) \
static void \
- _##name##_fwd(void *data, Evas_Object * obj __UNUSED__, void *event_info) \
+ _##name##_fwd(void *data, Evas_Object * obj EINA_UNUSED, void *event_info) \
{ \
evas_object_smart_callback_call(data, SIG_##name, event_info); \
}
static void
_FILE_CHOSEN_fwd(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
const char *file = event_info;
static void
_ACTIVATED_fwd(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
const char *file;
static void
_on_hover_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_hoversel_hover_end(data);
}
static void
_on_item_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Hoversel_Item *item = data;
Evas_Object *obj2 = WIDGET(item);
static void
_on_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_activate(data);
}
static void
_on_parent_del(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_hoversel_hover_parent_set(data, NULL);
}
}
static void
-_elm_hoversel_smart_add(Eo *obj, void *_pd __UNUSED__,
+_elm_hoversel_smart_add(Eo *obj, void *_pd EINA_UNUSED,
va_list *list EINA_UNUSED)
{
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
static void
_button_clicked_cb(void *data,
Evas_Object *obj,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Multibuttonentry_Item *item = NULL;
static void
_button_deleted_cb(void *data,
Evas_Object *obj,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Eina_List *l;
Elm_Multibuttonentry_Item *item = NULL;
static void
_mouse_clicked_signal_cb(void *data,
Evas_Object *obj,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Multibuttonentry_Smart_Data *sd = data;
static void
_box_resize_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event __UNUSED__)
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event EINA_UNUSED)
{
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(data, sd);
Evas_Coord w, h;
static void
_entry_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(data, sd);
Evas_Coord en_x, en_y, en_w, en_h;
static void
_entry_changed_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(data, sd);
const char *str;
static void
_entry_focus_in_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Multibuttonentry_Item *item = NULL;
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(data, sd);
static void
_entry_focus_out_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(data, sd);
const char *str;
static void
_entry_clicked_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(data, sd);
static void
_layout_key_up_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Multibuttonentry_Item *item = NULL;
static void
_entry_key_down_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(data, sd);
static void
_entry_key_up_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(data, sd);
static void
_box_layout_cb(Evas_Object *o,
Evas_Object_Box_Data *priv,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
Evas_Coord cw = 0, ch = 0, cmaxh = 0, obj_index = 0;
Evas_Coord x, y, w, h, xx, yy;
}
static char *
-_access_info_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_info_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
char *ret;
Eina_Strbuf *buf;
static const char SIG_CLICKED[] = "clicked";
-static void _on_item_back_btn_clicked(void *data, Evas_Object *obj, void *event_info __UNUSED__);
+static void _on_item_back_btn_clicked(void *data, Evas_Object *obj, void *event_info EINA_UNUSED);
static void
_resize_object_reset(Evas_Object *obj, Elm_Naviframe_Item *it)
static void
_item_content_del_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Naviframe_Item *it = data;
static void
_item_title_prev_btn_del_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Naviframe_Item *it = data;
static void
_item_title_next_btn_del_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Naviframe_Item *it = data;
static void
_item_title_icon_del_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Naviframe_Item *it = data;
static void
_title_content_del(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
char buf[1024];
Elm_Naviframe_Content_Item_Pair *pair = data;
}
static char *
-_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
Elm_Naviframe_Item *nit;
Evas_Object *layout;
static void
_on_item_back_btn_clicked(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
/* Since edje has the event queue, clicked event could be happend
multiple times on some heavy environment. This callback del will
static void
_on_item_title_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Naviframe_Item *it = data;
*/
static void
_on_item_push_finished(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Naviframe_Item *it = data;
*/
static void
_on_item_pop_finished(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Naviframe_Item *it = data;
*/
static void
_on_item_show_finished(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Naviframe_Item *it = data;
static void
_on_item_size_hints_changed(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
}
static char *
-_access_prev_btn_info_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__)
+_access_prev_btn_info_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED)
{
return strdup(E_("Back"));
}
}
static void
-_on_obj_size_hints_changed(void *data __UNUSED__, Evas *e __UNUSED__,
- Evas_Object *obj, void *event_info __UNUSED__)
+_on_obj_size_hints_changed(void *data EINA_UNUSED, Evas *e EINA_UNUSED,
+ Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Naviframe_Item *it;
Evas_Display_Mode dispmode;
static void
_update_slider(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
double pos, length;
Eina_Bool seekable;
static void
_update_position(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
double pos;
ELM_PLAYER_DATA_GET(data, sd);
static void
_drag_start(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_PLAYER_DATA_GET(data, sd);
sd->dragging = EINA_TRUE;
static void
_drag_stop(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_PLAYER_DATA_GET(data, sd);
sd->dragging = EINA_FALSE;
static void
_update_volume(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
double vol;
ELM_PLAYER_DATA_GET(data, sd);
static void
_forward(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
double pos, length;
ELM_PLAYER_DATA_GET(data, sd);
static void
_info(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,button,info", "elm");
evas_object_smart_callback_call(data, SIG_INFO_CLICKED, NULL);
static void
_next(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,button,next", "elm");
evas_object_smart_callback_call(data, SIG_NEXT_CLICKED, NULL);
static void
_pause(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_PLAYER_DATA_GET(data, sd);
static void
_play(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_PLAYER_DATA_GET(data, sd);
static void
_prev(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_PREV_CLICKED, NULL);
elm_layout_signal_emit(data, "elm,button,prev", "elm");
static void
_rewind(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
double pos;
ELM_PLAYER_DATA_GET(data, sd);
static void
_stop(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,button,stop", "elm");
evas_object_smart_callback_call(data, SIG_STOP_CLICKED, NULL);
static void
_eject(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_PLAYER_DATA_GET(data, sd);
static void
_volume(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,button,volume", "elm");
_mute_toggle(data);
static void
_mute(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,button,mute", "elm");
_mute_toggle(data);
static void
_play_started(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,player,play", "elm");
}
static void
_play_finished(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,player,pause", "elm");
}
static void
_video_del(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_on_video_del(data);
}
static void
_block_clicked_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_BLOCK_CLICKED, NULL);
}
static void
_timeout_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
evas_object_hide(data);
evas_object_smart_callback_call(data, SIG_TIMEOUT, NULL);
}
static void
-_on_show(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_on_show(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_POPUP_DATA_GET(obj, sd);
}
static void
-_on_hide(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_on_hide(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_POPUP_DATA_GET(obj, sd);
static void
_size_hints_changed_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static void
_on_content_del(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_POPUP_DATA_GET(data, sd);
static void
_on_text_content_del(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_POPUP_DATA_GET(data, sd);
static void
_on_table_del(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_POPUP_DATA_GET(data, sd);
static void
_on_button_del(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
int i;
static void
_layout_change_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static void
-_restack_cb(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_restack_cb(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_POPUP_DATA_GET(obj, sd);
static void
_item_select_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Popup_Item *it = data;
}
static void
-_access_hover_mouse_in_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_access_hover_mouse_in_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Access_Info *ac;
if (!mouse_event_enable) return;
}
static void
-_access_hover_mouse_out_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_access_hover_mouse_out_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Access_Info *ac;
if (!mouse_event_enable) return;
}
static void
-_access_read_done(void *data __UNUSED__)
+_access_read_done(void *data EINA_UNUSED)
{
DBG("read done");
// FIXME: produce event here
}
static void
-_access_2nd_click_del_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_access_2nd_click_del_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Timer *t;
}
static void
-_access_obj_hilight_del_cb(void *data __UNUSED__, Evas *e, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_access_obj_hilight_del_cb(void *data EINA_UNUSED, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
_elm_access_object_highlight_disable(e);
}
static void
-_access_obj_hilight_hide_cb(void *data __UNUSED__, Evas *e, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_access_obj_hilight_hide_cb(void *data EINA_UNUSED, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
_elm_access_object_highlight_disable(e);
}
static void
-_access_obj_hilight_move_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_access_obj_hilight_move_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Coord x, y;
Evas_Object *o;
}
static void
-_access_obj_hilight_resize_cb(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_access_obj_hilight_resize_cb(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Coord w, h;
Evas_Object *o;
static void
_access_order_del_cb(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Widget_Item *item = data;
}
static void
-_content_resize(void *data, Evas *e __UNUSED__, Evas_Object *obj,
- void *event_info __UNUSED__)
+_content_resize(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
+ void *event_info EINA_UNUSED)
{
Evas_Object *accessobj;
Evas_Coord w, h;
}
static void
-_content_move(void *data, Evas *e __UNUSED__, Evas_Object *obj,
- void *event_info __UNUSED__)
+_content_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj,
+ void *event_info EINA_UNUSED)
{
Evas_Object *accessobj;
Evas_Coord x, y;
//FIXME: unused obj should be removed from here and each widget.
EAPI void
-_elm_access_edje_object_part_object_unregister(Evas_Object* obj __UNUSED__,
+_elm_access_edje_object_part_object_unregister(Evas_Object* obj EINA_UNUSED,
const Evas_Object *eobj,
const char* part)
{
}
static void
-_access_obj_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_access_obj_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Job *ao_del_job = NULL;
}
static void
-_access_hover_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_access_hover_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Job *ao_del_job = NULL;
static void
_drag_button_down_cb(void *data,
- Evas_Object *o __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *o EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Actionslider_Smart_Data *sd = eo_data_scope_get(data, MY_CLASS);
static void
_drag_button_move_cb(void *data,
- Evas_Object *o __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *o EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Evas_Object *obj = data;
double pos = 0.0;
static void
_drag_button_up_cb(void *data,
- Evas_Object *o __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *o EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Evas_Object *obj = data;
double position = 0.0;
static void
_on_resize(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static void
_elm_bg_file_reload(void *data, Evas_Object *obj,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Evas_Object *bg = data;
const char *file;
static void
_child_added_cb_proxy(void *data,
- Evas_Object *o __UNUSED__,
+ Evas_Object *o EINA_UNUSED,
void *event_info)
{
Evas_Object *box = data;
static void
_child_removed_cb_proxy(void *data,
- Evas_Object *o __UNUSED__,
+ Evas_Object *o EINA_UNUSED,
void *event_info)
{
Evas_Object *box = data;
static void
_on_size_hints_changed(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_sizing_eval(data);
}
static void
_transition_layout_child_added(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Transition_Animation_Data *tad;
static void
_transition_layout_child_removed(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Eina_List *l;
static void
_transition_layout_obj_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Box_Transition *layout_data = data;
static void
_transition_layout_animation_exec(Evas_Object *obj,
- Evas_Object_Box_Data *priv __UNUSED__,
+ Evas_Object_Box_Data *priv EINA_UNUSED,
Elm_Box_Transition *layout_data,
const double curtime)
{
static void
_on_mouse_up(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
}
static char *
-_access_info_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_info_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
char *ret;
Eina_Strbuf *buf;
static void
_on_clicked_signal(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_activate(data);
}
static void
_on_pressed_signal(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_BUTTON_DATA_GET_OR_RETURN(data, sd);
static void
_on_unpressed_signal(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_BUTTON_DATA_GET_OR_RETURN(data, sd);
}
static char *
-_access_info_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_info_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
const char *txt = elm_widget_access_info_get(obj);
}
static char *
-_access_state_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_state_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
if (elm_widget_disabled_get(obj))
return strdup(E_("State: Disabled"));
}
static char *
-_access_info_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_info_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
char *ret;
Eina_Strbuf *buf;
static void
_button_month_inc_start(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_CALENDAR_DATA_GET(data, sd);
static void
_button_month_dec_start(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_CALENDAR_DATA_GET(data, sd);
static void
_button_month_stop(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_CALENDAR_DATA_GET(data, sd);
static void
_button_year_inc_start(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_CALENDAR_DATA_GET(data, sd);
static void
_button_year_dec_start(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_CALENDAR_DATA_GET(data, sd);
static void
_button_year_stop(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_CALENDAR_DATA_GET(data, sd);
static void
_day_selected(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
const char *source)
{
int sel_it;
static void
_style_changed(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_CALENDAR_DATA_GET(data, sd);
}
static char *
-_access_info_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_info_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
const char *txt = elm_widget_access_info_get(obj);
static void
_on_check_off(void *data,
- Evas_Object *o __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *o EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Evas_Object *obj = data;
static void
_on_check_on(void *data,
- Evas_Object *o __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *o EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Evas_Object *obj = data;
static void
_on_check_toggle(void *data,
- Evas_Object *o __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *o EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_activate(data);
}
static void
_on_clock_val_up_start(void *data,
Evas_Object *obj,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_CLOCK_DATA_GET(data, sd);
static void
_on_clock_val_down_start(void *data,
Evas_Object *obj,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_CLOCK_DATA_GET(data, sd);
static void
_on_clock_val_change_stop(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_CLOCK_DATA_GET(data, sd);
static void
_access_activate_cb(void *data,
Evas_Object *part_obj,
- Elm_Object_Item *item __UNUSED__)
+ Elm_Object_Item *item EINA_UNUSED)
{
Evas_Object *digit, *inc_btn;
ELM_CLOCK_DATA_GET(data, sd);
}
static char *
-_access_info_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_info_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
int hrs;
char *ret;
}
static char *
-_access_state_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_state_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
ELM_CLOCK_DATA_GET(obj, sd);
if (sd->edit)
static void _all_drop_targets_cbs_del(void *data, Evas *e, Evas_Object *obj, void *info);
static Eina_Bool
-_drag_cancel_animate(void *data __UNUSED__, double pos)
+_drag_cancel_animate(void *data EINA_UNUSED, double pos)
{ /* Animation to "move back" drag-window */
if (pos >= 0.99)
{
}
static void
-_all_drop_targets_cbs_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *info __UNUSED__)
+_all_drop_targets_cbs_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *info EINA_UNUSED)
{
Dropable *dropable = NULL;
eo_do(obj, eo_base_data_get("__elm_dropable", (void **)&dropable));
Ecore_X_Atom atom;
};
-static void _x11_sel_obj_del (void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__);
-static void _x11_sel_obj_del2 (void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__);
-static Eina_Bool _x11_selection_clear (void *udata __UNUSED__, int type, void *event);
-static Eina_Bool _x11_selection_notify (void *udata __UNUSED__, int type, void *event);
+static void _x11_sel_obj_del (void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
+static void _x11_sel_obj_del2 (void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
+static Eina_Bool _x11_selection_clear (void *udata EINA_UNUSED, int type, void *event);
+static Eina_Bool _x11_selection_notify (void *udata EINA_UNUSED, int type, void *event);
static Eina_Bool _x11_targets_converter (char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype, int *typesize);
static Eina_Bool _x11_text_converter (char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype, int *typesize);
static Eina_Bool _x11_general_converter (char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype, int *typesize);
static Eina_Bool _x11_image_converter (char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype, int *typesize);
static Eina_Bool _x11_vcard_send (char *target, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype, int *typesize);
-static Eina_Bool _x11_is_uri_type_data (X11_Cnp_Selection *sel __UNUSED__, Ecore_X_Event_Selection_Notify *notify);
+static Eina_Bool _x11_is_uri_type_data (X11_Cnp_Selection *sel EINA_UNUSED, Ecore_X_Event_Selection_Notify *notify);
static int _x11_response_handler_targets (X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *);
static int _x11_notify_handler_targets (X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *notify);
static int _x11_notify_handler_text (X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *notify);
static int _x11_notify_handler_uri (X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *notify);
//static int _x11_notify_handler_html (X11_Cnp_Selection *sel, Ecore_X_Event_Selection_Notify *notify);
static int _x11_vcard_receive (X11_Cnp_Selection *sed, Ecore_X_Event_Selection_Notify *notify);
-static Eina_Bool _x11_dnd_enter (void *data __UNUSED__, int etype __UNUSED__, void *ev);
-static Eina_Bool _x11_dnd_drop (void *data __UNUSED__, int etype __UNUSED__, void *ev);
-static Eina_Bool _x11_dnd_position (void *data __UNUSED__, int etype __UNUSED__, void *ev);
-static Eina_Bool _x11_dnd_status (void *data __UNUSED__, int etype __UNUSED__, void *ev);
-static Eina_Bool _x11_dnd_leave (void *data __UNUSED__, int etype __UNUSED__, void *ev);
-static Eina_Bool _x11_drag_mouse_up (void *data, int etype __UNUSED__, void *event);
-static void _x11_drag_move (void *data __UNUSED__, Ecore_X_Xdnd_Position *pos);
+static Eina_Bool _x11_dnd_enter (void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev);
+static Eina_Bool _x11_dnd_drop (void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev);
+static Eina_Bool _x11_dnd_position (void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev);
+static Eina_Bool _x11_dnd_status (void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev);
+static Eina_Bool _x11_dnd_leave (void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev);
+static Eina_Bool _x11_drag_mouse_up (void *data, int etype EINA_UNUSED, void *event);
+static void _x11_drag_move (void *data EINA_UNUSED, Ecore_X_Xdnd_Position *pos);
static Ecore_X_Window _x11_elm_widget_xwin_get (const Evas_Object *obj);
static Eina_Bool _x11_elm_cnp_init (void);
static Eina_Bool _x11_elm_cnp_selection_set (Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format, const void *selbuf, size_t buflen);
-static void _x11_elm_cnp_selection_loss_callback_set(Evas_Object *obj __UNUSED__, Elm_Sel_Type selection, Elm_Selection_Loss_Cb func, const void *data);
+static void _x11_elm_cnp_selection_loss_callback_set(Evas_Object *obj EINA_UNUSED, Elm_Sel_Type selection, Elm_Selection_Loss_Cb func, const void *data);
static Eina_Bool _x11_elm_object_cnp_selection_clear (Evas_Object *obj, Elm_Sel_Type selection);
static Eina_Bool _x11_elm_cnp_selection_get (Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format, Elm_Drop_Cb datacb, void *udata);
static Eina_Bool _x11_elm_drop_target_add (Evas_Object *obj, Elm_Sel_Format format,
Elm_Drag_State leavecb, void *leavedata,
Elm_Drag_Pos poscb, void *posdata,
Elm_Drop_Cb dropcb, void *dropdata);
-static Eina_Bool _x11_elm_selection_selection_has_owner (Evas_Object *obj __UNUSED__);
+static Eina_Bool _x11_elm_selection_selection_has_owner (Evas_Object *obj EINA_UNUSED);
static X11_Cnp_Atom _x11_atoms[CNP_N_ATOMS] = {
[CNP_ATOM_TARGETS] = {
};
static void
-_x11_sel_obj_del(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_x11_sel_obj_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
X11_Cnp_Selection *sel = data;
if (sel->widget == obj) sel->widget = NULL;
}
static void
-_x11_sel_obj_del2(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_x11_sel_obj_del2(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
X11_Cnp_Selection *sel = data;
if (sel->requestwidget == obj) sel->requestwidget = NULL;
}
static Eina_Bool
-_x11_selection_clear(void *udata __UNUSED__, int type __UNUSED__, void *event)
+_x11_selection_clear(void *udata EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_X_Event_Selection_Clear *ev = event;
X11_Cnp_Selection *sel;
* else it's the data we want.
*/
static Eina_Bool
-_x11_selection_notify(void *udata __UNUSED__, int type __UNUSED__, void *event)
+_x11_selection_notify(void *udata EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_X_Event_Selection_Notify *ev = event;
X11_Cnp_Selection *sel;
}
static Eina_Bool
-_x11_targets_converter(char *target __UNUSED__, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype, int *typesize)
+_x11_targets_converter(char *target EINA_UNUSED, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype, int *typesize)
{
int i, count;
Ecore_X_Atom *aret;
}
static Eina_Bool
-_x11_image_converter(char *target __UNUSED__, void *data __UNUSED__, int size __UNUSED__, void **data_ret __UNUSED__, int *size_ret __UNUSED__, Ecore_X_Atom *ttype __UNUSED__, int *typesize __UNUSED__)
+_x11_image_converter(char *target EINA_UNUSED, void *data EINA_UNUSED, int size EINA_UNUSED, void **data_ret EINA_UNUSED, int *size_ret EINA_UNUSED, Ecore_X_Atom *ttype EINA_UNUSED, int *typesize EINA_UNUSED)
{
cnp_debug("Image converter called\n");
return EINA_TRUE;
}
static Eina_Bool
-_x11_vcard_send(char *target __UNUSED__, void *data __UNUSED__, int size __UNUSED__, void **data_ret, int *size_ret, Ecore_X_Atom *ttype __UNUSED__, int *typesize __UNUSED__)
+_x11_vcard_send(char *target EINA_UNUSED, void *data EINA_UNUSED, int size EINA_UNUSED, void **data_ret, int *size_ret, Ecore_X_Atom *ttype EINA_UNUSED, int *typesize EINA_UNUSED)
{
X11_Cnp_Selection *sel;
}
static Eina_Bool
-_x11_is_uri_type_data(X11_Cnp_Selection *sel __UNUSED__, Ecore_X_Event_Selection_Notify *notify)
+_x11_is_uri_type_data(X11_Cnp_Selection *sel EINA_UNUSED, Ecore_X_Event_Selection_Notify *notify)
{
Ecore_X_Selection_Data *data;
char *p;
}
static Eina_Bool
-_x11_general_converter(char *target __UNUSED__, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype __UNUSED__, int *typesize __UNUSED__)
+_x11_general_converter(char *target EINA_UNUSED, void *data, int size, void **data_ret, int *size_ret, Ecore_X_Atom *ttype EINA_UNUSED, int *typesize EINA_UNUSED)
{
if (_get_selection_type(data, size) == ELM_SEL_FORMAT_NONE)
{
}
static Eina_Bool
-_x11_dnd_enter(void *data __UNUSED__, int etype __UNUSED__, void *ev)
+_x11_dnd_enter(void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev)
{
Ecore_X_Event_Xdnd_Enter *enter = ev;
int i;
}
static Eina_Bool
-_x11_dnd_position(void *data __UNUSED__, int etype __UNUSED__, void *ev)
+_x11_dnd_position(void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev)
{
Ecore_X_Event_Xdnd_Position *pos = ev;
Ecore_X_Rectangle rect = { 0, 0, 0, 0 };
}
static Eina_Bool
-_x11_dnd_leave(void *data __UNUSED__, int etype __UNUSED__, void *ev)
+_x11_dnd_leave(void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev)
{
Ecore_X_Event_Xdnd_Leave *leave = ev;
Dropable *dropable;
}
static Eina_Bool
-_x11_dnd_drop(void *data __UNUSED__, int etype __UNUSED__, void *ev)
+_x11_dnd_drop(void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev)
{
Ecore_X_Event_Xdnd_Drop *drop;
Dropable *dropable;
}
static Eina_Bool
-_x11_dnd_status(void *data __UNUSED__, int etype __UNUSED__, void *ev)
+_x11_dnd_status(void *data EINA_UNUSED, int etype EINA_UNUSED, void *ev)
{
Ecore_X_Event_Xdnd_Status *status = ev;
doaccept = EINA_FALSE;
}
static Eina_Bool
-_x11_drag_mouse_up(void *data, int etype __UNUSED__, void *event)
+_x11_drag_mouse_up(void *data, int etype EINA_UNUSED, void *event)
{
Ecore_X_Window xwin = (Ecore_X_Window)(long)data;
Ecore_Event_Mouse_Button *ev = event;
}
static void
-_x11_drag_move(void *data __UNUSED__, Ecore_X_Xdnd_Position *pos)
+_x11_drag_move(void *data EINA_UNUSED, Ecore_X_Xdnd_Position *pos)
{
evas_object_move(dragwin,
pos->position.x - _dragx, pos->position.y - _dragy);
}
static void
-_x11_elm_cnp_selection_loss_callback_set(Evas_Object *obj __UNUSED__, Elm_Sel_Type selection, Elm_Selection_Loss_Cb func, const void *data)
+_x11_elm_cnp_selection_loss_callback_set(Evas_Object *obj EINA_UNUSED, Elm_Sel_Type selection, Elm_Selection_Loss_Cb func, const void *data)
{
X11_Cnp_Selection *sel;
}
static void
-_x11_drag_target_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *info __UNUSED__)
+_x11_drag_target_del(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *info EINA_UNUSED)
{
X11_Cnp_Selection *sel = _x11_selections + ELM_SEL_TYPE_XDND;
}
static Eina_Bool
-_x11_elm_selection_selection_has_owner(Evas_Object *obj __UNUSED__)
+_x11_elm_selection_selection_has_owner(Evas_Object *obj EINA_UNUSED)
{
_x11_elm_cnp_init();
return !!ecore_x_selection_owner_get(ECORE_X_ATOM_SELECTION_CLIPBOARD);
0, NULL, 0, EINA_FALSE
};
-static void _wl_sel_obj_del2(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__);
-static Eina_Bool _wl_elm_cnp_selection_set(Evas_Object *obj __UNUSED__, Elm_Sel_Type selection, Elm_Sel_Format format __UNUSED__, const void *selbuf, size_t buflen);
-static Eina_Bool _wl_elm_cnp_selection_get(Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format __UNUSED__, Elm_Drop_Cb datacb __UNUSED__, void *udata __UNUSED__);
+static void _wl_sel_obj_del2(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
+static Eina_Bool _wl_elm_cnp_selection_set(Evas_Object *obj EINA_UNUSED, Elm_Sel_Type selection, Elm_Sel_Format format EINA_UNUSED, const void *selbuf, size_t buflen);
+static Eina_Bool _wl_elm_cnp_selection_get(Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format EINA_UNUSED, Elm_Drop_Cb datacb EINA_UNUSED, void *udata EINA_UNUSED);
static Eina_Bool _wl_elm_cnp_selection_clear(Evas_Object *obj, Elm_Sel_Type selection);
-static Eina_Bool _wl_selection_send(void *udata, int type __UNUSED__, void *event);
-static Eina_Bool _wl_selection_receive(void *udata, int type __UNUSED__, void *event);
+static Eina_Bool _wl_selection_send(void *udata, int type EINA_UNUSED, void *event);
+static Eina_Bool _wl_selection_receive(void *udata, int type EINA_UNUSED, void *event);
static Eina_Bool _wl_elm_dnd_init(void);
static Eina_Bool _wl_elm_drop_target_add(Evas_Object *obj, Elm_Sel_Format format, Elm_Drag_State entercb, void *enterdata, Elm_Drag_State leavecb, void *leavedata, Elm_Drag_Pos poscb, void *posdata, Elm_Drop_Cb dropcb, void *dropdata);
static unsigned int _wl_elm_widget_window_get(Evas_Object *obj);
static void
-_wl_sel_obj_del(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_wl_sel_obj_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Wl_Cnp_Selection *sel = data;
if (sel->widget == obj) sel->widget = NULL;
}
static void
-_wl_sel_obj_del2(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_wl_sel_obj_del2(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Wl_Cnp_Selection *sel = data;
if (sel->requestwidget == obj) sel->requestwidget = NULL;
}
static void
-_wl_elm_cnp_selection_loss_callback_set(Evas_Object *obj __UNUSED__, Elm_Sel_Type selection __UNUSED__, Elm_Selection_Loss_Cb func, const void *data)
+_wl_elm_cnp_selection_loss_callback_set(Evas_Object *obj EINA_UNUSED, Elm_Sel_Type selection EINA_UNUSED, Elm_Selection_Loss_Cb func, const void *data)
{
Wl_Cnp_Selection *sel = &wl_cnp_selection;
}
static Eina_Bool
-_wl_elm_cnp_selection_clear(Evas_Object *obj, Elm_Sel_Type selection __UNUSED__)
+_wl_elm_cnp_selection_clear(Evas_Object *obj, Elm_Sel_Type selection EINA_UNUSED)
{
Wl_Cnp_Selection *sel = &wl_cnp_selection;
}
static Eina_Bool
-_wl_selection_send(void *udata, int type __UNUSED__, void *event)
+_wl_selection_send(void *udata, int type EINA_UNUSED, void *event)
{
char *buf;
int ret, len_remained;
}
static Eina_Bool
-_wl_selection_receive(void *udata, int type __UNUSED__, void *event)
+_wl_selection_receive(void *udata, int type EINA_UNUSED, void *event)
{
Wl_Cnp_Selection *sel = udata;
Ecore_Wl_Event_Selection_Data_Ready *ev = event;
static void _local_get_job(void *data);
static Eina_Bool _local_elm_cnp_init(void);
-static Eina_Bool _local_elm_cnp_selection_set(Evas_Object *obj __UNUSED__, Elm_Sel_Type selection, Elm_Sel_Format format, const void *selbuf, size_t buflen);
-static void _local_elm_cnp_selection_loss_callback_set(Evas_Object *obj __UNUSED__, Elm_Sel_Type selection __UNUSED__, Elm_Selection_Loss_Cb func __UNUSED__, const void *data __UNUSED__);
-static Eina_Bool _local_elm_object_cnp_selection_clear(Evas_Object *obj __UNUSED__, Elm_Sel_Type selection);
-static Eina_Bool _local_elm_cnp_selection_get(Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format __UNUSED__, Elm_Drop_Cb datacb, void *udata);
-static Eina_Bool _local_elm_drop_target_add(Evas_Object *obj __UNUSED__, Elm_Sel_Format format __UNUSED__,
- Elm_Drag_State entercb __UNUSED__, void *enterdata __UNUSED__,
- Elm_Drag_State leavecb __UNUSED__, void *leavedata __UNUSED__,
- Elm_Drag_Pos poscb __UNUSED__, void *posdata __UNUSED__,
- Elm_Drop_Cb dropcb __UNUSED__, void *dropdata __UNUSED__);
-static Eina_Bool _local_elm_drop_target_del(Evas_Object *obj __UNUSED__);
-static Eina_Bool _local_elm_drag_start(Evas_Object *obj __UNUSED__,
- Elm_Sel_Format format __UNUSED__,
- const char *data __UNUSED__,
- Elm_Xdnd_Action action __UNUSED__,
- Elm_Drag_Icon_Create_Cb createicon __UNUSED__,
- void *createdata __UNUSED__,
- Elm_Drag_Pos dragpos __UNUSED__,
- void *dragdata __UNUSED__,
- Elm_Drag_Accept acceptcb __UNUSED__,
- void *acceptdata __UNUSED__,
- Elm_Drag_State dragdone __UNUSED__,
- void *donecbdata __UNUSED__);
-static Eina_Bool _local_elm_selection_selection_has_owner(Evas_Object *obj __UNUSED__);
+static Eina_Bool _local_elm_cnp_selection_set(Evas_Object *obj EINA_UNUSED, Elm_Sel_Type selection, Elm_Sel_Format format, const void *selbuf, size_t buflen);
+static void _local_elm_cnp_selection_loss_callback_set(Evas_Object *obj EINA_UNUSED, Elm_Sel_Type selection EINA_UNUSED, Elm_Selection_Loss_Cb func EINA_UNUSED, const void *data EINA_UNUSED);
+static Eina_Bool _local_elm_object_cnp_selection_clear(Evas_Object *obj EINA_UNUSED, Elm_Sel_Type selection);
+static Eina_Bool _local_elm_cnp_selection_get(Evas_Object *obj, Elm_Sel_Type selection, Elm_Sel_Format format EINA_UNUSED, Elm_Drop_Cb datacb, void *udata);
+static Eina_Bool _local_elm_drop_target_add(Evas_Object *obj EINA_UNUSED, Elm_Sel_Format format EINA_UNUSED,
+ Elm_Drag_State entercb EINA_UNUSED, void *enterdata EINA_UNUSED,
+ Elm_Drag_State leavecb EINA_UNUSED, void *leavedata EINA_UNUSED,
+ Elm_Drag_Pos poscb EINA_UNUSED, void *posdata EINA_UNUSED,
+ Elm_Drop_Cb dropcb EINA_UNUSED, void *dropdata EINA_UNUSED);
+static Eina_Bool _local_elm_drop_target_del(Evas_Object *obj EINA_UNUSED);
+static Eina_Bool _local_elm_drag_start(Evas_Object *obj EINA_UNUSED,
+ Elm_Sel_Format format EINA_UNUSED,
+ const char *data EINA_UNUSED,
+ Elm_Xdnd_Action action EINA_UNUSED,
+ Elm_Drag_Icon_Create_Cb createicon EINA_UNUSED,
+ void *createdata EINA_UNUSED,
+ Elm_Drag_Pos dragpos EINA_UNUSED,
+ void *dragdata EINA_UNUSED,
+ Elm_Drag_Accept acceptcb EINA_UNUSED,
+ void *acceptdata EINA_UNUSED,
+ Elm_Drag_State dragdone EINA_UNUSED,
+ void *donecbdata EINA_UNUSED);
+static Eina_Bool _local_elm_selection_selection_has_owner(Evas_Object *obj EINA_UNUSED);
static void
_local_get_job(void *data)
}
static Eina_Bool
-_local_elm_cnp_selection_set(Evas_Object *obj __UNUSED__,
+_local_elm_cnp_selection_set(Evas_Object *obj EINA_UNUSED,
Elm_Sel_Type selection, Elm_Sel_Format format,
const void *selbuf, size_t buflen)
{
}
static void
-_local_elm_cnp_selection_loss_callback_set(Evas_Object *obj __UNUSED__,
- Elm_Sel_Type selection __UNUSED__,
- Elm_Selection_Loss_Cb func __UNUSED__,
- const void *data __UNUSED__)
+_local_elm_cnp_selection_loss_callback_set(Evas_Object *obj EINA_UNUSED,
+ Elm_Sel_Type selection EINA_UNUSED,
+ Elm_Selection_Loss_Cb func EINA_UNUSED,
+ const void *data EINA_UNUSED)
{
_local_elm_cnp_init();
// this doesnt need to do anything as we never lose selection to anyone
}
static Eina_Bool
-_local_elm_object_cnp_selection_clear(Evas_Object *obj __UNUSED__,
+_local_elm_object_cnp_selection_clear(Evas_Object *obj EINA_UNUSED,
Elm_Sel_Type selection)
{
_local_elm_cnp_init();
static Eina_Bool
_local_elm_cnp_selection_get(Evas_Object *obj,
Elm_Sel_Type selection,
- Elm_Sel_Format format __UNUSED__,
+ Elm_Sel_Format format EINA_UNUSED,
Elm_Drop_Cb datacb, void *udata)
{
_local_elm_cnp_init();
}
static Eina_Bool
-_local_elm_drop_target_add(Evas_Object *obj __UNUSED__,
- Elm_Sel_Format format __UNUSED__,
- Elm_Drag_State entercb __UNUSED__,
- void *enterdata __UNUSED__,
- Elm_Drag_State leavecb __UNUSED__,
- void *leavedata __UNUSED__,
- Elm_Drag_Pos poscb __UNUSED__,
- void *posdata __UNUSED__,
- Elm_Drop_Cb dropcb __UNUSED__,
- void *dropdata __UNUSED__)
+_local_elm_drop_target_add(Evas_Object *obj EINA_UNUSED,
+ Elm_Sel_Format format EINA_UNUSED,
+ Elm_Drag_State entercb EINA_UNUSED,
+ void *enterdata EINA_UNUSED,
+ Elm_Drag_State leavecb EINA_UNUSED,
+ void *leavedata EINA_UNUSED,
+ Elm_Drag_Pos poscb EINA_UNUSED,
+ void *posdata EINA_UNUSED,
+ Elm_Drop_Cb dropcb EINA_UNUSED,
+ void *dropdata EINA_UNUSED)
{
// XXX: implement me
_local_elm_cnp_init();
}
static Eina_Bool
-_local_elm_drop_target_del(Evas_Object *obj __UNUSED__)
+_local_elm_drop_target_del(Evas_Object *obj EINA_UNUSED)
{
// XXX: implement me
_local_elm_cnp_init();
}
static Eina_Bool
-_local_elm_drag_start(Evas_Object *obj __UNUSED__,
- Elm_Sel_Format format __UNUSED__,
- const char *data __UNUSED__,
- Elm_Xdnd_Action action __UNUSED__,
- Elm_Drag_Icon_Create_Cb createicon __UNUSED__,
- void *createdata __UNUSED__,
- Elm_Drag_Pos dragpos __UNUSED__,
- void *dragdata __UNUSED__,
- Elm_Drag_Accept acceptcb __UNUSED__,
- void *acceptdata __UNUSED__,
- Elm_Drag_State dragdone __UNUSED__,
- void *donecbdata __UNUSED__)
+_local_elm_drag_start(Evas_Object *obj EINA_UNUSED,
+ Elm_Sel_Format format EINA_UNUSED,
+ const char *data EINA_UNUSED,
+ Elm_Xdnd_Action action EINA_UNUSED,
+ Elm_Drag_Icon_Create_Cb createicon EINA_UNUSED,
+ void *createdata EINA_UNUSED,
+ Elm_Drag_Pos dragpos EINA_UNUSED,
+ void *dragdata EINA_UNUSED,
+ Elm_Drag_Accept acceptcb EINA_UNUSED,
+ void *acceptdata EINA_UNUSED,
+ Elm_Drag_State dragdone EINA_UNUSED,
+ void *donecbdata EINA_UNUSED)
{
// XXX: implement me
_local_elm_cnp_init();
}
static Eina_Bool
-_local_elm_drag_action_set(Evas_Object *obj __UNUSED__,
- Elm_Xdnd_Action action __UNUSED__)
+_local_elm_drag_action_set(Evas_Object *obj EINA_UNUSED,
+ Elm_Xdnd_Action action EINA_UNUSED)
{
// XXX: implement me
_local_elm_cnp_init();
}
static Eina_Bool
-_local_elm_selection_selection_has_owner(Evas_Object *obj __UNUSED__)
+_local_elm_selection_selection_has_owner(Evas_Object *obj EINA_UNUSED)
{
_local_elm_cnp_init();
if (_local_selinfo[ELM_SEL_TYPE_CLIPBOARD].sel.buf) return EINA_TRUE;
}
static void
-_cont_drag_done_cb(void *data, Evas_Object *obj __UNUSED__)
+_cont_drag_done_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
Item_Container_Drag_Info *st = data;
elm_widget_scroll_freeze_pop(st->obj);
}
static void
-_cont_obj_mouse_down(void *data, Evas *e, Evas_Object *obj __UNUSED__, void *event_info)
+_cont_obj_mouse_down(void *data, Evas *e, Evas_Object *obj EINA_UNUSED, void *event_info)
{ /* Launch a timer to start dragging */
Evas_Event_Mouse_Down *ev = event_info;
cnp_debug("In - event %X\n", ev->event_flags);
static Eina_Bool elm_drag_item_container_del_internal(Evas_Object *obj, Eina_Bool full);
static void
-_cont_obj_mouse_move(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_cont_obj_mouse_move(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{ /* Cancel any drag waiting to start on timeout */
cnp_debug("In\n");
if (((Evas_Event_Mouse_Move *)event_info)->event_flags & EVAS_EVENT_FLAG_ON_HOLD)
}
static void
-_cont_obj_mouse_up(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_cont_obj_mouse_up(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{ /* Cancel any drag waiting to start on timeout */
Item_Container_Drag_Info *st = data;
static void
_entry_changed_cb(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Colorselector_Smart_Data *sd = data;
Evas_Object *parent;
}
#ifdef HAVE_ELEMENTARY_X
-static Eina_Bool _mouse_grab_pixels(void *data, int type __UNUSED__, void *event __UNUSED__);
-static Eina_Bool _key_up_cb(void *data, int type __UNUSED__, void *event __UNUSED__);
-static Eina_Bool _mouse_up_cb(void *data, int type __UNUSED__, void *event __UNUSED__);
+static Eina_Bool _mouse_grab_pixels(void *data, int type EINA_UNUSED, void *event EINA_UNUSED);
+static Eina_Bool _key_up_cb(void *data, int type EINA_UNUSED, void *event EINA_UNUSED);
+static Eina_Bool _mouse_up_cb(void *data, int type EINA_UNUSED, void *event EINA_UNUSED);
static Ecore_X_Window
_x11_elm_widget_xwin_get(const Evas_Object *obj)
}
static void
-_start_grab_pick_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_start_grab_pick_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *o = data;
}
static Eina_Bool
-_key_up_cb(void *data, int type __UNUSED__, void *event __UNUSED__)
+_key_up_cb(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Evas_Object *o = data;
}
static Eina_Bool
-_mouse_up_cb(void *data, int type __UNUSED__, void *event __UNUSED__)
+_mouse_up_cb(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
{
const unsigned int *pixels;
Evas_Object *o = data;
}
static Eina_Bool
-_mouse_grab_pixels(void *data, int type __UNUSED__, void *event __UNUSED__)
+_mouse_grab_pixels(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
{
Evas_Object *obj = data;
Ecore_X_Visual visual;
#endif
static void
-_mouse_in_canvas(void *data, Evas *e __UNUSED__, void *event_info __UNUSED__)
+_mouse_in_canvas(void *data, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *obj = data;
ELM_COLORSELECTOR_DATA_GET(obj, sd);
}
static void
-_mouse_out_canvas(void *data, Evas *e __UNUSED__, void *event_info __UNUSED__)
+_mouse_out_canvas(void *data, Evas *e EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *obj = data;
ELM_COLORSELECTOR_DATA_GET(obj, sd);
static void
_arrow_cb(void *data,
Evas_Object *obj,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Color_Bar_Data *cb_data = data;
double x, y;
static void
_colorbar_cb(void *data,
Evas *e,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
static void
_button_clicked_cb(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Color_Bar_Data *cb_data = data;
double x, y, step;
static void
_button_repeat_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Color_Bar_Data *cb_data = data;
double x, y, step;
static void
_on_color_pressed(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Color_Item *item = (Elm_Color_Item *)data;
Evas_Event_Mouse_Down *ev = event_info;
static void
_on_color_released(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Color_Item *item = (Elm_Color_Item *)data;
Eina_List *l;
}
static char *
-_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
char *ret;
Eina_Strbuf *buf;
}
static void
-_item_resize(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_item_resize(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(obj);
}
static Eina_Bool _prop_config_get(void);
static void _prop_config_set(void);
-static Eina_Bool _prop_change(void *data __UNUSED__,
- int ev_type __UNUSED__,
+static Eina_Bool _prop_change(void *data EINA_UNUSED,
+ int ev_type EINA_UNUSED,
void *ev);
static void
}
static Eina_Bool
-_prop_change_delay_cb(void *data __UNUSED__)
+_prop_change_delay_cb(void *data EINA_UNUSED)
{
char *s;
}
static Eina_Bool
-_prop_change(void *data __UNUSED__,
- int ev_type __UNUSED__,
+_prop_change(void *data EINA_UNUSED,
+ int ev_type EINA_UNUSED,
void *ev)
{
Ecore_X_Event_Window_Property *event = ev;
}
static Eina_Bool
-_elm_cache_flush_cb(void *data __UNUSED__)
+_elm_cache_flush_cb(void *data EINA_UNUSED)
{
elm_cache_all_flush();
return ECORE_CALLBACK_RENEW;
static void
_land_indicator_disconnected(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *conform = data;
static void
_port_indicator_disconnected(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *conform = data;
static void
_on_indicator_mode_changed(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Object *conformant = data;
Evas_Object *win = obj;
static void
_on_rotation_changed(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
int rot = 0;
Evas_Object *win = obj;
*/
static void
-_move_resize_cb(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_move_resize_cb(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Conformant_Part_Type part_type;
#ifdef HAVE_ELEMENTARY_X
static void
_on_content_resize(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_CONFORMANT_DATA_GET(data, sd);
static Eina_Bool
_on_prop_change(void *data,
- int type __UNUSED__,
+ int type EINA_UNUSED,
void *event)
{
Ecore_X_Event_Window_Property *ev = event;
}
static char *
-_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
char *ret;
Eina_Strbuf *buf;
static void
_dayselector_resize(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static void
_item_del_cb(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Eina_List *l;
char buf[1024];
static void
_item_signal_emit_cb(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
const char *emission,
- const char *source __UNUSED__)
+ const char *source EINA_UNUSED)
{
Elm_Dayselector_Item *it = data;
static void
_item_clicked_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Dayselector_Item *it = data;
}
static void
-_resize_cb(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_resize_cb(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Coord w, h, vw = 0, vh = 0, mw = 0, mh = 0;
ELM_DISKSELECTOR_DATA_GET(obj, sd);
static void
_item_click_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Diskselector_Item *it = data;
}
static char *
-_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
Elm_Diskselector_Item *it = (Elm_Diskselector_Item *)data;
const char *txt = NULL;
static void
_scroll_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
Evas_Coord x, y, w, h, bw, x_boundary;
unsigned int adjust_pixels;
static void
_scroll_animate_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
Elm_Diskselector_Item *it;
Evas_Coord x, w, ox, ow;
static void
_scroll_animate_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call
(obj, SIG_SCROLL_ANIM_START, elm_diskselector_selected_item_get(obj));
static void
_scroll_drag_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call
(obj, SIG_SCROLL_DRAG_START, elm_diskselector_selected_item_get(obj));
static void
_scroll_drag_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call
(obj, SIG_SCROLL_DRAG_STOP, elm_diskselector_selected_item_get(obj));
};
static Mod_Api *
-_module_find(Evas_Object *obj __UNUSED__)
+_module_find(Evas_Object *obj EINA_UNUSED)
{
static Elm_Module *m = NULL;
static void
_hover_dismissed_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_ENTRY_DATA_GET(data, sd);
static void
_hover_selected_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_ENTRY_DATA_GET(data, sd);
static void
_paste_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Sel_Format formats = ELM_SEL_FORMAT_MARKUP;
static void
_cut_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_ENTRY_DATA_GET(data, sd);
static void
_copy_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_ENTRY_DATA_GET(data, sd);
static void
_hover_cancel_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_ENTRY_DATA_GET(data, sd);
static void
_hover_item_clicked_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Entry_Context_Menu_Item *it = data;
if (!it) return;
static void
_key_down_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Key_Down *ev = event_info;
static void
_mouse_down_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
static void
_mouse_up_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
static void
_mouse_move_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Move *ev = event_info;
static void
_entry_changed_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_entry_changed_handle(data, SIG_CHANGED);
}
static void
_entry_changed_user_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Entry_Change_Info info;
Edje_Entry_Change_Info *edje_info = (Edje_Entry_Change_Info *)
static void
_entry_preedit_changed_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_entry_changed_handle(data, SIG_PREEDIT_CHANGED);
}
static void
_entry_undo_request_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_UNDO_REQUEST, NULL);
}
static void
_entry_redo_request_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_REDO_REQUEST, NULL);
}
static void
_entry_selection_start_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
const Eina_List *l;
Evas_Object *entry;
static void
_entry_selection_all_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
elm_entry_select_all(data);
}
static void
_entry_selection_none_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
elm_entry_select_none(data);
}
static void
_entry_selection_changed_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_ENTRY_DATA_GET(data, sd);
static void
_entry_selection_cleared_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_ENTRY_DATA_GET(data, sd);
static void
_entry_paste_request_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
const char *emission,
- const char *source __UNUSED__)
+ const char *source EINA_UNUSED)
{
Evas_Object *top;
static void
_entry_copy_notify_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_copy_cb(data, NULL, NULL);
}
static void
_entry_cut_notify_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_cut_cb(data, NULL, NULL);
}
static void
_entry_cursor_changed_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_ENTRY_DATA_GET(data, sd);
sd->cursor_pos = edje_object_part_text_cursor_pos_get
static void
_entry_cursor_changed_manual_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_CURSOR_CHANGED_MANUAL, NULL);
}
static void
_entry_anchor_down_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Entry_Anchor_Info ei;
const char *p;
static void
_entry_anchor_up_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Entry_Anchor_Info ei;
const char *p;
static void
_anchor_hover_del_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_ENTRY_DATA_GET(data, sd);
static void
_anchor_hover_clicked_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_entry_anchor_hover_end(data);
}
static void
_entry_anchor_clicked_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
const char *emission,
- const char *source __UNUSED__)
+ const char *source EINA_UNUSED)
{
Elm_Entry_Anchor_Info ei;
const char *p;
}
static void
-_entry_anchor_move_signal_cb(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+_entry_anchor_move_signal_cb(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
}
static void
_entry_anchor_in_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Entry_Anchor_Info ei;
static void
_entry_anchor_out_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Entry_Anchor_Info ei;
static void
_entry_key_enter_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_ACTIVATED, NULL);
}
static void
_entry_key_escape_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_ABORTED, NULL);
}
static void
_entry_mouse_down_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_PRESS, NULL);
}
static void
_entry_mouse_clicked_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_CLICKED, NULL);
}
static void
_entry_mouse_double_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_CLICKED_DOUBLE, NULL);
}
static void
_entry_mouse_triple_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_CLICKED_TRIPLE, NULL);
}
#ifdef HAVE_ELEMENTARY_X
static Eina_Bool
_event_selection_notify(void *data,
- int type __UNUSED__,
+ int type EINA_UNUSED,
void *event)
{
Ecore_X_Event_Selection_Notify *ev = event;
}
static Eina_Bool
-_event_selection_clear(void *data __UNUSED__,
- int type __UNUSED__,
- void *event __UNUSED__)
+_event_selection_clear(void *data EINA_UNUSED,
+ int type EINA_UNUSED,
+ void *event EINA_UNUSED)
{
Ecore_X_Event_Selection_Clear *ev = event;
#endif
static Eina_Bool
-_drag_drop_cb(void *data __UNUSED__,
+_drag_drop_cb(void *data EINA_UNUSED,
Evas_Object *obj,
Elm_Selection_Data *drop)
{
static Evas_Object *
_item_get(void *data,
- Evas_Object *edje __UNUSED__,
- const char *part __UNUSED__,
+ Evas_Object *edje EINA_UNUSED,
+ const char *part EINA_UNUSED,
const char *item)
{
Eina_List *l;
static void
_markup_filter_cb(void *data,
- Evas_Object *edje __UNUSED__,
- const char *part __UNUSED__,
+ Evas_Object *edje EINA_UNUSED,
+ const char *part EINA_UNUSED,
char **text)
{
Eina_List *l;
}
static char *
-_access_info_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_info_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
const char *txt;
}
static char *
-_access_state_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_state_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
Eina_Strbuf *buf;
char *ret;
static void
_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_ENTRY_DATA_GET(data, sd);
/* START - ANCHOR HOVER */
static void
_anchor_parent_del_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_ENTRY_DATA_GET(data, sd);
static void _sizing_eval(Evas_Object *obj);
static void _eval(Evas_Object *obj);
static void _changed(Evas_Object *obj);
-static void _move(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__);
-static void _resize(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__);
-static void _child_change(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__);
-static void _child_del(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__);
+static void _move(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
+static void _resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
+static void _child_change(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
+static void _child_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
static void _content_set_hook(Evas_Object *obj, const char *part, Evas_Object *content);
static Evas_Object *_content_get_hook(const Evas_Object *obj, const char *part);
static Evas_Object *_content_unset_hook(Evas_Object *obj, const char *part);
}
static void
-_move(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_move(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
}
static void
-_resize(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_resize(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Widget_Data *wd = elm_widget_data_get(obj);
if (!wd) return;
}
static void
-_child_change(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_child_change(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Widget_Data *wd = elm_widget_data_get(data);
if (!wd) return;
}
static void
-_child_del(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_child_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Evas_Object *fobj = data;
Widget_Data *wd = elm_widget_data_get(fobj);
static void
_changed_size_hints_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_sizing_eval(data);
}
static void
_slice_apply(Elm_Flip_Smart_Data *sd,
Slice *sl,
- Evas_Coord x __UNUSED__,
- Evas_Coord y __UNUSED__,
+ Evas_Coord x EINA_UNUSED,
+ Evas_Coord y EINA_UNUSED,
Evas_Coord w,
- Evas_Coord h __UNUSED__,
+ Evas_Coord h EINA_UNUSED,
Evas_Coord ox,
Evas_Coord oy,
Evas_Coord ow,
}
static void
-_slice_3d(Elm_Flip_Smart_Data *sd __UNUSED__,
+_slice_3d(Elm_Flip_Smart_Data *sd EINA_UNUSED,
Slice *sl,
Evas_Coord x,
Evas_Coord y,
}
static void
-_slice_light(Elm_Flip_Smart_Data *sd __UNUSED__,
+_slice_light(Elm_Flip_Smart_Data *sd EINA_UNUSED,
Slice *sl,
Evas_Coord x,
Evas_Coord y,
}
static void
-_slice_xyz(Elm_Flip_Smart_Data *sd __UNUSED__,
+_slice_xyz(Elm_Flip_Smart_Data *sd EINA_UNUSED,
Slice *sl,
double xx1,
double yy1,
}
static void
-_slice_uv(Elm_Flip_Smart_Data *sd __UNUSED__,
+_slice_uv(Elm_Flip_Smart_Data *sd EINA_UNUSED,
Slice *sl,
double u1,
double v1,
* happens that smarts callbacks on them happen before we have the new
* values, so using event callbacks instead */
static void
-_on_move(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_on_move(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
_configure(obj);
}
static void
-_on_resize(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_on_resize(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
_configure(obj);
}
static void
_down_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
static void
_up_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
static void
_move_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Move *ev = event_info;
EAPI void
elm_flip_perspective_set(Evas_Object *obj,
- Evas_Coord foc __UNUSED__,
- Evas_Coord x __UNUSED__,
- Evas_Coord y __UNUSED__)
+ Evas_Coord foc EINA_UNUSED,
+ Evas_Coord x EINA_UNUSED,
+ Evas_Coord y EINA_UNUSED)
{
ELM_FLIP_CHECK(obj);
}
static void
_signal_val_up_start(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_FLIPSELECTOR_DATA_GET(data, sd);
static void
_signal_val_down_start(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_FLIPSELECTOR_DATA_GET(data, sd);
static void
_signal_val_change_stop(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_FLIPSELECTOR_DATA_GET(data, sd);
}
static Eina_Bool
-_font_hash_free_cb(const Eina_Hash *hash __UNUSED__, const void *key __UNUSED__, void *data, void *fdata __UNUSED__)
+_font_hash_free_cb(const Eina_Hash *hash EINA_UNUSED, const void *key EINA_UNUSED, void *data, void *fdata EINA_UNUSED)
{
Elm_Font_Properties *efp;
static void
_recalc(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static void
_on_recalc_done(void *data,
- Evas_Object *obj __UNUSED__,
- const char *sig __UNUSED__,
- const char *src __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *sig EINA_UNUSED,
+ const char *src EINA_UNUSED)
{
ELM_FRAME_DATA_GET(data, sd);
ELM_WIDGET_DATA_GET_OR_RETURN(data, wd);
static void
_on_frame_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- const char *sig __UNUSED__,
- const char *src __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *sig EINA_UNUSED,
+ const char *src EINA_UNUSED)
{
ELM_FRAME_DATA_GET(data, sd);
ELM_WIDGET_DATA_GET_OR_RETURN(data, wd);
static void
_item_mouse_move_cb(void *data,
- Evas *evas __UNUSED__,
+ Evas *evas EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
static void
_item_mouse_down_cb(void *data,
- Evas *evas __UNUSED__,
+ Evas *evas EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
static void
_item_mouse_up_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
}
static char *
-_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
Elm_Gen_Item *it = (Elm_Gen_Item *)data;
ELM_GENGRID_ITEM_CHECK_OR_RETURN(it, NULL);
}
static char *
-_access_state_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_state_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
Elm_Gen_Item *it = (Elm_Gen_Item *)data;
ELM_GENGRID_ITEM_CHECK_OR_RETURN(it, NULL);
static void
_scroll_animate_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_ANIM_START, NULL);
}
static void
_scroll_animate_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_ANIM_STOP, NULL);
}
static void
_scroll_drag_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_DRAG_START, NULL);
}
static void
_scroll_drag_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_DRAG_STOP, NULL);
}
static void
_edge_left_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_LEFT, NULL);
}
static void
_edge_right_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_RIGHT, NULL);
}
static void
_edge_top_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_TOP, NULL);
}
static void
_edge_bottom_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_BOTTOM, NULL);
}
static void
_scroll_page_change_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_PAGE_CHANGE, NULL);
}
static void
_scroll_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL, NULL);
}
static Evas_Object *
_elm_gengrid_item_label_create(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
Evas_Object *tooltip,
- void *it __UNUSED__)
+ void *it EINA_UNUSED)
{
Evas_Object *label = elm_label_add(tooltip);
if (!label)
static void
_elm_gengrid_item_label_del_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
eina_stringshare_del(data);
}
static Eina_Bool _item_block_recalc(Item_Block *, int, Eina_Bool);
static void _item_mouse_callbacks_add(Elm_Gen_Item *, Evas_Object *);
static void _item_mouse_callbacks_del(Elm_Gen_Item *, Evas_Object *);
-static void _access_activate_cb(void *data __UNUSED__,
- Evas_Object *part_obj __UNUSED__,
+static void _access_activate_cb(void *data EINA_UNUSED,
+ Evas_Object *part_obj EINA_UNUSED,
Elm_Object_Item *item);
static void _decorate_item_set(Elm_Gen_Item *);
//-- tree expand/contract signal handle routine --//
static void
_expand_toggle_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Gen_Item *it = data;
static void
_expand_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Gen_Item *it = data;
static void
_contract_signal_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Gen_Item *it = data;
}
static char *
-_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
char *ret;
Eina_Strbuf *buf;
}
static char *
-_access_state_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_state_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
Elm_Gen_Item *it = (Elm_Gen_Item *)data;
ELM_GENLIST_ITEM_CHECK_OR_RETURN(it, NULL);
static void
_item_mouse_move_cb(void *data,
- Evas *evas __UNUSED__,
+ Evas *evas EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
static void
_item_multi_down_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Gen_Item *it = data;
static void
_item_multi_up_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Gen_Item *it = data;
static void
_item_multi_move_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Gen_Item *it = data;
static void
_item_mouse_down_cb(void *data,
- Evas *evas __UNUSED__,
+ Evas *evas EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
}
static void
-_access_activate_cb(void *data __UNUSED__,
- Evas_Object *part_obj __UNUSED__,
+_access_activate_cb(void *data EINA_UNUSED,
+ Evas_Object *part_obj EINA_UNUSED,
Elm_Object_Item *item)
{
Elm_Gen_Item *it = (Elm_Gen_Item *)item;
static void
_item_mouse_up_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
static void
_decorate_item_finished_signal_cb(void *data,
Evas_Object *obj,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Gen_Item *it = data;
char buf[1024];
static void
_scroll_animate_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_ANIM_START, NULL);
}
static void
_scroll_animate_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_ANIM_STOP, NULL);
}
static void
_scroll_drag_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_DRAG_START, NULL);
}
static void
_scroll_drag_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_DRAG_STOP, NULL);
}
static void
_edge_left_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_LEFT, NULL);
}
static void
_edge_right_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_RIGHT, NULL);
}
static void
_edge_top_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_TOP, NULL);
}
static void
_edge_bottom_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_BOTTOM, NULL);
}
static void
_vbar_drag_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_VBAR_DRAG, NULL);
}
static void
_vbar_press_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_VBAR_PRESS, NULL);
}
static void
_vbar_unpress_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_VBAR_UNPRESS, NULL);
}
static void
_hbar_drag_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_HBAR_DRAG, NULL);
}
static void
_hbar_press_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_HBAR_PRESS, NULL);
}
static void
_hbar_unpress_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_HBAR_UNPRESS, NULL);
}
static Evas_Object *
_elm_genlist_item_label_create(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
Evas_Object *tooltip,
- void *it __UNUSED__)
+ void *it EINA_UNUSED)
{
Evas_Object *label = elm_label_add(tooltip);
static void
_elm_genlist_item_label_del_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
eina_stringshare_del(data);
}
* @ingroup Elm_Gesture_Layer
*/
static Eina_Bool
-_pointer_event_make(void *data __UNUSED__,
+_pointer_event_make(void *data EINA_UNUSED,
void *event_info,
Evas_Callback_Type event_type,
Pointer_Event *pe)
*/
static void
_mouse_down_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
if (((Evas_Event_Mouse_Down *)event_info)->button != 1)
static void
_mouse_move_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
_event_process(data, obj, event_info, EVAS_CALLBACK_MOUSE_MOVE);
static void
_key_down_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
_event_process(data, obj, event_info, EVAS_CALLBACK_KEY_DOWN);
static void
_key_up_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
_event_process(data, obj, event_info, EVAS_CALLBACK_KEY_UP);
static void
_mouse_up_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
if (((Evas_Event_Mouse_Up *)event_info)->button != 1)
static void
_mouse_wheel_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
_event_process(data, obj, event_info, EVAS_CALLBACK_MOUSE_WHEEL);
static void
_multi_down_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
/* Skip the mouse duplicates. */
static void
_multi_move_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
/* Skip the mouse duplicates. */
static void
_multi_up_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
/* Skip the mouse duplicates. */
static void
_target_del_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_callbacks_unregister(data);
ELM_GESTURE_LAYER_DATA_GET(data, sd);
*/
static void
_event_process(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info,
Evas_Callback_Type event_type)
{
static void
_parent_move_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static void
_parent_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static void
-_parent_show_cb(void *data __UNUSED__,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_parent_show_cb(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
}
static void
_parent_hide_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
evas_object_hide(data);
}
static void
_parent_del_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_hover_parent_set(data, NULL);
elm_layout_sizing_eval(data);
static void
_on_smt_sub_changed(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_elm_hover_smt_sub_re_eval(data);
}
static void
_target_del_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_HOVER_DATA_GET(data, sd);
static void
_target_move_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
_elm_hover_smt_sub_re_eval(data);
static void
_hov_dismiss_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_hide(data);
evas_object_smart_callback_call(data, SIG_CLICKED, NULL);
static Eina_Bool
_icon_thumb_apply_cb(void *data,
- int type __UNUSED__,
- void *ev __UNUSED__)
+ int type EINA_UNUSED,
+ void *ev EINA_UNUSED)
{
ELM_ICON_DATA_GET(data, sd);
static void
_elm_icon_standard_resize_cb(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_ICON_DATA_GET(data, sd);
const char *refup = eina_stringshare_ref(sd->stdicon);
static void
_elm_icon_thumb_resize_cb(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_ICON_DATA_GET(data, sd);
static void
_edje_signal_callback(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
const char *emission,
const char *source)
{
static void
_on_image_preloaded(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event __UNUSED__)
+ void *event EINA_UNUSED)
{
Elm_Image_Smart_Data *sd = data;
sd->preloading = EINA_FALSE;
static void
_on_mouse_up(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
}
static char *
-_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
const char *txt = NULL;
static void
_on_mouse_down(void *data,
- Evas *e __UNUSED__,
- Evas_Object *o __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
static void
_on_mouse_up(void *data,
- Evas *e __UNUSED__,
- Evas_Object *o __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
static void
_on_mouse_move(void *data,
- Evas *e __UNUSED__,
- Evas_Object *o __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Move *ev = event_info;
static void
_on_mouse_in_access(void *data,
- Evas *e __UNUSED__,
- Evas_Object *o __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_INDEX_DATA_GET(data, sd);
static void
_on_mouse_move_access(void *data,
- Evas *e __UNUSED__,
- Evas_Object *o __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *event_info)
{
static void
_on_mouse_out_access(void *data,
- Evas *e __UNUSED__,
- Evas_Object *o __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_INDEX_DATA_GET(data, sd);
}
static void
-_index_resize_cb(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_index_resize_cb(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_INDEX_DATA_GET_OR_RETURN(obj, sd);
}
static void
-_delay_change_time_set(Eo *obj __UNUSED__, void *_pd, va_list *list)
+_delay_change_time_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
{
double dtime = va_arg(*list, double);
Elm_Index_Smart_Data *sd = _pd;
}
static void
-_delay_change_time_get(Eo *obj __UNUSED__, void *_pd, va_list *list)
+_delay_change_time_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
{
double *ret = va_arg(*list, double *);
Elm_Index_Smart_Data *sd = _pd;
}
static void
-_omit_enabled_get(Eo *obj __UNUSED__, void *_pd, va_list *list)
+_omit_enabled_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
{
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
Elm_Index_Smart_Data *sd = _pd;
static void
_elm_pan_content_del_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Pan_Smart_Data *psd;
static void
_elm_pan_content_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Pan_Smart_Data *psd;
Evas_Coord w, h;
static void
_elm_scroll_reload_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
_elm_scroll_policy_signal_emit(sid);
static void
_elm_scroll_vbar_drag_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_vbar_press_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_vbar_unpress_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_edje_drag_v_start_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_edje_drag_v_stop_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_edje_drag_v_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_hbar_drag_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_hbar_press_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_hbar_unpress_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_edje_drag_h_start_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_edje_drag_h_stop_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_edje_drag_h_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_wheel_event_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Scrollable_Smart_Interface_Data *sid;
static Eina_Bool
_elm_scroll_post_event_up(void *data,
- Evas *e __UNUSED__)
+ Evas *e EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_mouse_up_event_cb(void *data,
Evas *e,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_mouse_down_event_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Scrollable_Smart_Interface_Data *sid;
static Eina_Bool
_elm_scroll_post_event_move(void *data,
- Evas *e __UNUSED__)
+ Evas *e EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
Eina_Bool horiz, vert;
static void
_elm_scroll_mouse_move_event_cb(void *data,
Evas *e,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_on_edje_move(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *edje_obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
int x, y;
static void
_on_edje_resize(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *edje_obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
int w, h;
static void
_elm_scroll_pan_resized_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Coord w, h;
Elm_Scrollable_Smart_Interface_Data *sid = data;
/* even external pan objects get this */
static void
_elm_scroll_pan_changed_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Coord w, h;
Elm_Scrollable_Smart_Interface_Data *sid = data;
static void
_elm_scroll_content_del_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
}
static void
-_elm_scroll_movement_block_set(Eo *obj __UNUSED__, void *_pd, va_list *list)
+_elm_scroll_movement_block_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
{
Elm_Scrollable_Smart_Interface_Data *sid = _pd;
}
static void
-_elm_scroll_movement_block_get(Eo *obj __UNUSED__, void *_pd, va_list *list)
+_elm_scroll_movement_block_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
{
Elm_Scrollable_Smart_Interface_Data *sid = _pd;
Elm_Scroller_Movement_Block *block = va_arg(*list,
static void
_on_label_resize(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_LABEL_DATA_GET(data, sd);
}
static char *
-_access_info_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_info_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
const char *txt = elm_widget_access_info_get(obj);
}
static void
-_on_slide_end(void *data, Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__, const char *source __UNUSED__)
+_on_slide_end(void *data, Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
{
ELM_LABEL_DATA_GET(data, sd);
}
static void
-_slide_mode_set(Eo *obj __UNUSED__, void *_pd, va_list *list)
+_slide_mode_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
{
Elm_Label_Slide_Mode mode = va_arg(*list, Elm_Label_Slide_Mode);
Elm_Label_Smart_Data *sd = _pd;
}
static void
-_slide_mode_get(Eo *obj __UNUSED__, void *_pd, va_list *list)
+_slide_mode_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
{
Elm_Label_Slide_Mode *ret = va_arg(*list, Elm_Label_Slide_Mode *);
Elm_Label_Smart_Data *sd = _pd;
}
static void
-_slide_duration_set(Eo *obj __UNUSED__, void *_pd, va_list *list)
+_slide_duration_set(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
{
double duration = va_arg(*list, double);
Elm_Label_Smart_Data *sd = _pd;
}
static void
-_slide_go(Eo *obj, void *_pd __UNUSED__, va_list *list __UNUSED__)
+_slide_go(Eo *obj, void *_pd EINA_UNUSED, va_list *list EINA_UNUSED)
{
_label_slide_change(obj);
elm_layout_sizing_eval(obj);
static void
_on_sub_object_size_hint_change(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_WIDGET_DATA_GET_OR_RETURN(data, wd);
eo_do(data, elm_obj_layout_sizing_eval());
static void
_reload_theme(void *data, Evas_Object *obj,
- const char *emission __UNUSED__, const char *source __UNUSED__)
+ const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
{
Evas_Object *layout = data;
const char *file;
static void
_edje_signal_callback(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
const char *emission,
const char *source)
{
static void
_box_reference_del(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Layout_Sub_Object_Data *sub_d = data;
sub_d->p.box.reference = NULL;
static void
_on_size_evaluate_signal(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
eo_do(data, elm_obj_layout_sizing_eval());
}
static void
_size_hints_changed_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_LIST_DATA_GET(data, sd);
if (sd->delete_me) return;
static void
_edge_left_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_LEFT, NULL);
}
static void
_edge_right_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_RIGHT, NULL);
}
static void
_edge_top_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_TOP, NULL);
}
static void
_edge_bottom_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_BOTTOM, NULL);
}
static void
_mouse_move_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *event_info)
{
Evas_Object *obj;
static void
_mouse_down_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
static void
_mouse_up_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *o __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
void *event_info)
{
Evas_Object *obj;
}
static char *
-_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
Elm_List_Item *it = (Elm_List_Item *)data;
const char *txt = NULL;
}
static char *
-_access_state_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_state_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
Elm_List_Item *it = (Elm_List_Item *)data;
if (!it) return NULL;
}
static void
-_access_activate_cb(void *data __UNUSED__,
- Evas_Object *part_obj __UNUSED__,
+_access_activate_cb(void *data EINA_UNUSED,
+ Evas_Object *part_obj EINA_UNUSED,
Elm_Object_Item *item)
{
Elm_List_Item *it;
static void
_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static Eina_Bool quicklaunch_on = 0;
static Eina_Bool
-_elm_signal_exit(void *data __UNUSED__,
- int ev_type __UNUSED__,
- void *ev __UNUSED__)
+_elm_signal_exit(void *data EINA_UNUSED,
+ int ev_type EINA_UNUSED,
+ void *ev EINA_UNUSED)
{
elm_exit();
return ECORE_CALLBACK_PASS_ON;
#define NOMINATIM_ATTR_ADDRESS "display_name"
static char *
-_mapnik_url_cb(const Evas_Object *obj __UNUSED__,
+_mapnik_url_cb(const Evas_Object *obj EINA_UNUSED,
int x,
int y,
int zoom)
}
static char *
-_osmarender_url_cb(const Evas_Object *obj __UNUSED__,
+_osmarender_url_cb(const Evas_Object *obj EINA_UNUSED,
int x,
int y,
int zoom)
}
static char *
-_cyclemap_url_cb(const Evas_Object *obj __UNUSED__,
+_cyclemap_url_cb(const Evas_Object *obj EINA_UNUSED,
int x,
int y,
int zoom)
}
static char *
-_mapquest_url_cb(const Evas_Object *obj __UNUSED__,
+_mapquest_url_cb(const Evas_Object *obj EINA_UNUSED,
int x,
int y,
int zoom)
}
static char *
-_mapquest_aerial_url_cb(const Evas_Object *obj __UNUSED__,
+_mapquest_aerial_url_cb(const Evas_Object *obj EINA_UNUSED,
int x,
int y,
int zoom)
}
static char *
-_yours_url_cb(const Evas_Object *obj __UNUSED__,
+_yours_url_cb(const Evas_Object *obj EINA_UNUSED,
const char *type_name,
int method,
double flon,
// TODO: fix monav api
/*
static char *
- _monav_url_cb(const Evas_Object *obj __UNUSED__,
+ _monav_url_cb(const Evas_Object *obj EINA_UNUSED,
char *type_name,
int method,
double flon,
//TODO: fix ors api
static char *
- _ors_url_cb(const Evas_Object *obj __UNUSED__,
+ _ors_url_cb(const Evas_Object *obj EINA_UNUSED,
char *type_name,
int method,
double flon,
};
static double
-_scale_cb(const Evas_Object *obj __UNUSED__,
- double lon __UNUSED__,
+_scale_cb(const Evas_Object *obj EINA_UNUSED,
+ double lon EINA_UNUSED,
double lat,
int zoom)
{
static void
_downloaded_cb(void *data,
- const char *file __UNUSED__,
+ const char *file EINA_UNUSED,
int status)
{
Grid_Item *gi = data;
static void
_changed_size_hints_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_sizing_eval(data);
}
static void
_scroll_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
ELM_MAP_DATA_GET(obj, sd);
static void
_scroll_animate_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
ELM_MAP_DATA_GET(obj, sd);
static void
_scroll_animate_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
ELM_MAP_DATA_GET(obj, sd);
static void
_mouse_down_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
ELM_MAP_DATA_GET(data, sd);
static void
_mouse_up_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
ELM_MAP_DATA_GET(data, sd);
static void
_mouse_wheel_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
ELM_MAP_DATA_GET(data, sd);
static void
_overlay_clicked_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *ev __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *ev EINA_UNUSED)
{
Elm_Map_Overlay *overlay = data;
_xml_route_dump_cb(void *data,
Eina_Simple_XML_Type type,
const char *value,
- unsigned offset __UNUSED__,
+ unsigned offset EINA_UNUSED,
unsigned length)
{
Route_Dump *dump = data;
_xml_name_dump_cb(void *data,
Eina_Simple_XML_Type type,
const char *value,
- unsigned offset __UNUSED__,
+ unsigned offset EINA_UNUSED,
unsigned length)
{
Name_Dump *dump = data;
static Evas_Event_Flags
_pinch_zoom_start_cb(void *data,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_MAP_DATA_GET(data, sd);
static Evas_Event_Flags
_pinch_rotate_end_cb(void *data,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_MAP_DATA_GET(data, sd);
#else
EAPI Evas_Object *
-elm_map_track_add(Evas_Object *obj __UNUSED__,
- void *emap __UNUSED__)
+elm_map_track_add(Evas_Object *obj EINA_UNUSED,
+ void *emap EINA_UNUSED)
{
return NULL;
}
EAPI void
-elm_map_track_remove(Evas_Object *obj __UNUSED__,
- Evas_Object *route __UNUSED__)
+elm_map_track_remove(Evas_Object *obj EINA_UNUSED,
+ Evas_Object *route EINA_UNUSED)
{
}
#endif
static void
_changed_size_hints_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_sizing_eval(data);
}
static void
_menu_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_sizing_eval(data);
}
static void
_parent_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_sizing_eval(data);
}
static void
_parent_del_cb(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_MENU_DATA_GET(data, sd);
ELM_WIDGET_DATA_GET_OR_RETURN(data, wd);
static void
_item_move_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Menu_Item *item = data;
static void
_menu_hide(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Eina_List *l;
Elm_Menu_Item *item2;
static void
_submenu_open_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Menu_Item *item = data;
static void
_menu_item_select_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Menu_Item *item = data;
static void
_menu_item_activate_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Eina_List *l;
Elm_Menu_Item *item2;
static void
_menu_item_inactivate_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Menu_Item *item = data;
static void
_changed_size_hints_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_calc(data);
}
static void
_block_area_clicked_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_BLOCK_CLICKED, NULL);
}
static void
-_restack_cb(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_restack_cb(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_NOTIFY_DATA_GET(obj, sd);
static void
_parent_del_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_notify_parent_set(data, NULL);
evas_object_hide(data);
static void
_parent_hide_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
evas_object_hide(data);
}
static void
_hide_finished_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_NOTIFY_DATA_GET(data, sd);
sd->had_hidden = EINA_TRUE;
}
static char *
-_access_state_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_state_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
ELM_PANEL_DATA_GET(data, sd);
static void
_box_layout_cb(Evas_Object *o,
Evas_Object_Box_Data *priv,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
_els_box_layout(o, priv, EINA_TRUE, EINA_FALSE, EINA_FALSE);
}
static void
-_panel_toggle(void *data __UNUSED__,
+_panel_toggle(void *data EINA_UNUSED,
Evas_Object *obj,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_PANEL_DATA_GET(obj, sd);
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd);
static void
_on_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_CLICKED, NULL);
}
static void
_double_clicked(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_PANES_DATA_GET(data, sd);
static void
_on_pressed(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_smart_callback_call(data, SIG_PRESS, NULL);
}
static void
_on_unpressed(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_PANES_DATA_GET(data, sd);
evas_object_smart_callback_call(data, SIG_UNPRESS, NULL);
static void
_icon_move_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Coord w, h;
}
static void
-_drag_done_cb(void *unused __UNUSED__,
+_drag_done_cb(void *unused EINA_UNUSED,
Evas_Object *obj)
{
ELM_PHOTO_DATA_GET(obj, sd);
static void
_mouse_move(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *icon,
void *event)
{
static void
_mouse_down(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *icon,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Event_Mouse_Down *ev = event_info;
static void
_mouse_up(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Event_Mouse_Up *ev = event_info;
ELM_PHOTO_DATA_GET(data, sd);
static void
_on_thumb_done(void *data,
- Evas_Object *obj __UNUSED__,
- void *event __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event EINA_UNUSED)
{
_elm_photo_internal_image_follow(data);
}
static void
_tile_preloaded_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *o __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Photocam_Grid_Item *git = data;
ELM_PHOTOCAM_DATA_GET(git->obj, sd);
static void
_main_img_preloaded_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *o __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *o EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *obj = data;
Elm_Phocam_Grid *g;
static void
_mouse_down_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Down *ev = event_info;
static void
_mouse_up_cb(void *data,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
static void
_scroll_animate_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_ANIM_START, NULL);
}
static void
_scroll_animate_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_ANIM_STOP, NULL);
}
static void
_scroll_drag_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_DRAG_START, NULL);
}
static void
_scroll_drag_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_DRAG_STOP, NULL);
}
static void
_scroll_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
ELM_PHOTOCAM_DATA_GET(obj, sd);
static Evas_Event_Flags
_g_layer_zoom_end_cb(void *data,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Object *obj = data;
ELM_PHOTOCAM_DATA_GET(obj, sd);
int x,
int y,
int w,
- int h __UNUSED__)
+ int h EINA_UNUSED)
{
ELM_PHOTOCAM_CHECK(obj);
eo_do(obj, elm_scrollable_interface_region_bring_in(x, y, w, h));
};
static void
-_sizing_eval(Evas_Object *obj __UNUSED__)
+_sizing_eval(Evas_Object *obj EINA_UNUSED)
{
//Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1;
static void
_on_mouse_up(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
static void
_prefs_data_item_changed_cb(void *cb_data,
- Elm_Prefs_Data_Event_Type type __UNUSED__,
+ Elm_Prefs_Data_Event_Type type EINA_UNUSED,
Elm_Prefs_Data *prefs_data,
void *event_info)
{
static void
_prefs_data_autosaved_cb(void *cb_data,
- Elm_Prefs_Data_Event_Type type __UNUSED__,
- Elm_Prefs_Data *data __UNUSED__,
+ Elm_Prefs_Data_Event_Type type EINA_UNUSED,
+ Elm_Prefs_Data *data EINA_UNUSED,
void *event_info)
{
ELM_PREFS_DATA_GET(cb_data, sd);
/* TODO: evaluate if it's sane to handle it better */
/* static void */
-/* _prefs_page_del_cb(void *data __UNUSED__, */
-/* Evas *evas __UNUSED__, */
+/* _prefs_page_del_cb(void *data EINA_UNUSED, */
+/* Evas *evas EINA_UNUSED, */
/* Evas_Object *obj, */
-/* void *event_info __UNUSED__) */
+/* void *event_info EINA_UNUSED) */
/* { */
/* Elm_Prefs_Page_Node *page; */
/* } */
static void
-_prefs_item_del_cb(void *data __UNUSED__,
- Evas *evas __UNUSED__,
+_prefs_item_del_cb(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Prefs_Item_Node *it;
Evas_Object *lbl, *icon;
}
EAPI Eina_Bool
-elm_prefs_item_widget_common_add(Evas_Object *prefs __UNUSED__,
+elm_prefs_item_widget_common_add(Evas_Object *prefs EINA_UNUSED,
Evas_Object *obj)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(obj, EINA_FALSE);
}
EAPI Eina_Bool
-elm_prefs_page_widget_common_add(Evas_Object *prefs __UNUSED__,
+elm_prefs_page_widget_common_add(Evas_Object *prefs EINA_UNUSED,
Evas_Object *obj)
{
EINA_SAFETY_ON_NULL_RETURN_VAL(obj, EINA_FALSE);
}
static char *
-_access_info_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_info_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
const char *txt = elm_widget_access_info_get(obj);
}
static char *
-_access_state_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_state_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
char *ret;
Eina_Strbuf *buf;
static void
_radio_on_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_activate(data);
}
static char *
-_access_info_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_info_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
const char *txt = elm_widget_access_info_get(obj);
}
static char *
-_access_state_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_state_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
ELM_RADIO_DATA_GET(obj, sd);
}
static void
-_move_resize_cb(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_move_resize_cb(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
_sizing_eval(obj);
}
static void
_changed_size_hints_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static void
_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static void
_edge_left_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_LEFT, NULL);
}
static void
_edge_right_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_RIGHT, NULL);
}
static void
_edge_top_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_TOP, NULL);
}
static void
_edge_bottom_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_EDGE_BOTTOM, NULL);
}
static void
_scroll_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL, NULL);
}
static void
_scroll_left_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_LEFT, NULL);
}
static void
_scroll_right_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_RIGHT, NULL);
}
static void
_scroll_up_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_UP, NULL);
}
static void
_scroll_down_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_DOWN, NULL);
}
static void
_scroll_anim_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_ANIM_START, NULL);
}
static void
_scroll_anim_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_ANIM_STOP, NULL);
}
static void
_scroll_drag_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_DRAG_START, NULL);
}
static void
_scroll_drag_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_DRAG_STOP, NULL);
}
static void
_vbar_drag_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_VBAR_DRAG, NULL);
}
static void
_vbar_press_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_VBAR_PRESS, NULL);
}
static void
_vbar_unpress_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_VBAR_UNPRESS, NULL);
}
static void
_hbar_drag_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_HBAR_DRAG, NULL);
}
static void
_hbar_press_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_HBAR_PRESS, NULL);
}
static void
_hbar_unpress_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_HBAR_UNPRESS, NULL);
}
static void
_page_change_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_PAGE_CHANGE, NULL);
}
}
static void
-_on_move_resize(void *data, Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_on_move_resize(void *data, Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_SEGMENT_CONTROL_DATA_GET(data, sd);
static void
_on_mouse_up(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Segment_Item *it = data;
static void
_on_mouse_down(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Segment_Item *it = data;
Evas_Event_Mouse_Down *ev = event_info;
}
static char *
-_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
const char *txt = NULL;
Elm_Segment_Item *it = (Elm_Segment_Item *)data;
}
static char *
-_access_state_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_state_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
Elm_Segment_Item *it = (Elm_Segment_Item *)data;
ELM_SEGMENT_CONTROL_ITEM_CHECK_OR_RETURN(it, NULL);
}
static void
-_elm_separator_smart_add(Eo *obj, void *_pd __UNUSED__,
+_elm_separator_smart_add(Eo *obj, void *_pd EINA_UNUSED,
va_list *list EINA_UNUSED)
{
eo_do_super(obj, MY_CLASS, evas_obj_smart_add());
static void
_drag(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_slider_update(data, EINA_TRUE);
}
static void
_drag_start(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_slider_update(data, EINA_TRUE);
evas_object_smart_callback_call(data, SIG_DRAG_START, NULL);
static void
_drag_stop(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_slider_update(data, EINA_TRUE);
evas_object_smart_callback_call(data, SIG_DRAG_STOP, NULL);
static void
_drag_step(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_slider_update(data, EINA_TRUE);
}
static void
_drag_up(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
double step;
static void
_drag_down(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
double step;
static void
_popup_show(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_SLIDER_DATA_GET(data, sd);
if (sd->popup)
static void
_popup_hide(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_SLIDER_DATA_GET(data, sd);
if (sd->popup)
static void
_popup_hide_done(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_SLIDER_DATA_GET(data, sd);
if (sd->popup)
static void
_popup_emit(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
const char *emission,
const char *source)
{
static void
_spacer_down_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
ELM_SLIDER_DATA_GET(data, sd);
static void
_spacer_move_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
ELM_SLIDER_DATA_GET(data, sd);
static void
_spacer_up_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_SLIDER_DATA_GET(data, sd);
static void
_track_move_cb(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Coord x, y;
static void
_track_resize_cb(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Evas_Coord w, h;
}
static char *
-_access_info_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_info_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
const char *txt = elm_widget_access_info_get(obj);
}
static char *
-_access_state_cb(void *data __UNUSED__, Evas_Object *obj)
+_access_state_cb(void *data EINA_UNUSED, Evas_Object *obj)
{
char *ret;
Eina_Strbuf *buf = eina_strbuf_new();
static void
_on_size_hints_changed(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static void
_on_slideshow_end(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
const char *emission,
- const char *source __UNUSED__)
+ const char *source EINA_UNUSED)
{
Elm_Slideshow_Item *item;
ELM_SLIDESHOW_DATA_GET(data, sd);
static void
_drag_cb(void *data,
- Evas_Object *_obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *_obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
double pos = 0.0, delta;
Evas_Object *obj = data;
static void
_drag_start_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_SPINNER_DATA_GET(data, sd);
static void
_drag_stop_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_SPINNER_DATA_GET(data, sd);
ELM_WIDGET_DATA_GET_OR_RETURN(data, wd);
static void
_entry_toggle_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_SPINNER_DATA_GET(data, sd);
static void
_button_inc_start_cb(void *data,
Evas_Object *obj,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_SPINNER_DATA_GET(data, sd);
static void
_button_inc_stop_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_val_inc_stop(data);
}
static void
_button_dec_start_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_SPINNER_DATA_GET(data, sd);
static void
_button_dec_stop_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
_val_dec_stop(data);
}
static void
_entry_activated_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_SPINNER_DATA_GET(data, sd);
}
static char *
-_access_state_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_state_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
if (elm_widget_disabled_get(data))
return strdup(E_("State: Disabled"));
static void
_access_activate_cb(void *data,
Evas_Object *part_obj,
- Elm_Object_Item *item __UNUSED__)
+ Elm_Object_Item *item EINA_UNUSED)
{
char *text;
Eina_Strbuf *buf;
}
static void
-_store_genlist_del(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_store_genlist_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Store *st = data;
st->genlist = NULL;
// ************************************************************************
/* TODO: refactor lock part into core? this does not depend on filesystm part */
static void
-_store_filesystem_fetch_do(void *data, Ecore_Thread *th __UNUSED__)
+_store_filesystem_fetch_do(void *data, Ecore_Thread *th EINA_UNUSED)
{
Elm_Store_Item *sti = data;
eina_lock_take(&sti->lock);
}
static void
-_store_genlist_item_realized(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+_store_genlist_item_realized(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Store *st = data;
Elm_Object_Item *gli = event_info;
}
static void
-_store_genlist_item_unrealized(void *data, Evas_Object *obj __UNUSED__, void *event_info)
+_store_genlist_item_unrealized(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
{
Elm_Store *st = data;
Elm_Object_Item *gli = event_info;
}
static char *
-_store_item_text_get(void *data, Evas_Object *obj __UNUSED__, const char *part)
+_store_item_text_get(void *data, Evas_Object *obj EINA_UNUSED, const char *part)
{
Elm_Store_Item *sti = data;
const char *s = "";
}
static void
-_store_item_del(void *data __UNUSED__, Evas_Object *obj __UNUSED__)
+_store_item_del(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED)
{
}
}
static void
-_store_filesystem_list_do(void *data, Ecore_Thread *th __UNUSED__)
+_store_filesystem_list_do(void *data, Ecore_Thread *th EINA_UNUSED)
{
Elm_Store_Filesystem *st = data;
Eina_Iterator *it;
}
static void
-_store_filesystem_list_update(void *data, Ecore_Thread *th __UNUSED__, void *msg)
+_store_filesystem_list_update(void *data, Ecore_Thread *th EINA_UNUSED, void *msg)
{
Elm_Store *st = data;
Elm_Store_Item_Filesystem *sti;
static void
_on_size_hints_changed(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_sizing_eval(data);
}
return NULL;
}
-static void _elm_theme_idler_clean(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__);
+static void _elm_theme_idler_clean(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
static Eina_Bool
_elm_theme_reload_idler(void *data)
}
static void
-_elm_theme_idler_clean(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_elm_theme_idler_clean(void *data EINA_UNUSED, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ecore_Idler *idler;
}
static void
-_elm_theme_reload(void *data __UNUSED__, Evas_Object *obj,
- const char *emission __UNUSED__, const char *source __UNUSED__)
+_elm_theme_reload(void *data EINA_UNUSED, Evas_Object *obj,
+ const char *emission EINA_UNUSED, const char *source EINA_UNUSED)
{
Evas_Object *elm;
static void
_mouse_down_cb(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
static void
_mouse_up_cb(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
static void
_on_thumb_preloaded(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_THUMB_DATA_GET(data, sd);
const char *thumb_path;
}
static void
-_on_ethumb_thumb_done(Ethumb_Client *client __UNUSED__,
+_on_ethumb_thumb_done(Ethumb_Client *client EINA_UNUSED,
const char *thumb_path,
const char *thumb_key,
void *data)
}
static void
-_on_ethumb_thumb_error(Ethumb_Client *client __UNUSED__,
+_on_ethumb_thumb_error(Ethumb_Client *client EINA_UNUSED,
void *data)
{
ELM_THUMB_DATA_GET(data, sd);
static Eina_Bool
_thumbnailing_available_cb(void *data,
- int type __UNUSED__,
- void *ev __UNUSED__)
+ int type EINA_UNUSED,
+ void *ev EINA_UNUSED)
{
ELM_THUMB_DATA_GET(data, sd);
_thumb_start(sd);
static void _on_die_cb(void *, Ethumb_Client *);
static void
-_connect_cb(void *data __UNUSED__,
+_connect_cb(void *data EINA_UNUSED,
Ethumb_Client *c,
Eina_Bool success)
{
}
static void
-_on_die_cb(void *data __UNUSED__,
- Ethumb_Client *c __UNUSED__)
+_on_die_cb(void *data EINA_UNUSED,
+ Ethumb_Client *c EINA_UNUSED)
{
if (_elm_ethumb_client)
{
}
static Eina_Bool
-_elm_thumb_dnd_cb(void *data __UNUSED__,
+_elm_thumb_dnd_cb(void *data EINA_UNUSED,
Evas_Object *o,
Elm_Selection_Data *drop)
{
static void
_menu_hide(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Toolbar_Item *selected;
Elm_Toolbar_Item *it = data;
static void
_menu_del(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
// avoid hide being emitted during object deletion
evas_object_event_callback_del_full
static void
_elm_toolbar_item_menu_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Toolbar_Item *it = data;
}
static void
-_item_mirrored_set(Evas_Object *obj __UNUSED__,
+_item_mirrored_set(Evas_Object *obj EINA_UNUSED,
Elm_Toolbar_Item *it,
Eina_Bool mirrored)
{
static void
_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Coord x, y, h;
static void
_menu_move_resize_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Toolbar_Item *it = data;
Evas_Coord x, y, h;
static void
_item_resize(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_sizing_eval(data);
_resize_cb(data, NULL, NULL, NULL);
static void
_move_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Coord x, y, h;
static void
_select_filter_cb(Elm_Toolbar_Item *it,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
const char *emission,
- const char *source __UNUSED__)
+ const char *source EINA_UNUSED)
{
int button;
char buf[sizeof("elm,action,click,") + 1];
static void
_select_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Toolbar_Item *it = data;
static void
_item_move_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Toolbar_Item *item = data;
}
static void
-_transit_del_cb(void *data, Elm_Transit *transit __UNUSED__)
+_transit_del_cb(void *data, Elm_Transit *transit EINA_UNUSED)
{
Elm_Toolbar_Item *it, *item = data;
ELM_TOOLBAR_DATA_GET(WIDGET(item), sd);
static void
_mouse_move_reorder(Elm_Toolbar_Item *item,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
Evas_Event_Mouse_Move *ev)
{
Evas_Coord x, y, w, h;
static void
_mouse_up_reorder(Elm_Toolbar_Item *it,
- Evas *evas __UNUSED__,
+ Evas *evas EINA_UNUSED,
Evas_Object *obj,
- Evas_Event_Mouse_Up *ev __UNUSED__)
+ Evas_Event_Mouse_Up *ev EINA_UNUSED)
{
ELM_TOOLBAR_DATA_GET(WIDGET(it), sd);
static void
_mouse_move_cb(Elm_Toolbar_Item *it,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
Evas_Event_Mouse_Move *ev)
{
Evas_Coord x, y, w, h;
static void
_mouse_down_cb(Elm_Toolbar_Item *it,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
Evas_Event_Mouse_Down *ev)
{
ELM_TOOLBAR_DATA_GET(WIDGET(it), sd);
static void
_mouse_up_cb(Elm_Toolbar_Item *it,
- Evas *evas __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *evas EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
Evas_Event_Mouse_Up *ev)
{
ELM_TOOLBAR_DATA_GET(WIDGET(it), sd);
static void
_mouse_in_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Toolbar_Item *it = data;
static void
_mouse_out_cb(void *data,
- Evas_Object *obj __UNUSED__,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Elm_Toolbar_Item *it = data;
static void
_scroll_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL, NULL);
}
static void
_scroll_anim_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_ANIM_START, NULL);
}
static void
_scroll_anim_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_ANIM_STOP, NULL);
}
static void
_scroll_drag_start_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
ELM_TOOLBAR_DATA_GET(obj, sd);
ELM_SAFE_FREE(sd->long_timer, ecore_timer_del);
static void
_scroll_drag_stop_cb(Evas_Object *obj,
- void *data __UNUSED__)
+ void *data EINA_UNUSED)
{
evas_object_smart_callback_call(obj, SIG_SCROLL_DRAG_STOP, NULL);
}
}
static char *
-_access_info_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_info_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
Elm_Toolbar_Item *it = (Elm_Toolbar_Item *)data;
const char *txt = ((Elm_Widget_Item *)it)->access_info;
}
static char *
-_access_state_cb(void *data, Evas_Object *obj __UNUSED__)
+_access_state_cb(void *data, Evas_Object *obj EINA_UNUSED)
{
Elm_Toolbar_Item *it = (Elm_Toolbar_Item *)data;
}
static void
-_access_activate_cb(void *data __UNUSED__,
- Evas_Object *part_obj __UNUSED__,
+_access_activate_cb(void *data EINA_UNUSED,
+ Evas_Object *part_obj EINA_UNUSED,
Elm_Object_Item *item)
{
Elm_Toolbar_Item *it;
}
static void
-_elm_toolbar_item_state_cb(void *data __UNUSED__,
- Evas_Object *obj __UNUSED__,
+_elm_toolbar_item_state_cb(void *data EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Toolbar_Item *it = event_info;
static void
_elm_toolbar_action_left_cb(void *data,
- Evas_Object *o __UNUSED__,
- const char *sig __UNUSED__,
- const char *src __UNUSED__)
+ Evas_Object *o EINA_UNUSED,
+ const char *sig EINA_UNUSED,
+ const char *src EINA_UNUSED)
{
Evas_Object *obj = data;
Elm_Toolbar_Item *it, *it2;
static void
_elm_toolbar_action_right_cb(void *data,
- Evas_Object *o __UNUSED__,
- const char *sig __UNUSED__,
- const char *src __UNUSED__)
+ Evas_Object *o EINA_UNUSED,
+ const char *sig EINA_UNUSED,
+ const char *src EINA_UNUSED)
{
Evas_Object *obj = data;
Elm_Toolbar_Item *it, *it2;
static void _transit_obj_data_update(Elm_Transit *transit, Evas_Object *obj);
static void _transit_obj_data_recover(Elm_Transit *transit, Evas_Object *obj);
static void _transit_obj_states_save(Evas_Object *obj, Elm_Transit_Obj_Data *obj_data);
-static void _transit_obj_remove_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__);
+static void _transit_obj_remove_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
static void _transit_obj_remove(Elm_Transit *transit, Evas_Object *obj);
static void _transit_effect_del(Elm_Transit *transit, Elm_Transit_Effect_Module *effect_module);
static void _transit_remove_dead_effects(Elm_Transit *transit);
}
static void
-_transit_obj_remove_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_transit_obj_remove_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Transit *transit = data;
Elm_Transit_Obj_Data *obj_data = evas_object_data_get(obj, _transit_key);
};
static void
-_transit_effect_resizing_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit __UNUSED__)
+_transit_effect_resizing_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit EINA_UNUSED)
{
Elm_Transit_Effect_Resizing *resizing = effect;
free(resizing);
};
static void
-_translation_object_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_translation_object_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Transit_Effect_Translation *translation = data;
Eina_List *elist;
}
void
-_transit_effect_translation_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit __UNUSED__)
+_transit_effect_translation_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit EINA_UNUSED)
{
EINA_SAFETY_ON_NULL_RETURN(effect);
Elm_Transit_Effect_Translation *translation = effect;
}
void
-_transit_effect_translation_op(Elm_Transit_Effect *effect, Elm_Transit *transit, double progress __UNUSED__)
+_transit_effect_translation_op(Elm_Transit_Effect *effect, Elm_Transit *transit, double progress EINA_UNUSED)
{
EINA_SAFETY_ON_NULL_RETURN(effect);
EINA_SAFETY_ON_NULL_RETURN(transit);
};
void
-_transit_effect_zoom_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit __UNUSED__)
+_transit_effect_zoom_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit EINA_UNUSED)
{
Elm_Transit_Effect_Zoom *zoom = effect;
free(zoom);
};
static void
-_resizable_flip_object_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_resizable_flip_object_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Transit_Effect_ResizableFlip *resizable_flip = data;
Eina_List *elist;
}
void
-_transit_effect_resizable_flip_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit __UNUSED__)
+_transit_effect_resizable_flip_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit EINA_UNUSED)
{
EINA_SAFETY_ON_NULL_RETURN(effect);
}
void
-_transit_effect_resizable_flip_op(Elm_Transit_Effect *effect, Elm_Transit *transit __UNUSED__, double progress)
+_transit_effect_resizable_flip_op(Elm_Transit_Effect *effect, Elm_Transit *transit EINA_UNUSED, double progress)
{
EINA_SAFETY_ON_NULL_RETURN(effect);
Evas_Map *map;
};
static void
-_transit_effect_color_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit __UNUSED__)
+_transit_effect_color_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit EINA_UNUSED)
{
Elm_Transit_Effect_Color *color = effect;
free(color);
};
static void
-_fade_object_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_fade_object_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Transit_Effect_Fade *fade = data;
Eina_List *elist;
}
static void
-_transit_effect_fade_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit __UNUSED__)
+_transit_effect_fade_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit EINA_UNUSED)
{
EINA_SAFETY_ON_NULL_RETURN(effect);
Elm_Transit_Effect_Fade *fade = effect;
}
static void
-_transit_effect_fade_op(Elm_Transit_Effect *effect, Elm_Transit *transit __UNUSED__, double progress)
+_transit_effect_fade_op(Elm_Transit_Effect *effect, Elm_Transit *transit EINA_UNUSED, double progress)
{
EINA_SAFETY_ON_NULL_RETURN(effect);
Elm_Transit_Effect_Fade *fade = effect;
};
static void
-_blend_object_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_blend_object_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Transit_Effect_Blend *blend = data;
Eina_List *elist;
};
static void
-_transit_effect_rotation_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit __UNUSED__)
+_transit_effect_rotation_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit EINA_UNUSED)
{
Elm_Transit_Effect_Rotation *rotation = effect;
free(rotation);
};
static void
-_transit_effect_image_animation_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit __UNUSED__)
+_transit_effect_image_animation_context_free(Elm_Transit_Effect *effect, Elm_Transit *transit EINA_UNUSED)
{
EINA_SAFETY_ON_NULL_RETURN(effect);
Elm_Transit_Effect_Image_Animation *image_animation = effect;
}
static void
-_on_size_hints_changed(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_on_size_hints_changed(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(obj);
}
static void
_on_open_done(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,video,open", "elm");
}
static void
_on_playback_started(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,video,play", "elm");
}
static void
_on_playback_finished(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_VIDEO_DATA_GET(data, sd);
emotion_object_play_set(sd->emotion, EINA_FALSE);
static void
_on_aspect_ratio_updated(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static void
_on_title_changed(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
const char *title;
static void
_on_audio_level_changed(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
(void)data;
}
static void
_bt_close(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Dialog_Data *d = data;
static void
_file_sel_done(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Dialog_Data *d = data;
const char *message,
const char *default_entry_value,
const char **entry_value,
- Eina_Bool allows_multiple_files __UNUSED__,
- Eina_List *accept_types __UNUSED__,
+ Eina_Bool allows_multiple_files EINA_UNUSED,
+ Eina_List *accept_types EINA_UNUSED,
Eina_List **selected_filenames,
Eina_Bool *response)
{
}
static void
-_dialog_del_cb(void *data __UNUSED__,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_dialog_del_cb(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ecore_main_loop_quit();
}
*/
static void
_view_smart_run_javascript_alert(Ewk_View_Smart_Data *esd,
- Evas_Object *frame __UNUSED__,
+ Evas_Object *frame EINA_UNUSED,
const char *message)
{
View_Smart_Data *vsd = (View_Smart_Data *)esd;
*/
static Eina_Bool
_view_smart_run_javascript_confirm(Ewk_View_Smart_Data *esd,
- Evas_Object *frame __UNUSED__,
+ Evas_Object *frame EINA_UNUSED,
const char *message)
{
View_Smart_Data *vsd = (View_Smart_Data *)esd;
*/
static Eina_Bool
_view_smart_run_javascript_prompt(Ewk_View_Smart_Data *esd,
- Evas_Object *frame __UNUSED__,
+ Evas_Object *frame EINA_UNUSED,
const char *message,
const char *default_value,
const char **value)
static Eina_Bool
_view_smart_run_open_panel(Ewk_View_Smart_Data *esd,
- Evas_Object *frame __UNUSED__,
+ Evas_Object *frame EINA_UNUSED,
Ewk_File_Chooser *request,
Eina_List **selected_filenames)
{
static void
_ewk_view_inputmethod_change_cb(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
ELM_WEB_DATA_GET(data, sd);
static void
_ewk_view_load_started_cb(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
_ewk_view_inputmethod_change_cb(data, obj, (void *)(long)EINA_FALSE);
}
static void
_ewk_view_load_finished_cb(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
ELM_WEB_DATA_GET(data, sd);
static void
_ewk_view_viewport_changed_cb(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_WEB_DATA_GET(data, sd);
static void
_ewk_view_resized_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_WEB_DATA_GET(data, sd);
static void
_popup_will_delete(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ecore_job_add(_popup_del_job, data);
evas_object_smart_callback_del(obj, "popup,willdelete", _popup_will_delete);
static void
_popup_item_selected(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Object_Item *list_it = elm_list_selected_item_get(obj);
const Eina_List *itr, *list = elm_list_items_get(obj);
static void
_popup_dismiss_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ewk_view_popup_destroy(data);
}
static void
_view_smart_callback_proxy_free_cb(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
free(data);
}
static void
_view_smart_callback_proxy_cb(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Elm_Web_Callback_Proxy_Context *ctxt = data;
static void
_view_smart_url_changed_cb(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
evas_object_smart_callback_call(data, SIG_URI_CHANGED, event_info);
elm_web_region_show(Evas_Object *obj,
int x,
int y,
- int w __UNUSED__,
- int h __UNUSED__)
+ int w EINA_UNUSED,
+ int h EINA_UNUSED)
{
ELM_WEB_CHECK(obj);
eo_do(obj, elm_obj_web_region_show(x, y, w, h));
elm_web_region_bring_in(Evas_Object *obj,
int x,
int y,
- int w __UNUSED__,
- int h __UNUSED__)
+ int w EINA_UNUSED,
+ int h EINA_UNUSED)
{
ELM_WEB_CHECK(obj);
eo_do(obj, elm_obj_web_region_bring_in(x, y, w, h));
}
static void
-_on_sub_obj_hide(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_on_sub_obj_hide(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
elm_widget_focus_hide_handle(obj);
}
static void
_on_sub_obj_del(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_WIDGET_DATA_GET(data, sd);
static void
_obj_mouse_down(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
ELM_WIDGET_DATA_GET(data, sd);
static void
_obj_mouse_move(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
static void
_obj_mouse_up(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_WIDGET_DATA_GET(data, sd);
if (sd->still_in)
static void
_propagate_event(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
static void
_elm_object_focus_chain_del_cb(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_WIDGET_DATA_GET(data, sd);
}
static void
-_elm_widget_orientation_mode_disabled_get(Eo *obj __UNUSED__, void *_pd, va_list *list)
+_elm_widget_orientation_mode_disabled_get(Eo *obj EINA_UNUSED, void *_pd, va_list *list)
{
Eina_Bool *ret = va_arg(*list, Eina_Bool *);
Elm_Widget_Smart_Data *sd = _pd;
}
static void
-_elm_widget_item_signal_cb(void *data, Evas_Object *obj __UNUSED__, const char *emission,
+_elm_widget_item_signal_cb(void *data, Evas_Object *obj EINA_UNUSED, const char *emission,
const char *source)
{
Elm_Widget_Item_Signal_Data *wisd = data;
static Evas_Object *
_elm_widget_item_tooltip_label_create(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
Evas_Object *tooltip,
- void *item __UNUSED__)
+ void *item EINA_UNUSED)
{
Evas_Object *label = elm_label_add(tooltip);
if (!label)
static Evas_Object *
_elm_widget_item_tooltip_trans_label_create(void *data,
- Evas_Object *obj __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
Evas_Object *tooltip,
- void *item __UNUSED__)
+ void *item EINA_UNUSED)
{
Evas_Object *label = elm_label_add(tooltip);
if (!label)
static void
_elm_widget_item_tooltip_label_del_cb(void *data,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
eina_stringshare_del(data);
}
static void
_elm_widget_item_tooltip_del_cb(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Widget_Item_Tooltip *wit = data;
if (wit->del_cb) wit->del_cb((void *)wit->data, obj, wit->item);
}
static void
-_elm_win_state_eval(void *data __UNUSED__)
+_elm_win_state_eval(void *data EINA_UNUSED)
{
Eina_List *l;
Evas_Object *obj;
}
static char *
-_shot_key_get(Elm_Win_Smart_Data *sd __UNUSED__)
+_shot_key_get(Elm_Win_Smart_Data *sd EINA_UNUSED)
{
return NULL;
}
static char *
-_shot_flags_get(Elm_Win_Smart_Data *sd __UNUSED__)
+_shot_flags_get(Elm_Win_Smart_Data *sd EINA_UNUSED)
{
return NULL;
}
/* Interceptors Callbacks */
static void
-_elm_win_obj_intercept_raise(void *data, Evas_Object *obj __UNUSED__)
+_elm_win_obj_intercept_raise(void *data, Evas_Object *obj EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
TRAP(sd, raise);
}
static void
-_elm_win_obj_intercept_lower(void *data, Evas_Object *obj __UNUSED__)
+_elm_win_obj_intercept_lower(void *data, Evas_Object *obj EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
TRAP(sd, lower);
}
static void
-_elm_win_obj_intercept_stack_above(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *above __UNUSED__)
+_elm_win_obj_intercept_stack_above(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *above EINA_UNUSED)
{
INF("TODO: %s", __FUNCTION__);
}
static void
-_elm_win_obj_intercept_stack_below(void *data __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Object *below __UNUSED__)
+_elm_win_obj_intercept_stack_below(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *below EINA_UNUSED)
{
INF("TODO: %s", __FUNCTION__);
}
static void
-_elm_win_obj_intercept_layer_set(void *data, Evas_Object *obj __UNUSED__, int l)
+_elm_win_obj_intercept_layer_set(void *data, Evas_Object *obj EINA_UNUSED, int l)
{
ELM_WIN_DATA_GET(data, sd);
TRAP(sd, layer_set, l);
/* Event Callbacks */
static void
-_elm_win_obj_callback_changed_size_hints(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_elm_win_obj_callback_changed_size_hints(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
Evas_Coord w, h;
static void
_elm_win_on_parent_del(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
static void
_elm_win_focus_target_move(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
static void
_elm_win_focus_target_resize(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
static void
_elm_win_focus_target_del(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
static void
_elm_win_object_focus_in(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
void *event_info)
{
Evas_Object *obj = event_info, *target;
static void
_elm_win_object_focus_out(void *data,
- Evas *e __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
static void
_elm_win_on_img_obj_del(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
sd->img_obj = NULL;
static void
_elm_win_on_resize_obj_changed_size_hints(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_elm_win_resize_objects_eval(data);
}
#ifdef HAVE_ELEMENTARY_X
static Eina_Bool
_elm_win_client_message(void *data,
- int type __UNUSED__,
+ int type EINA_UNUSED,
void *event)
{
ELM_WIN_DATA_GET(data, sd);
static Eina_Bool
_elm_win_property_change(void *data,
- int type __UNUSED__,
+ int type EINA_UNUSED,
void *event)
{
ELM_WIN_DATA_GET(data, sd);
#endif
static void
-_elm_win_focus_highlight_hide(void *data __UNUSED__,
+_elm_win_focus_highlight_hide(void *data EINA_UNUSED,
Evas_Object *obj,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
evas_object_hide(obj);
}
static void
_elm_win_focus_highlight_anim_end(void *data,
Evas_Object *obj,
- const char *emission __UNUSED__,
- const char *source __UNUSED__)
+ const char *emission EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
static void
_elm_win_frame_cb_move_start(void *data,
- Evas_Object *obj __UNUSED__,
- const char *sig __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
+ const char *sig EINA_UNUSED,
const char *source)
{
ELM_WIN_DATA_GET(data, sd);
static void
_elm_win_frame_cb_move_stop(void *data,
- Evas_Object *obj __UNUSED__,
- const char *sig __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *sig EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
static void
_elm_win_frame_obj_move(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Win_Smart_Data *sd;
static void
_elm_win_frame_obj_resize(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Elm_Win_Smart_Data *sd;
static void
_elm_win_frame_cb_resize_show(void *data,
- Evas_Object *obj __UNUSED__,
- const char *sig __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
+ const char *sig EINA_UNUSED,
const char *source)
{
ELM_WIN_DATA_GET(data, sd);
static void
_elm_win_frame_cb_resize_hide(void *data,
- Evas_Object *obj __UNUSED__,
- const char *sig __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *sig EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
static void
_elm_win_frame_cb_resize_start(void *data,
- Evas_Object *obj __UNUSED__,
- const char *sig __UNUSED__,
+ Evas_Object *obj EINA_UNUSED,
+ const char *sig EINA_UNUSED,
const char *source)
{
#ifdef HAVE_ELEMENTARY_WAYLAND
static void
_elm_win_frame_cb_minimize(void *data,
- Evas_Object *obj __UNUSED__,
- const char *sig __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *sig EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
static void
_elm_win_frame_cb_maximize(void *data,
- Evas_Object *obj __UNUSED__,
- const char *sig __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *sig EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
Eina_Bool value;
ELM_WIN_DATA_GET(data, sd);
static void
_elm_win_frame_cb_close(void *data,
- Evas_Object *obj __UNUSED__,
- const char *sig __UNUSED__,
- const char *source __UNUSED__)
+ Evas_Object *obj EINA_UNUSED,
+ const char *sig EINA_UNUSED,
+ const char *source EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
Evas_Object *win;
#ifdef ELM_DEBUG
static void
-_debug_key_down(void *data __UNUSED__,
- Evas *e __UNUSED__,
+_debug_key_down(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
void *event_info)
{
static void
_win_img_hide(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_widget_focus_hide_handle(data);
}
static void
_win_img_mouse_up(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
void *event_info)
{
Evas_Event_Mouse_Up *ev = event_info;
static void
_win_img_focus_in(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_widget_focus_steal(data);
}
static void
_win_img_focus_out(void *data,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
elm_widget_focused_object_clear(data);
}
static void
_elm_win_on_icon_del(void *data,
- Evas *e __UNUSED__,
+ Evas *e EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
ELM_WIN_DATA_GET(data, sd);
#ifdef HAVE_ELEMENTARY_X
static void
-_elm_x_io_err(void *data __UNUSED__)
+_elm_x_io_err(void *data EINA_UNUSED)
{
Eina_List *l;
Evas_Object *obj;
}
static void
-_elm_win_cb_hide(void *data __UNUSED__,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_elm_win_cb_hide(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_elm_win_state_eval_queue();
}
static void
-_elm_win_cb_show(void *data __UNUSED__,
- Evas *e __UNUSED__,
- Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_elm_win_cb_show(void *data EINA_UNUSED,
+ Evas *e EINA_UNUSED,
+ Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
_elm_win_state_eval_queue();
}
};
static void
-_elm_cursor_obj_del(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_elm_cursor_obj_del(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Cursor *cur = data;
}
static void
-_elm_cursor_mouse_in(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_elm_cursor_mouse_in(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Cursor *cur = data;
}
static void
-_elm_cursor_mouse_out(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_elm_cursor_mouse_out(void *data, Evas *evas EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Evas_Object *sobj_parent;
Elm_Cursor *pcur = NULL;
}
static void
-_elm_cursor_del(void *data __UNUSED__, Evas *evas __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_elm_cursor_del(void *data EINA_UNUSED, Evas *evas EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
elm_object_cursor_unset(obj);
}
static void _elm_tooltip_data_clean(Elm_Tooltip *tt);
static void
-_elm_tooltip_content_changed_hints_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_elm_tooltip_content_changed_hints_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
_elm_tooltip_reconfigure_job_start(data);
TTDBG("HINTS CHANGED\n");
}
static void
-_elm_tooltip_content_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_elm_tooltip_content_del_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Tooltip *tt = data;
tt->content = NULL;
}
static void
-_elm_tooltip_obj_move_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_elm_tooltip_obj_move_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Tooltip *tt = data;
_elm_tooltip_reconfigure_job_start(tt);
}
static void
-_elm_tooltip_obj_resize_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_elm_tooltip_obj_resize_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Tooltip *tt = data;
_elm_tooltip_reconfigure_job_start(tt);
}
static void
-_elm_tooltip_obj_mouse_move_cb(Elm_Tooltip *tt, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Event_Mouse_Move *ev)
+_elm_tooltip_obj_mouse_move_cb(Elm_Tooltip *tt, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Event_Mouse_Move *ev)
{
if (tt->mouse_x || tt->mouse_y)
{
}
static void
-_elm_tooltip_obj_mouse_in_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_elm_tooltip_obj_mouse_in_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Elm_Tooltip *tt = data;
}
static void
-_elm_tooltip_obj_mouse_out_cb(Elm_Tooltip *tt, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, Evas_Event_Mouse_Out *event __UNUSED__)
+_elm_tooltip_obj_mouse_out_cb(Elm_Tooltip *tt, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Event_Mouse_Out *event EINA_UNUSED)
{
if (tt->visible_lock) return;
TTDBG("MOUSE OUT\n");
}
-static void _elm_tooltip_obj_free_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__);
+static void _elm_tooltip_obj_free_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
static void
_elm_tooltip_unset(Elm_Tooltip *tt)
}
static void
-_elm_tooltip_obj_free_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
+_elm_tooltip_obj_free_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Elm_Tooltip *tt = data;
if (tt->eventarea == obj) tt->eventarea = NULL;
}
static Evas_Object *
-_elm_tooltip_label_create(void *data, Evas_Object *obj __UNUSED__, Evas_Object *tooltip)
+_elm_tooltip_label_create(void *data, Evas_Object *obj EINA_UNUSED, Evas_Object *tooltip)
{
Evas_Object *label = elm_label_add(tooltip);
if (!label)
}
static Evas_Object *
-_elm_tooltip_trans_label_create(void *data, Evas_Object *obj __UNUSED__, Evas_Object *tooltip)
+_elm_tooltip_trans_label_create(void *data, Evas_Object *obj EINA_UNUSED, Evas_Object *tooltip)
{
Evas_Object *label = elm_label_add(tooltip);
const char **text = data;
}
static void
-_elm_tooltip_label_del_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_elm_tooltip_label_del_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
eina_stringshare_del(data);
}
static void
-_elm_tooltip_trans_label_del_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_elm_tooltip_trans_label_del_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
const char **text = data;
eina_stringshare_del(text[0]);
}
static void
-_elm_ews_border_sig_focus(void *data, Evas_Object *o __UNUSED__, const char *sig __UNUSED__, const char *source __UNUSED__)
+_elm_ews_border_sig_focus(void *data, Evas_Object *o EINA_UNUSED, const char *sig EINA_UNUSED, const char *source EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_focus_set(ee, EINA_TRUE);
}
static void
-_elm_ews_border_sig_iconify(void *data, Evas_Object *o __UNUSED__, const char *sig __UNUSED__, const char *source __UNUSED__)
+_elm_ews_border_sig_iconify(void *data, Evas_Object *o EINA_UNUSED, const char *sig EINA_UNUSED, const char *source EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_iconified_set(ee, EINA_TRUE);
}
static void
-_elm_ews_border_sig_maximize(void *data, Evas_Object *o __UNUSED__, const char *sig __UNUSED__, const char *source __UNUSED__)
+_elm_ews_border_sig_maximize(void *data, Evas_Object *o EINA_UNUSED, const char *sig EINA_UNUSED, const char *source EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_maximized_set(ee, EINA_TRUE);
}
static void
-_elm_ews_border_sig_fullscreen(void *data, Evas_Object *o __UNUSED__, const char *sig __UNUSED__, const char *source __UNUSED__)
+_elm_ews_border_sig_fullscreen(void *data, Evas_Object *o EINA_UNUSED, const char *sig EINA_UNUSED, const char *source EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_fullscreen_set(ee, EINA_TRUE);
}
static void
-_elm_ews_border_sig_restore(void *data, Evas_Object *o __UNUSED__, const char *sig __UNUSED__, const char *source __UNUSED__)
+_elm_ews_border_sig_restore(void *data, Evas_Object *o EINA_UNUSED, const char *sig EINA_UNUSED, const char *source EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_iconified_set(ee, EINA_FALSE);
}
static void
-_elm_ews_border_sig_close(void *data, Evas_Object *o __UNUSED__, const char *sig __UNUSED__, const char *source __UNUSED__)
+_elm_ews_border_sig_close(void *data, Evas_Object *o EINA_UNUSED, const char *sig EINA_UNUSED, const char *source EINA_UNUSED)
{
Ecore_Evas *ee = data;
ecore_evas_ews_delete_request(ee);
}
static void
-_elm_ews_border_sig_menu(void *data, Evas_Object *o __UNUSED__, const char *sig __UNUSED__, const char *source __UNUSED__)
+_elm_ews_border_sig_menu(void *data, Evas_Object *o EINA_UNUSED, const char *sig EINA_UNUSED, const char *source EINA_UNUSED)
{
// TODO: show some menu?
ERR("EWS does not implement menu yet");
}
static void
-_elm_ews_border_sig_move_start(void *data, Evas_Object *o __UNUSED__, const char *sig __UNUSED__, const char *source __UNUSED__)
+_elm_ews_border_sig_move_start(void *data, Evas_Object *o EINA_UNUSED, const char *sig EINA_UNUSED, const char *source EINA_UNUSED)
{
Ecore_Evas *ee = data;
Evas_Object *bs_o = ecore_evas_ews_backing_store_get(ee);
}
static void
-_elm_ews_border_sig_move_stop(void *data __UNUSED__, Evas_Object *o __UNUSED__, const char *sig __UNUSED__, const char *source __UNUSED__)
+_elm_ews_border_sig_move_stop(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED, const char *sig EINA_UNUSED, const char *source EINA_UNUSED)
{
if (!_ews_border_mover) return;
ELM_SAFE_FREE(_ews_border_mover, ecore_animator_del);
}
static Eina_Bool
-_elm_ews_wm_add_cb(void *data __UNUSED__, int type __UNUSED__, void *event_info)
+_elm_ews_wm_add_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = event_info;
Evas_Object *o = edje_object_add(ecore_evas_ews_evas_get());
}
static Eina_Bool
-_elm_ews_wm_del_cb(void *data __UNUSED__, int type __UNUSED__, void *event_info)
+_elm_ews_wm_del_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = event_info;
eina_hash_del(_ews_borders, &ee, NULL);
}
static Eina_Bool
-_elm_ews_wm_geo_cb(void *data __UNUSED__, int type __UNUSED__, void *event_info)
+_elm_ews_wm_geo_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = event_info;
Evas_Object *o = _elm_ews_wm_border_find(ee);
}
static Eina_Bool
-_elm_ews_wm_show_cb(void *data __UNUSED__, int type __UNUSED__, void *event_info)
+_elm_ews_wm_show_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = event_info;
Evas_Object *o = _elm_ews_wm_border_find(ee);
}
static Eina_Bool
-_elm_ews_wm_hide_cb(void *data __UNUSED__, int type __UNUSED__, void *event_info)
+_elm_ews_wm_hide_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = event_info;
Evas_Object *o = _elm_ews_wm_border_find(ee);
}
static Eina_Bool
-_elm_ews_wm_focus_cb(void *data __UNUSED__, int type __UNUSED__, void *event_info)
+_elm_ews_wm_focus_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = event_info;
Evas_Object *o = _elm_ews_wm_border_find(ee);
}
static Eina_Bool
-_elm_ews_wm_stack_cb(void *data __UNUSED__, int type __UNUSED__, void *event_info)
+_elm_ews_wm_stack_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = event_info;
Evas_Object *o = _elm_ews_wm_border_find(ee);
}
static Eina_Bool
-_elm_ews_wm_iconified_change_cb(void *data __UNUSED__, int type __UNUSED__, void *event_info)
+_elm_ews_wm_iconified_change_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = event_info;
Evas_Object *o = _elm_ews_wm_border_find(ee);
}
static Eina_Bool
-_elm_ews_wm_maximized_change_cb(void *data __UNUSED__, int type __UNUSED__, void *event_info)
+_elm_ews_wm_maximized_change_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = event_info;
Evas_Object *o = _elm_ews_wm_border_find(ee);
}
static Eina_Bool
-_elm_ews_wm_layer_change_cb(void *data __UNUSED__, int type __UNUSED__, void *event_info)
+_elm_ews_wm_layer_change_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = event_info;
Evas_Object *o = _elm_ews_wm_border_find(ee);
}
static Eina_Bool
-_elm_ews_wm_fullscreen_change_cb(void *data __UNUSED__, int type __UNUSED__, void *event_info)
+_elm_ews_wm_fullscreen_change_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = event_info;
Evas_Object *o = _elm_ews_wm_border_find(ee);
}
static Eina_Bool
-_elm_ews_wm_config_change_cb(void *data __UNUSED__, int type __UNUSED__, void *event_info)
+_elm_ews_wm_config_change_cb(void *data EINA_UNUSED, int type EINA_UNUSED, void *event_info)
{
Ecore_Evas *ee = event_info;
Evas_Object *o = _elm_ews_wm_border_find(ee);
static int tmpfd = -1;
static Eina_Bool
-_exe_del(void *data __UNUSED__, int type __UNUSED__, void *event)
+_exe_del(void *data EINA_UNUSED, int type EINA_UNUSED, void *event)
{
Ecore_Exe_Event_Del *ev = event;
// module api funcs needed
EAPI int
-elm_modapi_init(void *m __UNUSED__)
+elm_modapi_init(void *m EINA_UNUSED)
{
exe_exit_handler =
ecore_event_handler_add(ECORE_EXE_EVENT_DEL,
}
EAPI int
-elm_modapi_shutdown(void *m __UNUSED__)
+elm_modapi_shutdown(void *m EINA_UNUSED)
{
if (exe_exit_handler)
{
};
static void
-_diskselector_item_free_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_diskselector_item_free_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
if (data) free(data);
}
static void
-_ctxpopup_dismissed_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__ )
+_ctxpopup_dismissed_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED )
{
Evas_Object *diskselector;
}
static void
-_datetime_resize_cb(void *data, Evas *e __UNUSED__,Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_datetime_resize_cb(void *data, Evas *e EINA_UNUSED,Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Ctxpopup_Module_Data *ctx_mod;
}
static void
-_datetime_move_cb(void *data, Evas *e __UNUSED__,Evas_Object *obj __UNUSED__,
- void *event_info __UNUSED__)
+_datetime_move_cb(void *data, Evas *e EINA_UNUSED,Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Ctxpopup_Module_Data *ctx_mod;
}
static void
-_diskselector_cb(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info)
+_diskselector_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
{
DiskItem_Data *disk_data;
struct tm curr_time;
}
static void
-_ampm_clicked_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
+_ampm_clicked_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
Ctxpopup_Module_Data *ctx_mod;
struct tm curr_time;
}
static void
-_field_clicked_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
+_field_clicked_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
{
Ctxpopup_Module_Data *ctx_mod;
Evas_Object *diskselector;
// module api funcs needed
EAPI int
-elm_modapi_init(void *m __UNUSED__)
+elm_modapi_init(void *m EINA_UNUSED)
{
return 1; // succeed always
}
EAPI int
-elm_modapi_shutdown(void *m __UNUSED__)
+elm_modapi_shutdown(void *m EINA_UNUSED)
{
return 1; // succeed always
}
static void
_item_changed_cb(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data;
}
static Evas_Object *
-elm_prefs_button_add(const Elm_Prefs_Item_Iface *iface __UNUSED__,
+elm_prefs_button_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
Evas_Object *prefs,
- const Elm_Prefs_Item_Type type __UNUSED__,
- const Elm_Prefs_Item_Spec spec __UNUSED__,
+ const Elm_Prefs_Item_Type type EINA_UNUSED,
+ const Elm_Prefs_Item_Spec spec EINA_UNUSED,
Elm_Prefs_Item_Changed_Cb cb)
{
Evas_Object *obj = elm_button_add(prefs);
static void
_item_changed_cb(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data;
}
static Evas_Object *
-elm_prefs_check_add(const Elm_Prefs_Item_Iface *iface __UNUSED__,
+elm_prefs_check_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
Evas_Object *prefs,
- const Elm_Prefs_Item_Type type __UNUSED__,
+ const Elm_Prefs_Item_Type type EINA_UNUSED,
const Elm_Prefs_Item_Spec spec,
Elm_Prefs_Item_Changed_Cb cb)
{
static void
_item_changed_cb(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data;
}
static Evas_Object *
-elm_prefs_datetime_add(const Elm_Prefs_Item_Iface *iface __UNUSED__,
+elm_prefs_datetime_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
Evas_Object *prefs,
- const Elm_Prefs_Item_Type type __UNUSED__,
+ const Elm_Prefs_Item_Type type EINA_UNUSED,
const Elm_Prefs_Item_Spec spec,
Elm_Prefs_Item_Changed_Cb cb)
{
static void
_item_changed_cb(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data;
}
static void
-_entry_del_cb(void *data __UNUSED__,
- Evas *evas __UNUSED__,
+_entry_del_cb(void *data EINA_UNUSED,
+ Evas *evas EINA_UNUSED,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
regex_t *regex;
Ecore_Timer *timer;
}
static Evas_Object *
-elm_prefs_entry_add(const Elm_Prefs_Item_Iface *iface __UNUSED__,
+elm_prefs_entry_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
Evas_Object *prefs,
const Elm_Prefs_Item_Type type,
const Elm_Prefs_Item_Spec spec,
}
static Eina_Bool
-elm_prefs_entry_expand_want(Evas_Object *obj __UNUSED__)
+elm_prefs_entry_expand_want(Evas_Object *obj EINA_UNUSED)
{
return EINA_TRUE;
}
#include "private.h"
static Evas_Object *
-elm_prefs_horizontal_box_add(const Elm_Prefs_Page_Iface *iface __UNUSED__,
+elm_prefs_horizontal_box_add(const Elm_Prefs_Page_Iface *iface EINA_UNUSED,
Evas_Object *prefs)
{
Evas_Object *obj = elm_box_add(prefs);
#include "private.h"
static Evas_Object *
-elm_prefs_horizontal_frame_add(const Elm_Prefs_Page_Iface *iface __UNUSED__,
+elm_prefs_horizontal_frame_add(const Elm_Prefs_Page_Iface *iface EINA_UNUSED,
Evas_Object *prefs)
{
Evas_Object *bx, *obj = elm_frame_add(prefs);
};
static Evas_Object *
-elm_prefs_label_add(const Elm_Prefs_Item_Iface *iface __UNUSED__,
+elm_prefs_label_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
Evas_Object *prefs,
- const Elm_Prefs_Item_Type type __UNUSED__,
- const Elm_Prefs_Item_Spec spec __UNUSED__,
- Elm_Prefs_Item_Changed_Cb it_changed_cb __UNUSED__)
+ const Elm_Prefs_Item_Type type EINA_UNUSED,
+ const Elm_Prefs_Item_Spec spec EINA_UNUSED,
+ Elm_Prefs_Item_Changed_Cb it_changed_cb EINA_UNUSED)
{
Evas_Object *obj = elm_label_add(prefs);
};
static Evas_Object *
-elm_prefs_separator_add(const Elm_Prefs_Item_Iface *iface __UNUSED__,
+elm_prefs_separator_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
Evas_Object *prefs,
- const Elm_Prefs_Item_Type type __UNUSED__,
- const Elm_Prefs_Item_Spec spec __UNUSED__,
- Elm_Prefs_Item_Changed_Cb cb __UNUSED__)
+ const Elm_Prefs_Item_Type type EINA_UNUSED,
+ const Elm_Prefs_Item_Spec spec EINA_UNUSED,
+ Elm_Prefs_Item_Changed_Cb cb EINA_UNUSED)
{
Evas_Object *obj = elm_separator_add(prefs);
static void
_item_changed_cb(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data;
}
static Evas_Object *
-elm_prefs_slider_add(const Elm_Prefs_Item_Iface *iface __UNUSED__,
+elm_prefs_slider_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
Evas_Object *prefs,
const Elm_Prefs_Item_Type type,
const Elm_Prefs_Item_Spec spec,
static void
_item_changed_cb(void *data,
Evas_Object *obj,
- void *event_info __UNUSED__)
+ void *event_info EINA_UNUSED)
{
Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data;
}
static Evas_Object *
-elm_prefs_spinner_add(const Elm_Prefs_Item_Iface *iface __UNUSED__,
+elm_prefs_spinner_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
Evas_Object *prefs,
const Elm_Prefs_Item_Type type,
const Elm_Prefs_Item_Spec spec,
};
static Evas_Object *
-elm_prefs_swallow_add(const Elm_Prefs_Item_Iface *iface __UNUSED__,
+elm_prefs_swallow_add(const Elm_Prefs_Item_Iface *iface EINA_UNUSED,
Evas_Object *prefs,
- const Elm_Prefs_Item_Type type __UNUSED__,
- const Elm_Prefs_Item_Spec spec __UNUSED__,
- Elm_Prefs_Item_Changed_Cb cb __UNUSED__)
+ const Elm_Prefs_Item_Type type EINA_UNUSED,
+ const Elm_Prefs_Item_Spec spec EINA_UNUSED,
+ Elm_Prefs_Item_Changed_Cb cb EINA_UNUSED)
{
Evas_Object *obj = elm_layout_add(prefs);
#include "private.h"
static Evas_Object *
-elm_prefs_vertical_box_add(const Elm_Prefs_Page_Iface *iface __UNUSED__,
+elm_prefs_vertical_box_add(const Elm_Prefs_Page_Iface *iface EINA_UNUSED,
Evas_Object *prefs)
{
Evas_Object *obj = elm_box_add(prefs);
#include "private.h"
static Evas_Object *
-elm_prefs_vertical_frame_add(const Elm_Prefs_Page_Iface *iface __UNUSED__,
+elm_prefs_vertical_frame_add(const Elm_Prefs_Page_Iface *iface EINA_UNUSED,
Evas_Object *prefs)
{
Evas_Object *bx, *obj = elm_frame_add(prefs);
}
EAPI int
-elm_modapi_init(void *m __UNUSED__)
+elm_modapi_init(void *m EINA_UNUSED)
{
_elm_prefs_log_dom = eina_log_domain_register
("elm-prefs", EINA_COLOR_YELLOW);
}
EAPI int
-elm_modapi_shutdown(void *m __UNUSED__)
+elm_modapi_shutdown(void *m EINA_UNUSED)
{
elm_prefs_item_iface_unregister(_elm_prefs_item_widgets);
elm_prefs_page_iface_unregister(_elm_prefs_page_widgets);
// module api funcs needed
EAPI int
-elm_modapi_init(void *m __UNUSED__)
+elm_modapi_init(void *m EINA_UNUSED)
{
return 1; // succeed always
}
EAPI int
-elm_modapi_shutdown(void *m __UNUSED__)
+elm_modapi_shutdown(void *m EINA_UNUSED)
{
return 1; // succeed always
}
}
EAPI char *
-map_module_tile_url_get(Evas_Object *obj __UNUSED__, int x, int y, int zoom)
+map_module_tile_url_get(Evas_Object *obj EINA_UNUSED, int x, int y, int zoom)
{
char buf[PATH_MAX];
snprintf(buf, sizeof(buf), "http://tile.openstreetmap.org/%d/%d/%d.png",
}
EAPI char *
-map_module_route_url_get(Evas_Object *obj __UNUSED__, const char *type_name __UNUSED__, int method __UNUSED__, double flon __UNUSED__, double flat __UNUSED__, double tlon __UNUSED__, double tlat __UNUSED__)
+map_module_route_url_get(Evas_Object *obj EINA_UNUSED, const char *type_name EINA_UNUSED, int method EINA_UNUSED, double flon EINA_UNUSED, double flat EINA_UNUSED, double tlon EINA_UNUSED, double tlat EINA_UNUSED)
{
return strdup("");
}
EAPI char *
-map_module_name_url_get(Evas_Object *obj __UNUSED__, int method __UNUSED__, const char *name __UNUSED__, double lon __UNUSED__, double lat __UNUSED__)
+map_module_name_url_get(Evas_Object *obj EINA_UNUSED, int method EINA_UNUSED, const char *name EINA_UNUSED, double lon EINA_UNUSED, double lat EINA_UNUSED)
{
return strdup("");
}
EAPI Eina_Bool
-map_module_tile_geo_to_coord(const Evas_Object *obj __UNUSED__, int zoom __UNUSED__, double lon __UNUSED__, double lat __UNUSED__, int size __UNUSED__, int *x __UNUSED__, int *y __UNUSED__)
+map_module_tile_geo_to_coord(const Evas_Object *obj EINA_UNUSED, int zoom EINA_UNUSED, double lon EINA_UNUSED, double lat EINA_UNUSED, int size EINA_UNUSED, int *x EINA_UNUSED, int *y EINA_UNUSED)
{
return EINA_FALSE;
}
EAPI Eina_Bool
-map_module_tile_coord_to_geo(const Evas_Object *obj __UNUSED__, int zoom __UNUSED__, int x __UNUSED__, int y __UNUSED__, int size __UNUSED__, double *lon __UNUSED__, double *lat __UNUSED__)
+map_module_tile_coord_to_geo(const Evas_Object *obj EINA_UNUSED, int zoom EINA_UNUSED, int x EINA_UNUSED, int y EINA_UNUSED, int size EINA_UNUSED, double *lon EINA_UNUSED, double *lat EINA_UNUSED)
{
return EINA_FALSE;
}
}
int
-main(int argc __UNUSED__, char **argv __UNUSED__)
+main(int argc EINA_UNUSED, char **argv EINA_UNUSED)
{
int failed_count;
Suite *s;