Add initial code for inputdelegator
[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
18 #ifndef _W_INPUT_SMARTREPLY_H_
19 #define _W_INPUT_SMARTREPLY_H_
20
21 #include <app_control.h>
22 #include <stdbool.h>
23
24 typedef void (*input_smartreply_changed)(void *user_data);
25
26
27 bool input_smartreply_init(app_control_h app_control);
28
29 void input_smartreply_deinit(void);
30
31 const char *input_smartreply_get_lang(void);
32
33 bool input_smartreply_get_reply(void);
34
35 bool input_smartreply_get_reply_async(void);
36
37 int input_smartreply_get_reply_num(void);
38
39 char *input_smartreply_get_nth_item(int index);
40
41 bool input_smartreply_send_feedback(const char *str);
42
43 void input_smartreply_set_notify(input_smartreply_changed callback,
44                                 void *user_data);
45
46 void input_smartreply_unset_notify(void);
47
48 bool input_smartreply_is_enabled(void);
49
50 #endif