elm src/examples: Applied caro's r62885 changes to examples.

Changed EAPI -> EAPI_MAIN in applications. http://trac.enlightenment.org/e/changeset/62885


SVN revision: 62931
This commit is contained in:
Daniel Juyung Seo 2011-08-29 04:16:18 +00:00
parent 136a0f7dfd
commit ecc8034ddb
45 changed files with 45 additions and 45 deletions

View File

@ -38,7 +38,7 @@ on_done(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __U
elm_exit();
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *bx, *as;

View File

@ -16,7 +16,7 @@ _bla(void *data, Evas_Object *obj, void *event_info)
elm_bubble_corner_set(obj, corners[++corner > 3 ? corner = 0 : corner]);
}
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *bubble, *label, *icon;

View File

@ -16,7 +16,7 @@
# define __UNUSED__
#endif
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *cal;

View File

@ -26,7 +26,7 @@ _format_month_year(struct tm *stime)
return strdup(buf);
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *cal;

View File

@ -17,7 +17,7 @@
# define __UNUSED__
#endif
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *cal;

View File

@ -19,7 +19,7 @@
#define SECS_DAY 86400
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *bx, *cal, *cal2;

View File

@ -41,7 +41,7 @@ _print_cal_info_cb(void *data __UNUSED__, Evas_Object *obj, void *event_info __U
wds[0], wds[1], wds[2], wds[3], wds[4], wds[5], wds[6]);
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *cal;

View File

@ -25,7 +25,7 @@ _btn_clear_cb(void *data, Evas_Object *btn __UNUSED__, void *ev __UNUSED__)
elm_calendar_marks_draw(cal);
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *bt, *bx, *cal;

View File

@ -8,7 +8,7 @@
static void _print(void *data, Evas_Object *obj, void *event_info);
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *cb, *cb2, *icon;

View File

@ -8,7 +8,7 @@
static void _change_color(void *data, Evas_Object *obj, void *event_info);
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *cs, *frame, *rect;

View File

@ -16,7 +16,7 @@
# define __UNUSED__
#endif
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *btn, *bx, *en;

View File

@ -16,7 +16,7 @@
# define __UNUSED__
#endif
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *conform, *btn, *bx, *en;

View File

@ -72,7 +72,7 @@ _list_item_cb2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_i
elm_list_item_selected_set(event_info, EINA_FALSE);
}
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *list;

View File

