本文整理汇总了C++中elm_exit函数的典型用法代码示例。如果您正苦于以下问题:C++ elm_exit函数的具体用法?C++ elm_exit怎么用?C++ elm_exit使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了elm_exit函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: cleanup
// Clean up function for each test purpose
static void
cleanup()
{
// Clean up the used resources.
if ( NULL != main_win ) {
main_win = NULL;
}
if ( NULL != main_bg ) {
main_bg = NULL;
}
if ( NULL != test_win ) {
test_win = NULL;
}
if ( NULL != test_bg ) {
test_bg = NULL;
}
if ( NULL != test_eo ) {
test_eo = NULL;
}
elm_exit();
tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
}
示例2: _on_done
static void
_on_done(void *data,
Evas_Object *obj,
void *event_info)
{
elm_exit();
}
示例3: _ui_saved
static void
_ui_saved(void *data, int status)
{
bin_t *bin = data;
prog_t *handle = (void *)bin - offsetof(prog_t, bin);
//printf("_ui_saved: %i\n", status);
if(handle->save_state == SAVE_STATE_NSM)
{
synthpod_nsm_saved(bin->nsm, status);
}
else if(handle->save_state == SAVE_STATE_JACK)
{
jack_session_event_t *ev = handle->session_event;
if(ev)
{
if(status != 0)
ev->flags |= JackSessionSaveError;
jack_session_reply(handle->client, ev);
jack_session_event_free(ev);
}
handle->session_event = NULL;
}
handle->save_state = SAVE_STATE_INTERNAL;
if(atomic_load_explicit(&handle->kill, memory_order_relaxed))
{
elm_exit();
}
}
示例4: my_win_del
static void
my_win_del(void *data, Evas_Object *obj, void *event_info)
{
save_state();
release_cpu();
elm_exit();
}
示例5: cleanup
static void cleanup(void)
{
if ( NULL != main_win ) {
main_win = NULL;
}
if ( NULL != main_bg ) {
main_bg = NULL;
}
if ( NULL != test_win ) {
test_win = NULL;
}
if ( NULL != test_bg ) {
test_bg = NULL;
}
if ( NULL != test_eo ) {
test_eo = NULL;
}
elm_exit();
tet_infoline("[[ TET_MSG ]]:: ============ Cleanup ============ ");
}
示例6: _on_done
static void
_on_done(void *data,
Evas_Object *obj,
void *event_info)
{
_progressbar_example_stop(NULL, NULL, NULL);
elm_exit();
}
示例7: _on_done
static void
_on_done(void *data,
Evas_Object *obj,
void *event_info)
{
fprintf(stdout, "Done testing SlideShow!\n");
elm_exit();
}
示例8: ewallset_end
int ewallset_end()
{
unlink(e->tmpn);
eina_stringshare_del(e->value);
e_dbus_connection_close(e->conn);
free(e);
elm_exit();
}
示例9: _on_done
static void
_on_done(void *data,
Evas_Object *obj,
void *event_info)
{
evas_object_del((Evas_Object*)data);
elm_exit();
}
示例10: del
// on window delete - cancel thread then delete window and exit mainloop
static void
del(void *data, Evas_Object *obj, void *event_info)
{
if (thr) ecore_thread_cancel(thr);
thr = NULL;
evas_object_del(obj);
elm_exit();
}
示例11: check_terminate
Eina_Bool check_terminate(void *data){
if( is_terminate ){
nfc_manager_deinitialize();
elm_exit();
return 0;
}
return 1;
}
示例12: del
// on window delete - cancel thread then delete window and exit mainloop
static void
del(void *data, Evas_Object *obj, void *event_info)
{
pthread_mutex_lock(&th_lock);
th_exit = 1;
pthread_mutex_unlock(&th_lock);
evas_object_del(obj);
elm_exit();
}
示例13: win_del
// Close window
static void
win_del(void *data, Evas_Object *obj, void *event_info)
{
//Clear memory allowed to struct Fenetre
free(data) ;
//Exit elementary loop
elm_exit();
}
示例14: on_focus_in
static void on_focus_in(void *data, Evas_Object *obj, void *event_info)
{
AtkObject *aobj = atk_get_root();
if (aobj)
_traverse_children(aobj);
else
printf("error: ATK returns null\n");
elm_exit();
}
示例15: mp_app_exit
void
mp_app_exit(void *data)
{
struct appdata *ad = data;
mp_retm_if(ad == NULL, "appdata is NULL");
DEBUG_TRACE("player_state [%d]\n", ad->player_state);
elm_exit();
}