Revert "Fixed logic for stt unprepare"
[platform/core/uifw/voice-control.git] / client / vc_widget_dbus.h
1 /*
2 * Copyright (c) 2011-2015 Samsung Electronics Co., Ltd All Rights Reserved
3 *
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17
18 #ifndef __VC_WIDGET_DBUS_H_
19 #define __VC_WIDGET_DBUS_H_
20
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 int vc_widget_dbus_open_connection();
27
28 int vc_widget_dbus_close_connection();
29
30
31 int vc_widget_dbus_request_hello();
32
33 int vc_widget_dbus_request_initialize(int pid, int* service_state, int* daemon_pid);
34
35 int vc_widget_dbus_request_finalize(int pid);
36
37 int vc_widget_dbus_request_start_recording(int pid, bool command);
38
39 int vc_widget_dbus_set_foreground(int pid, bool value);
40
41 int vc_widget_dbus_request_enable_asr_result(int pid, bool enable);
42
43 int vc_widget_dbus_request_start(int pid, int silence);
44
45 int vc_widget_dbus_request_stop(int pid);
46
47 int vc_widget_dbus_request_cancel(int pid);
48
49
50 #ifdef __cplusplus
51 }
52 #endif
53
54 #endif /* __VC_WIDGET_DBUS_H_ */