Update version to 1.70.7
[platform/core/uifw/voice-control.git] / client / vc_data.h
1 /*
2 * Copyright (c) 2018 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_DATA_H__
19 #define __VC_DATA_H__
20
21 #include <tizen.h>
22 #include <voice_control_common.h>
23 #include <voice_control_internal.h>
24
25
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29
30 #define TAG_VCC     "vcc"       /* vc client log tag */
31
32 typedef struct {
33         int utt_id;
34         void* data;
35         unsigned int data_size;
36         vc_tts_event_e event;
37 } vc_tts_data_s;
38
39
40 int vc_data_add_tts_data(vc_tts_data_s* data);
41
42 int vc_data_get_first_tts_data(vc_tts_data_s** data);
43
44 int vc_data_get_tts_data_size();
45
46 int vc_data_clear_tts_data(vc_tts_data_s** data);
47
48 int vc_data_clear_tts_data_by_uttid(int utt_id);
49
50 #ifdef __cplusplus
51 }
52 #endif
53
54 #endif /* __VC_DATA_H__ */