@ -24,7 +24,7 @@ _on_done(void *data __UNUSED__,
elm_exit();
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *bx, *ds;

View File

@ -197,7 +197,7 @@ _select_prev_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUS
elm_diskselector_item_selected_set(prev_item, EINA_TRUE);
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *bx, *hbx, *ds, *bt;

View File

@ -90,7 +90,7 @@ _expandable_toggle(void *data,
printf("Expandable folders mode set to: %s\n", old_val ? "false" : "true");
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__,
char **argv __UNUSED__)
{

View File

@ -88,7 +88,7 @@ _expandable_toggle(void *data,
printf("Expandable folders mode set to: %s\n", old_val ? "false" : "true");
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__,
char **argv __UNUSED__)
{

View File

@ -113,7 +113,7 @@ _path_get_clicked(void *data,
elm_fileselector_path_get(fs));
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__,
char **argv __UNUSED__)
{

View File

@ -8,7 +8,7 @@
static void _change_interaction(void *data, Evas_Object *obj, void *event_info);
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *rect, *rect2, *flip, *radio, *radio2, *radio3;

View File

@ -146,7 +146,7 @@ _on_keydown(void *data,
}
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
unsigned int i;

View File

@ -6,7 +6,7 @@
# include "elementary_config.h"
#endif
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg;

View File

@ -18,7 +18,7 @@ _hide_hover(void *data, Evas_Object *obj, void *event_info)
evas_object_hide(data);
}
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *bt, *bt2, *rect, *rect2, *rect3, *hover;

View File

@ -12,7 +12,7 @@ static void _sel(void *data, Evas_Object *obj, void *event_info);
static void _free(void *data, Evas_Object *obj, void *event_info);
static void _add_item(void *data, Evas_Object *obj, void *event_info);
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *rect, *hoversel;

View File

@ -6,7 +6,7 @@
# include "elementary_config.h"
#endif
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *label, *label2, *label3, *label4, *label5, *label6;

View File

@ -24,7 +24,7 @@ _on_done(void *data __UNUSED__,
elm_exit();
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *bx, *li;

View File

@ -24,7 +24,7 @@ _on_done(void *data __UNUSED__,
elm_exit();
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *bx, *li;

View File

@ -245,7 +245,7 @@ _disable_cb(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__
elm_list_item_disabled_set(selected_item, EINA_TRUE);
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *bx, *hbx, *li, *bt;

View File

@ -71,7 +71,7 @@ _nasty_hack(void *data)
return ECORE_CALLBACK_CANCEL;
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *map, *box, *bt;

View File

@ -155,7 +155,7 @@ _nasty_hack(void *data)
return ECORE_CALLBACK_CANCEL;
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *map, *box, *bt;

View File

@ -115,7 +115,7 @@ _nasty_hack(void *data)
return ECORE_CALLBACK_CANCEL;
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *map, *box, *bt, *entry;

View File

@ -44,7 +44,7 @@ _smooth_cb(void *data, Evas_Object *obj, void *event_info __UNUSED__)
elm_mapbuf_smooth_set(mb, elm_check_state_get(obj));
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *bx, *hbx, *tg, *ck, *mb, *tb, *ic;

View File

@ -24,7 +24,7 @@ _show(void *data, Evas *e, Evas_Object *obj, void *event_info)
evas_object_show(data);
}
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *menu, *button, *rect;

View File

@ -8,7 +8,7 @@
static void _hide(void *data, Evas_Object *obj, void *event_info);
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *bx, *notify, *content;

View File

@ -9,7 +9,7 @@
static void _promote(void *data, Evas_Object *obj, void *event_info);
static Evas_Object *pager;
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *rect, *bt;

View File

@ -6,7 +6,7 @@
# include "elementary_config.h"
#endif
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *bx, *panel, *content;

View File

@ -11,7 +11,7 @@ static void _unfit(void *data, Evas_Object *obj, void *event_info);
static void _zoom(void *data, Evas_Object *obj, void *event_info);
static void _bring_in(void *data, Evas_Object *obj, void *event_info);
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *bx, *obj, *photocam;

View File

@ -10,7 +10,7 @@ static int val = 1;
static void _cb(void *data, Evas_Object *obj, void *event_info);
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *bx, *radio, *group, *ic;

View File

@ -106,7 +106,7 @@ Aliquam diam leo, ultrices a sodales sed, laoreet id purus. Nullam eleifend leo
<br>\
Nam scelerisque nulla ut neque tempor blandit volutpat nisl vehicula. Nam orci enim, luctus ut venenatis et, egestas id nunc. Phasellus risus sem, scelerisque sed vestibulum a, aliquam at sem. Sed venenatis tristique nisi id eleifend. Morbi urna tellus, cursus ac porttitor rhoncus, commodo at mi. Mauris ac magna nisi. Maecenas rutrum lobortis sapien, sed dapibus neque hendrerit a. Aliquam fringilla lectus nec arcu tempor et molestie dui suscipit. Proin et felis velit, vel pellentesque ligula. Donec tempus, mi at mollis porttitor, mauris urna congue elit, at varius nisi elit et est. Quisque eu libero lorem, eget tincidunt velit. Nullam hendrerit metus quis urna adipiscing quis tristique tortor condimentum. Integer iaculis scelerisque sem, vitae consectetur lorem facilisis eu. Phasellus consectetur blandit auctor. Morbi eleifend mollis ipsum, id facilisis leo euismod ut. Nunc id est tellus.";
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *label, *scroller;

View File

@ -6,7 +6,7 @@
# include "elementary_config.h"
#endif
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *bx, *rect, *separator;

View File

@ -6,7 +6,7 @@
# include "elementary_config.h"
#endif
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *label, *table;

View File

@ -6,7 +6,7 @@
# include "elementary_config.h"
#endif
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *rect, *table;

View File

@ -11,7 +11,7 @@ static void _cb2(void *data, Evas_Object *obj, void *event_info);
static Eina_Bool val = EINA_FALSE;
EAPI int
EAPI_MAIN int
elm_main(int argc, char **argv)
{
Evas_Object *win, *bg, *bx, *toggle, *ic;

View File

@ -46,7 +46,7 @@ _item_3_pressed(void *data, Evas_Object *obj __UNUSED__, void *event_info __UNUS
elm_object_text_set(bt, "Create and send email");
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *bx, *tb, *bt;

View File

@ -32,7 +32,7 @@ _item_pressed(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
elm_toolbar_item_selected_set(item, EINA_FALSE);
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *bx, *tb, *bt;

View File

@ -32,7 +32,7 @@ _item_pressed(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_in
elm_toolbar_item_selected_set(item, EINA_FALSE);
}
EAPI int
EAPI_MAIN int
elm_main(int argc __UNUSED__, char **argv __UNUSED__)
{
Evas_Object *win, *bg, *bx, *tb, *bt, *menu;