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.
17 #ifndef _W_INPUT_SMARTREPLY_H_
18 #define _W_INPUT_SMARTREPLY_H_
20 #include <app_control.h>
23 typedef void (*input_smartreply_changed)(void *user_data);
26 bool input_smartreply_init(app_control_h app_control);
28 void input_smartreply_deinit(void);
30 const char *input_smartreply_get_lang(void);
32 bool input_smartreply_get_reply(void);
34 bool input_smartreply_get_reply_async(void);
36 int input_smartreply_get_reply_num(void);
38 char *input_smartreply_get_nth_item(int index, int *type);
40 bool input_smartreply_send_feedback(const char *str);
42 void input_smartreply_set_notify(input_smartreply_changed callback,
45 void input_smartreply_unset_notify(void);
47 bool input_smartreply_is_enabled(void);