2 * Copyright (c) 2011-2015 Samsung Electronics Co., Ltd All Rights Reserved
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
26 int vc_mgr_dbus_open_connection();
28 int vc_mgr_dbus_close_connection();
31 int vc_mgr_dbus_request_hello();
33 int vc_mgr_dbus_request_initialize(int pid, int* service_state, int* foreground, int* daemon_pid);
35 int vc_mgr_dbus_request_finalize(int pid);
37 int vc_mgr_dbus_request_set_command(int pid);
39 int vc_mgr_dbus_request_unset_command(int pid);
41 int vc_mgr_dbus_request_demandable_client(int pid);
43 int vc_mgr_dbus_request_set_audio_type(int pid, const char* audio_type);
45 int vc_mgr_dbus_request_get_audio_type(int pid, char** audio_type);
47 int vc_mgr_dbus_request_set_private_data(int pid, const char* key, const char* data);
49 int vc_mgr_dbus_request_get_private_data(int pid, const char* key, char** data);
51 int vc_mgr_dbus_request_set_client_info(int pid);
53 int vc_mgr_dbus_request_set_domain(int pid, const char* domain);
55 int vc_mgr_dbus_request_do_action(int pid, vc_send_event_type_e type, char* send_event);
57 int vc_mgr_dbus_request_start(int pid, int recognition_mode, bool exclusive_command_option, bool start_by_client);
59 int vc_mgr_dbus_request_stop(int pid);
61 int vc_mgr_dbus_request_cancel(int pid);
63 int vc_mgr_dbus_send_result(int pid, int cmd_type, int result_id);
65 int vc_mgr_dbus_send_result_selection(int pid);
67 int vc_mgr_dbus_request_enable_command_type(int pid, int cmd_type);
69 int vc_mgr_dbus_request_disable_command_type(int pid, int cmd_type);
75 #endif /* __VC_DBUS_H_ */