forked from enlightenment/efl
tests/elm: add helper callback for automatically quitting main loop when triggered
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9506
This commit is contained in:
parent
f8dcb7dc2b
commit
e9e8078cec
|
@ -466,6 +466,12 @@ event_callback_that_is_called_exactly_one_time_and_sets_a_single_int_data_pointe
|
|||
*called = 1;
|
||||
}
|
||||
|
||||
void
|
||||
event_callback_that_quits_the_main_loop_when_called()
|
||||
{
|
||||
ecore_main_loop_quit();
|
||||
}
|
||||
|
||||
void
|
||||
click_object_at(Eo *obj, int x, int y)
|
||||
{
|
||||
|
|
|
@ -15,4 +15,5 @@ void click_object(Eo *obj);
|
|||
void click_part(Eo *obj, const char *part);
|
||||
void click_object_at(Eo *obj, int x, int y);
|
||||
void event_callback_that_is_called_exactly_one_time_and_sets_a_single_int_data_pointer_when_called(void *data, Evas_Object *obj EINA_UNUSED, void *event_info EINA_UNUSED);
|
||||
void event_callback_that_quits_the_main_loop_when_called();
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue