2 * Copyright (c) 2016 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.
18 #ifndef _W_INPUT_SMARTREPLY_H_
19 #define _W_INPUT_SMARTREPLY_H_
21 #include <app_control.h>
24 typedef void (*input_smartreply_changed)(void *user_data);
27 bool input_smartreply_init(app_control_h app_control);
29 void input_smartreply_deinit(void);
31 const char *input_smartreply_get_lang(void);
33 bool input_smartreply_get_reply(void);
35 bool input_smartreply_get_reply_async(void);
37 int input_smartreply_get_reply_num(void);
39 char *input_smartreply_get_nth_item(int index);
41 bool input_smartreply_send_feedback(const char *str);
43 void input_smartreply_set_notify(input_smartreply_changed callback,
46 void input_smartreply_unset_notify(void);
48 bool input_smartreply_is_enabled(void);