INSTALL(FILES "${CMAKE_BINARY_DIR}/include/tts_internal.h" DESTINATION ${INCLUDEDIR})
INSTALL(FILES "${CMAKE_BINARY_DIR}/include/tts_setting.h" DESTINATION ${INCLUDEDIR})
INSTALL(FILES "${CMAKE_BINARY_DIR}/include/ttse.h" DESTINATION ${INCLUDEDIR})
+INSTALL(FILES "${CMAKE_BINARY_DIR}/include/ttse_internal.h" DESTINATION ${INCLUDEDIR})
--- /dev/null
+#ifndef __TTSE_INTERNAL_H__
+#define __TTSE_INTERNAL_H__
+
+#include <tizen.h>
+#include "ttse.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int ttse_terminate();
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __TTSE_INTERNAL_H__ */
+
%defattr(-,root,root,-)
%{_libdir}/pkgconfig/tts-engine.pc
%{_includedir}/ttse.h
+%{_includedir}/ttse_internal.h
return TTSD_ERROR_NONE;
}
+int ttsd_terminate()
+{
+ SLOG(LOG_INFO, tts_tag(), "[Server] Terminate");
+
+ ttsd_terminate_daemon(NULL);
+
+ ttsd_dbus_close_connection();
+ ttsd_network_finalize();
+ ttsd_finalize();
+
+ return TTSD_ERROR_NONE;
+}
+
/*
* TTS Server Functions for Client
*/
int ttsd_finalize();
+int ttsd_terminate();
+
Eina_Bool ttsd_cleanup_client(void *data);
Eina_Bool ttsd_get_daemon_exist();
#include <Ecore.h>
#include "ttse.h"
+#include "ttse_internal.h"
static ttsd_mode_e g_tts_mode = TTSD_MODE_DEFAULT;
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) {