Delete ecore timer when quit ecore main loop
[platform/core/uifw/tts.git] / server / ttse.c
index bd7ed92..0f40802 100755 (executable)
@@ -23,6 +23,7 @@
 #include <Ecore.h>
 
 #include "ttse.h"
+#include "ttse_internal.h"
 
 static ttsd_mode_e g_tts_mode = TTSD_MODE_DEFAULT;
 
@@ -114,6 +115,13 @@ int ttse_main(int argc, char** argv, ttse_request_callback_s *callback)
        return TTSE_ERROR_NONE;
 }
 
+int ttse_terminate()
+{
+       ttsd_terminate();
+
+       return TTSE_ERROR_NONE;
+}
+
 int ttse_get_speed_range(int* min, int* normal, int* max)
 {
        if (NULL == min || NULL == normal || NULL == max) {