{
int voicefw_state; //0 means init failed else success
stt_h voicefw_handle; //Wonyoung Lee added
- Evas_Object *naviframe; //main window
+ Evas_Object *win; //main window
Evas_Object *layout_main; //layout
Evas_Object *progressbar; //progressbar
Evas_Object *scroller; //scroller
voicedata->voicefw_state = 0;
voicedata->voicefw_handle = NULL;
- voicedata->naviframe = NULL;
+ voicedata->win = NULL;
voicedata->layout_main = NULL;
voicedata->progressbar = NULL;
voicedata->scroller = NULL;
LOGD("Voice input active language is : %s", voicedata->kbd_lang);
- voicedata->naviframe = parent;
+ voicedata->win = parent;
- if (NULL == voicedata->naviframe) {
+ if (NULL == voicedata->win) {
return FALSE;
}
return ECORE_CALLBACK_CANCEL;
}
- voicedata->layout_main = create_fullview(voicedata->naviframe, voicedata);
+ voicedata->layout_main = create_fullview(voicedata->win, voicedata);
if (voicedata->layout_main) {
evas_object_show(voicedata->layout_main);
voicedata->layout_main = NULL;
}
- if (NULL != voicedata->naviframe) {
- voicedata->naviframe = NULL;
+ if (NULL != voicedata->win) {
+ voicedata->win = NULL;
}
if (NULL != voicedata->start_timer) {
if (my_voicedata) {
init = init_voice(parent, lang, my_voicedata);
if (init) {
- if (my_voicedata->naviframe) {
+ if (my_voicedata->win) {
//ise_stt_start(my_voicedata);
- show_voice_window(my_voicedata->naviframe, my_voicedata);
+ show_voice_window(my_voicedata->win, my_voicedata);
}
} else {
destroy_voice();