当前位置: 首页>>代码示例>>C++>>正文


C++ elm_exit函数代码示例

本文整理汇总了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 ============ ");

}
开发者ID:TizenChameleon,项目名称:uifw-elementary,代码行数:30,代码来源:uts_elm_imageslider_add_func.c

示例2: _on_done

static void
_on_done(void        *data,
         Evas_Object *obj,
         void        *event_info)
{
   elm_exit();
}
开发者ID:Limsik,项目名称:e17,代码行数:7,代码来源:list_example_03.c

示例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();
	}
}
开发者ID:foren197316,项目名称:synthpod,代码行数:30,代码来源:synthpod_jack.c

示例4: my_win_del

static void
my_win_del(void *data, Evas_Object *obj, void *event_info)
{
    save_state();
    release_cpu();
    elm_exit();
}
开发者ID:shr-project,项目名称:e-tasks,代码行数:7,代码来源:main.c

示例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 ============ ");
}
开发者ID:TizenChameleon,项目名称:uifw-elementary,代码行数:26,代码来源:utc_UIFW_elm_gengrid_add_func.c

示例6: _on_done

static void
_on_done(void        *data,
         Evas_Object *obj,
         void        *event_info)
{
   _progressbar_example_stop(NULL, NULL, NULL);
   elm_exit();
}
开发者ID:TizenChameleon,项目名称:uifw-elementary,代码行数:8,代码来源:progressbar_example.c

示例7: _on_done

static void
_on_done(void        *data,
         Evas_Object *obj,
         void        *event_info)
{
   fprintf(stdout, "Done testing SlideShow!\n");
   elm_exit();
}
开发者ID:radoslawjablonski,项目名称:eail,代码行数:8,代码来源:eail_slideshow_test.c

示例8: ewallset_end

int ewallset_end()
{
	unlink(e->tmpn);
	eina_stringshare_del(e->value);
	e_dbus_connection_close(e->conn);
	free(e);
	elm_exit();
}
开发者ID:Alien-nick,项目名称:princeamds-code,代码行数:8,代码来源:main.c

示例9: _on_done

static void
_on_done(void *data,
         Evas_Object *obj,
         void *event_info)
{
   evas_object_del((Evas_Object*)data);
   elm_exit();
}
开发者ID:radoslawjablonski,项目名称:eail,代码行数:8,代码来源:eail_flipselector_test.c

示例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();
}
开发者ID:FlorentRevest,项目名称:Elementary,代码行数:9,代码来源:efl_thread_5.c

示例11: check_terminate

Eina_Bool check_terminate(void *data){
	if( is_terminate ){
		nfc_manager_deinitialize();
		elm_exit();
		return 0;
	}
 	return 1;
}
开发者ID:tizenorg,项目名称:framework.api.nfc,代码行数:8,代码来源:network_nfc_test.c

示例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();
}
开发者ID:maikodaraine,项目名称:EnlightenmentUbuntu,代码行数:10,代码来源:efl_thread_4.c

示例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();
}
开发者ID:warshall,项目名称:Raspi,代码行数:11,代码来源:main.c

示例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();
}
开发者ID:radoslawjablonski,项目名称:eail,代码行数:10,代码来源:eail_tooltip_test.c

示例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();
}
开发者ID:minjinsong,项目名称:tizen-music-player,代码行数:10,代码来源:mp-app.c


注:本文中的elm_exit函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。