X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=client%2Fstt_dbus.h;h=6c7e059037327c52df6285a2367b5804bae15e93;hb=refs%2Fchanges%2F01%2F203501%2F1;hp=d48f77362990cdd088479783e771cc54dc03f723;hpb=5be18b99d609324c3c664fe6b9a7f5c89409b89a;p=platform%2Fcore%2Fuifw%2Fstt.git diff --git a/client/stt_dbus.h b/client/stt_dbus.h index d48f773..6c7e059 100644 --- a/client/stt_dbus.h +++ b/client/stt_dbus.h @@ -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 }