m_rotation_degree = 0;
m_main_window = SCLWINDOW_INVALID;
- m_uuid = NULL;
+ m_appid = NULL;
m_display = NULL;
}
elm_config_accel_preference_set("3d");
elm_policy_set(ELM_POLICY_THROTTLE, ELM_POLICY_THROTTLE_NEVER);
- Evas_Object *main_window = elm_win_add(NULL, m_uuid, ELM_WIN_UTILITY);
+ Evas_Object *main_window = elm_win_add(NULL, m_appid, ELM_WIN_UTILITY);
if (!main_window) {
LOGE("Failed to create main window\n");
return -1;
elm_win_borderless_set(main_window, EINA_TRUE);
elm_win_keyboard_win_set(main_window, EINA_TRUE);
elm_win_autodel_set(main_window, EINA_TRUE);
- elm_win_title_set(main_window, m_uuid);
+ elm_win_title_set(main_window, m_appid);
elm_win_prop_focus_skip_set(main_window, EINA_TRUE);
int rots[] = { 0, 90, 180, 270 };
elm_win_wm_rotation_available_rotations_set(main_window, rots, (sizeof(rots) / sizeof(int)));
{
char **argv = new char*[4];
int argc = 3;
- const sclchar *uuid = NULL;
+ const sclchar *appid = NULL;
ops.create = app_create_cb;
ops.terminate = app_terminate_cb;
CSCLCoreImpl *impl = CSCLCoreImpl::get_instance();
if (impl) {
- uuid = impl->get_uuid();
+ appid = impl->get_uuid();
}
- if (!uuid)
- uuid = "";
+ if (!appid)
+ appid = "";
- m_uuid = uuid;
+ m_appid = appid;
m_display = display;
- argv[0] = const_cast<char *> (uuid);
+ argv[0] = const_cast<char *> (appid);
argv[1] = (char *)"--display";
argv[2] = const_cast<char *> (display);
argv[3] = 0;
- LOGD("name : %s\n", uuid);
+ LOGD("name : %s\n", appid);
- appcore_efl_main(uuid, &argc, (char ***)&argv, &ops);
+ appcore_efl_main(appid, &argc, (char ***)&argv, &ops);
delete [] argv;
}