elementary_test: remove ELM_LIB_QUICKLAUNCH

Refer to the previous commits for the reason.
Remove all #ifndef ELM_LIB_QUICKLAUNCH from the test files.
This commit is contained in:
Jean-Philippe Andre 2013-11-04 17:54:31 +09:00
parent d218676dd0
commit 877e122e7a
99 changed files with 97 additions and 199 deletions

View File

@ -2,7 +2,6 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
typedef struct _Theme Theme;
typedef struct _Fonts_Data Fonts_Data;
@ -3671,7 +3670,5 @@ elm_main(int argc,
/* exit code */
return 0;
}
#endif
/* All elementary apps should use this. Put it right after elm_main() */
ELM_MAIN()

View File

@ -5,7 +5,6 @@
#include <string.h>
#include <Elementary.h>
#include "test.h"
#ifndef ELM_LIB_QUICKLAUNCH
int _log_domain = -1;
@ -912,7 +911,6 @@ elm_main(int argc, char **argv)
/* exit code */
return 0;
}
#endif
/* all elementary apps should use this. but it should be placed right after
* elm_main() */
ELM_MAIN()

View File

@ -3,7 +3,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
typedef struct _Point
{
@ -338,4 +338,3 @@ test_3d(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info E
_cube_update(win, cube);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#if 0
static void
@ -403,4 +403,3 @@ test_access3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
}
#endif
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void _pos_selected_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info)
{
@ -209,4 +209,3 @@ test_actionslider(void *data EINA_UNUSED, Evas_Object * obj EINA_UNUSED, void *e
evas_object_resize(win, 320, 400);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static const char *names[] =
{
@ -110,4 +110,3 @@ test_anim(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info
evas_object_event_callback_add(win, EVAS_CALLBACK_DEL, _del, win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
typedef struct {
Evas_Object *win, *label;
@ -208,4 +208,3 @@ test_application_server_message(void *data EINA_UNUSED,
msg_server = test_application_server_common( "org.enlightenment.message");
eo_do(msg_server, eo_event_callback_add(EO_EV_DEL, _server_del_cb, &msg_server));
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_cb_size_radio_changed(void *data, Evas_Object *obj, void *event EINA_UNUSED)
@ -270,4 +270,3 @@ test_bg_options(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even
evas_object_show(win);
}
#endif

View File

@ -3,7 +3,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define ICON_MAX 24
typedef enum
@ -702,4 +702,3 @@ test_box_transition(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *
elm_box_layout_set(bx, evas_object_box_layout_horizontal, NULL, NULL);
_test_box_transition_change(tdata);
}
#endif

View File

@ -3,7 +3,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_print_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
@ -173,4 +173,3 @@ test_bubble(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_bt_repeated(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
{
@ -195,4 +195,3 @@ test_button(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
struct _api_data
{
unsigned int state; /* What state we are testing */
@ -361,4 +361,3 @@ test_calendar3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static Eina_Bool eb;
@ -190,4 +190,3 @@ test_check_toggle(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev
evas_object_show(win);
}
#endif

View File

@ -3,7 +3,7 @@
#include "test.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
struct _api_data
{
unsigned int state; /* What state we are testing */
@ -318,4 +318,3 @@ test_clock3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static Evas_Object *glb;
@ -102,4 +102,3 @@ test_cnp(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info
evas_object_resize(win, 480, 200);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_colorselector_changed_cb(void *data, Evas_Object *obj,
@ -203,4 +203,3 @@ test_colorselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#ifdef MAX_PROFILES
# undef MAX_PROFILES
@ -533,4 +533,3 @@ test_config(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUS
evas_object_resize(win, 400, 500);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
test_conformant(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event EINA_UNUSED)
@ -195,4 +195,3 @@ test_conformant2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static int vis = 0;
static int rotate_with_resize = 0;
@ -384,4 +384,3 @@ test_conformant_indicator(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
@ -348,4 +348,3 @@ test_ctxpopup(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
evas_object_resize(win, 400, 400);
evas_object_show(win);
}
#endif

View File

@ -3,7 +3,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
// XXX: show all type of cursors in the elementary_test. this needs to be the first test
@ -447,4 +447,3 @@ test_cursor4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
#include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
/* A simple test, just displaying datetime in its default format */
@ -73,4 +73,3 @@ test_datetime(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
#include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void _changed_cb(void* data EINA_UNUSED, Evas_Object* obj, void* event_info)
{
@ -125,4 +125,3 @@ test_dayselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *eve
evas_object_show(win);
}
#endif

View File

@ -4,7 +4,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
struct _api_data
{
unsigned int state; /* What state we are testing */
@ -356,4 +356,3 @@ test_diskselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev
evas_object_show(win);
}
#endif

View File

@ -17,7 +17,7 @@
#include <Eio.h>
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static Elm_Genlist_Item_Class it_eio;
@ -245,4 +245,3 @@ test_eio(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
my_entry_bt_1(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
@ -2340,4 +2340,3 @@ test_entry_emoticon(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
elm_object_focus_set(en, EINA_TRUE);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_print_clicked(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
@ -236,4 +236,3 @@ test_entry_anchor(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev
elm_object_focus_set(win, EINA_TRUE);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
my_entry_anchor_bt(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
@ -108,4 +108,3 @@ test_entry_anchor2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
evas_object_show(win);
}
#endif

View File

@ -3,7 +3,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
@ -184,4 +184,3 @@ test_external_video(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
// 16 ^ 4 = 65k
#define BLOK 16
@ -180,4 +180,3 @@ test_factory(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
#endif

View File

@ -14,7 +14,7 @@
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
my_fileselector_done(void *data,
Evas_Object *obj EINA_UNUSED,
@ -397,4 +397,3 @@ test_fileselector(void *data EINA_UNUSED,
elm_box_pack_end(vbox, _mode_option_create(vbox, fs));
}
#endif

View File

@ -4,7 +4,7 @@
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
struct _api_data
{
unsigned int state; /* What state we are testing */
@ -244,4 +244,3 @@ test_fileselector_button(void *data EINA_UNUSED,
evas_object_resize(win, 400, 400);
evas_object_show(win);
}
#endif

View File

@ -4,7 +4,7 @@
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
struct _api_data
{
unsigned int state; /* What state we are testing */
@ -258,4 +258,3 @@ test_fileselector_entry(void *data EINA_UNUSED,
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
my_fl_1(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
@ -698,4 +698,3 @@ test_flip5(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
typedef struct _State State;
typedef struct _Slice Slice;
@ -912,4 +912,3 @@ test_flip_page(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
evas_object_resize(win, 480, 480);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
_sel_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info)
@ -187,4 +187,3 @@ test_flipselector(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
typedef struct _Testitem
{
Elm_Object_Item *item;
@ -100,4 +100,3 @@ test_floating(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
ani = ecore_animator_add(anim, gl);
evas_object_event_callback_add(win, EVAS_CALLBACK_DEL, _del, ani);
}
#endif

View File

@ -3,7 +3,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static Eina_Bool
_event(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, Evas_Object *src EINA_UNUSED, Evas_Callback_Type type, void *event_info)
@ -410,4 +410,3 @@ test_focus(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
}
}
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_focus_in(void *data EINA_UNUSED, Evas *e EINA_UNUSED, void *event_info)
@ -148,4 +148,3 @@ test_focus2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
evas_object_resize(win, 400, 400);
evas_object_show(win);
}
#endif

View File

@ -3,7 +3,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static Evas_Object *foc = NULL;
@ -455,4 +455,3 @@ test_focus_custom(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev
elm_box_pack_end(bx2, bt);
evas_object_show(bt);
}
#endif

View File

@ -4,7 +4,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define WEIGHT evas_object_size_hint_weight_set
#define ALIGN_ evas_object_size_hint_align_set
@ -1228,4 +1228,3 @@ test_gengrid4(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
elm_box_pack_end(bx, bt);
evas_object_show(bt);
}
#endif

View File

@ -4,7 +4,7 @@
#include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define WEIGHT evas_object_size_hint_weight_set
#define ALIGN_ evas_object_size_hint_align_set
@ -3502,4 +3502,3 @@ test_genlist_item_styles(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
evas_object_data_set(list, "genlist", gl);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
/* We zoom out to this value so we'll be able to use map and have a nice
* resolution when zooming in. */
@ -402,5 +402,4 @@ test_gesture_layer(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define TAP_NAME "tap"
#define DOUBLE_TAP_NAME "double_tap"
@ -812,4 +812,3 @@ test_gesture_layer2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
#include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
/* We zoom out to this value so we'll be able to use map and have a nice
* resolution when zooming in. */
@ -586,4 +586,3 @@ test_gesture_layer3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
photo_array);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#include <Elementary.h>
#ifndef M_PI
@ -683,4 +683,3 @@ test_glview(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
typedef struct _GLData GLData;
@ -276,4 +276,3 @@ test_glview_simple(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
struct _Api_Data
{
Evas_Object *grid;
@ -187,4 +187,3 @@ test_grid(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info
evas_object_resize(win, 480, 480);
evas_object_show(win);
}
#endif

View File

@ -1,6 +1,6 @@
#include "elementary_config.h"
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_dismissed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
@ -247,4 +247,3 @@ test_hover3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
evas_object_smart_callback_add(bt, "clicked", _dismiss_hover, hv);
}
#endif

View File

@ -3,7 +3,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
struct _api_data
{
unsigned int state; /* What state we are testing */
@ -251,4 +251,3 @@ test_hoversel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
aspect_fixed_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
@ -152,4 +152,3 @@ test_icon_transparent(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_icon_clicked_cb(void *data , Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
@ -54,4 +54,3 @@ test_icon_animated(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
evas_object_smart_callback_add(ic, "clicked", _icon_clicked_cb, ic);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static Elm_Genlist_Item_Class *it_desk = NULL;
static char *
@ -104,4 +104,3 @@ test_icon_desktops(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *e
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static const struct {
Elm_Image_Orient orient;
@ -196,4 +196,3 @@ test_click_image(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *ev
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
#endif

View File

@ -3,7 +3,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
struct _Idx_Data_Type
{
Evas_Object *id; /* Pointer to Index */
@ -469,4 +469,3 @@ test_index_horizontal(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
evas_object_show(win);
}
#endif

View File

@ -3,7 +3,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
struct _api_data
{
unsigned int state; /* What state we are testing */
@ -127,4 +127,3 @@ test_inwin2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
evas_object_resize(win, 320, 240);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
enum _slide_style
{
@ -217,4 +217,3 @@ test_label2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
evas_object_resize(win, 320, 320);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
mode_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
@ -920,4 +920,3 @@ test_launcher3(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
evas_object_resize(win, 480, 400);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#include <Elementary_Cursor.h>
struct _api_data
@ -265,4 +265,3 @@ test_layout2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
evas_object_resize(win, 320, 320);
evas_object_show(win);
}
#endif

View File

@ -4,7 +4,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
struct _api_data
{
unsigned int state; /* What state we are testing */
@ -1491,4 +1491,3 @@ test_list_separator(void *data EINA_UNUSED,
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_click_me(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
@ -74,4 +74,3 @@ test_main_menu(void *data EINA_UNUSED,
elm_menu_item_add(menu, menu_it1, NULL, "first item", NULL, NULL);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define SOURCE_MAX 10
#define MARKER_MAX 1000
@ -1186,4 +1186,3 @@ test_map(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info
evas_object_resize(win, 800, 800);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_menu_dismissed_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
@ -310,4 +310,3 @@ test_menu2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
evas_object_show(bt);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define IND_NUM 20
@ -132,4 +132,3 @@ test_multi(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_item_selected_cb(void *data EINA_UNUSED,
@ -223,4 +223,3 @@ test_multibuttonentry(void *data EINA_UNUSED,
evas_object_show(win);
elm_object_focus_set(sc, EINA_TRUE);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define BUTTON_TEXT_SET(BT, TEXT) \
elm_object_text_set((BT), (TEXT)); \
@ -270,4 +270,3 @@ test_naviframe2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even
evas_object_resize(win, 400, 400);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define WEIGHT evas_object_size_hint_weight_set
#define ALIGN_ evas_object_size_hint_align_set
@ -362,4 +362,3 @@ test_naviframe_complex(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, voi
evas_object_resize(win, 400, 400);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_bt(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
@ -434,4 +434,3 @@ test_notify(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
evas_object_resize(win, 400, 400);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define LIST_ITEM_MAX 20
@ -268,4 +268,3 @@ test_panel(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_press(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
@ -109,4 +109,3 @@ test_panes(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_clicked_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
@ -101,4 +101,3 @@ test_photo(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
}
/* vim:set ts=8 sw=3 sts=3 expandtab cino=>5n-2f0^-2{2(0W1st0 :*/
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static Evas_Object *rect;
@ -534,4 +534,3 @@ test_photocam_remote(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
evas_object_resize(win, 800, 800);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static Evas_Object *g_popup = NULL;
static int times = 0;
@ -564,4 +564,3 @@ test_popup(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
evas_object_show(list);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define WIDTH (500)
#define HEIGHT (1000)
@ -118,4 +118,3 @@ test_prefs(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
elm_prefs_data_unref(prefs_data);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
typedef struct Progressbar_Data
{
Evas_Object *pb1;
@ -397,4 +397,3 @@ test_progressbar2(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *even
evas_object_show(bt);
pd->btn_stop = bt;
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_rd_changed_cb(void *data EINA_UNUSED, Evas_Object *obj,
@ -104,4 +104,3 @@ test_radio(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
elm_radio_value_set(rdg, 2);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
test_scaling(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
@ -117,4 +117,3 @@ test_scaling2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
evas_object_resize(win, 320, 320);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
my_bt_go_300_300(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
@ -421,4 +421,3 @@ test_scroller2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
changed_cb(void *data EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *event)
@ -155,4 +155,3 @@ test_segment_control(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void
evas_object_resize(win, 400, 300);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
test_separator(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
@ -65,4 +65,3 @@ test_separator(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
_delay_change_cb(void *data EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED)
@ -295,4 +295,3 @@ test_slider(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
evas_object_show(bt);
elm_box_pack_end(bx2, bt);
}
#endif

View File

@ -1,6 +1,6 @@
#include "elementary_config.h"
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static Evas_Object *slideshow, *bt_start, *bt_stop;
static Elm_Slideshow_Item_Class itc;
@ -215,4 +215,3 @@ test_slideshow(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_spinner_drag_start_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
@ -112,4 +112,3 @@ test_spinner(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
evas_object_resize(win, 300, 300);
evas_object_show(win);
}
#endif

View File

@ -10,7 +10,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
typedef struct _My_Item My_Item;
@ -268,4 +268,3 @@ test_store(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
evas_object_resize(win, 480, 800);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define WIDTH 320
#define HEIGHT 160
@ -117,4 +117,3 @@ test_sys_notify(void *data EINA_UNUSED,
evas_object_resize(win, WIDTH, HEIGHT);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define WIDTH 320
#define HEIGHT 160
@ -191,4 +191,3 @@ test_systray(void *data EINA_UNUSED,
evas_object_resize(win, WIDTH, HEIGHT);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
test_table(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
@ -389,4 +389,3 @@ test_table7(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_in
evas_object_show(win);
}
#endif

View File

@ -3,7 +3,7 @@
#endif
#include <Elementary.h>
#include <Eina.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define APPS_COL 0
#define VIEWS_COL 1
@ -405,4 +405,3 @@ test_task_switcher(void *data EINA_UNUSED,
evas_object_show(win);
evas_object_resize(win, 1024, 768);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
void
test_thumb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
@ -61,4 +61,3 @@ test_thumb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
evas_object_resize(win, 600, 600);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_tb_sel1_cb(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
{
@ -1047,4 +1047,3 @@ test_toolbar9(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
evas_object_resize(win, 420, 250);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
typedef struct _Testitem
{
@ -600,4 +600,3 @@ test_tooltip2(void *data EINA_UNUSED,
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
typedef struct _Custom_Effect Custom_Effect;
@ -555,4 +555,3 @@ test_transit9(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
evas_object_resize(win, 400, 400);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
my_bt_open(void *data, Evas_Object *obj EINA_UNUSED, void *event_info)
@ -57,4 +57,3 @@ test_video(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_inf
evas_object_resize(win, 800, 500);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#ifdef HAVE_ELEMENTARY_EWEATHER
# include "EWeather_Smart.h"
@ -170,4 +170,3 @@ test_weather(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_i
evas_object_resize(win, 244, 388);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
typedef struct
{
@ -497,4 +497,3 @@ test_web_mobile(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even
{
test_web(data, obj, event_info, EINA_TRUE);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
fill(Evas_Object *win, Eina_Bool do_bg)
@ -253,4 +253,3 @@ test_win_inline(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even
evas_object_resize(win, 400, 400);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
#define MAX_TRY 40
@ -181,4 +181,3 @@ test_win_plug(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_
evas_object_resize(win, 400, 600);
evas_object_show(win);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
static void
_win_del(void *data, Evas *e EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED)
@ -201,4 +201,3 @@ test_win_socket(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even
evas_object_event_callback_add(win, EVAS_CALLBACK_DEL, _win_del,
win_socket);
}
#endif

View File

@ -2,7 +2,7 @@
# include "elementary_config.h"
#endif
#include <Elementary.h>
#ifndef ELM_LIB_QUICKLAUNCH
typedef struct _Testitem
{
Elm_Object_Item *item;
@ -452,4 +452,3 @@ test_win_state2(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED, void *even
evas_object_resize(win, 320, 480);
evas_object_show(win);
}
#endif