Delete processing timer at main thread
[platform/core/uifw/stt.git] / client / stt_dbus.h
index d48f773..6c7e059 100644 (file)
@@ -1,5 +1,5 @@
 /*
-*  Copyright (c) 2011-2014 Samsung Electronics Co., Ltd All Rights Reserved 
+*  Copyright (c) 2011-2016 Samsung Electronics Co., Ltd All Rights Reserved
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
@@ -17,6 +17,7 @@
 
 #include "stt.h"
 #include "stt_main.h"
+#include "stt_internal.h"
 
 #ifdef __cplusplus
 extern "C" {
@@ -27,7 +28,7 @@ int stt_dbus_open_connection();
 int stt_dbus_close_connection();
 
 
-int stt_dbus_request_hello();
+int stt_dbus_request_hello(int uid);
 
 int stt_dbus_request_initialize(int uid, bool* silence_supported, bool* credential_needed);
 
@@ -41,6 +42,10 @@ int stt_dbus_request_get_support_langs(int uid, stt_h stt, stt_supported_languag
 
 int stt_dbus_request_get_default_lang(int uid, char** language);
 
+int stt_dbus_request_set_private_data(int uid, const char* key, const char* data);
+
+int stt_dbus_request_get_private_data(int uid, const char* key, char** data);
+
 int stt_dbus_request_is_recognition_type_supported(int uid, const char* type, bool* support);
 
 int stt_dbus_request_set_start_sound(int uid, const char* file);
@@ -58,6 +63,9 @@ int stt_dbus_request_stop(int uid);
 
 int stt_dbus_request_cancel(int uid);
 
+int stt_dbus_request_start_file(int uid, const char* lang, const char* type, int silence, const char* appid, const char* credential, const char* filepath, stt_audio_type_e audio_type, int sample_rate);
+
+int stt_dbus_request_cancel_file(int uid);
 
 #ifdef __cplusplus
 }