Update package version to 0.1.170911
[platform/core/uifw/inputdelegator.git] / inc / w-input-smartreply.h
1 /*
2  * Copyright (c) 2016 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 #ifndef _W_INPUT_SMARTREPLY_H_
18 #define _W_INPUT_SMARTREPLY_H_
19
20 #include <app_control.h>
21 #include <stdbool.h>
22
23 typedef void (*input_smartreply_changed)(void *user_data);
24
25
26 bool input_smartreply_init(app_control_h app_control);
27
28 void input_smartreply_deinit(void);
29
30 const char *input_smartreply_get_lang(void);
31
32 bool input_smartreply_get_reply(void);
33
34 bool input_smartreply_get_reply_async(void);
35
36 int input_smartreply_get_reply_num(void);
37
38 char *input_smartreply_get_nth_item(int index, int *type);
39
40 bool input_smartreply_send_feedback(const char *str);
41
42 void input_smartreply_set_notify(input_smartreply_changed callback,
43                                 void *user_data);
44
45 void input_smartreply_unset_notify(void);
46
47 bool input_smartreply_is_enabled(void);
48
49 #endif