00001 00013 #define GITK_RENDERER_C 00014 #define GITKR_DONE_C 00015 00016 #include "gitkrincludes.h" 00017 00020 void gitkr_done(void) { 00021 gitk_log("phone mode render plugin done invoked"); 00022 00023 //-- hide and free context selecting dialog 00024 if(context_selection_dialog) { 00025 gitk_dialog_hide(context_selection_dialog); 00026 gitk_dialog_free(context_selection_dialog); 00027 context_selection_dialog=NULL; 00028 } 00029 00030 //-- finalize curses library 00031 endwin(); 00032 00033 if(ftinfo){ 00034 festival_done(ftinfo); 00035 free(gitkr_phone_speech_name);gitkr_phone_speech_name=NULL; 00036 } 00037 if(capiinfo){ 00038 capi_done(capiinfo); 00039 capi_incoming_connected = (FALSE); 00040 } 00041 }