Update year information of license boilerplate
[platform/core/uifw/multi-assistant-service.git] / src / multi_assistant_dbus_server.h
1 /*
2  * Copyright 2018-2019 Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
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 #ifndef __MULTI_ASSISTANT_DBUS_SERVER_H__
18 #define __MULTI_ASSISTANT_DBUS_SERVER_H__
19
20 #include <dbus/dbus.h>
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 int ma_service_dbus_hello(DBusConnection* conn, DBusMessage* msg);
27
28 int ma_service_dbus_initialize(DBusConnection* conn, DBusMessage* msg);
29
30 int ma_service_dbus_deinitialize(DBusConnection* conn, DBusMessage* msg);
31
32 int ma_service_dbus_get_audio_format(DBusConnection* conn, DBusMessage* msg);
33
34 int ma_service_dbus_get_audio_source_type(DBusConnection* conn, DBusMessage* msg);
35
36 int ma_service_dbus_send_asr_result(DBusConnection* conn, DBusMessage* msg);
37
38 int ma_service_dbus_send_result(DBusConnection* conn, DBusMessage* msg);
39
40 int ma_service_dbus_send_recognition_result(DBusConnection* conn, DBusMessage* msg);
41
42 int ma_service_dbus_start_streaming_audio_data(DBusConnection* conn, DBusMessage* msg);
43
44 int ma_service_dbus_stop_streaming_audio_data(DBusConnection* conn, DBusMessage* msg);
45
46 int ma_service_dbus_update_voice_feedback_state(DBusConnection* conn, DBusMessage* msg);
47
48 int ma_service_dbus_send_assistant_specific_command(DBusConnection* conn, DBusMessage* msg);
49
50 int ma_service_dbus_set_background_volume(DBusConnection* conn, DBusMessage* msg);
51
52 int ma_service_dbus_set_preprocessing_allow_mode(DBusConnection* conn, DBusMessage* msg);
53
54 int ma_service_dbus_send_preprocessing_result(DBusConnection* conn, DBusMessage* msg);
55
56 int ma_service_ui_dbus_initialize(DBusConnection* conn, DBusMessage* msg);
57
58 int ma_service_ui_dbus_deinitialize(DBusConnection* conn, DBusMessage* msg);
59
60 int ma_service_ui_dbus_change_assistant(DBusConnection* conn, DBusMessage* msg);
61
62 #ifdef __cplusplus
63 }
64 #endif
65
66
67 #endif  /* __MULTI_ASSISTANT_DBUS_SERVER_H__ */