2 * Copyright 2012 Samsung Electronics Co., Ltd
4 * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
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 __email_composer_predictive_search__
18 #define __email_composer_predictive_search__
20 #define COMPOSER_TEXT_PREFIX "<match>"
21 #define COMPOSER_TEXT_POSTFIX "</match>"
23 void composer_ps_request_search(EmailComposerUGD *ugd);
25 void _composer_ps_stop(EmailComposerUGD *ugd);
27 void _composer_ps_del_timer(EmailComposerUGD *ugd);
29 void _composer_ps_add_timer(EmailComposerUGD *ugd);
31 Evas_Object *_composer_recipient_create_ps_field(Evas_Object *parent, EmailComposerUGD *ugd);
33 Eina_List *composer_ps_search_contact(EmailComposerUGD *ugd, const char *search_word);
35 void composer_ps_delete_contacts_list(Eina_List *predict_list);
37 char *composer_ps_text_get(void *data, Evas_Object *obj, const char *part);
39 Evas_Object *composer_ps_icon_get(void *data, Evas_Object *obj, const char *part);
41 void _composer_ps_create_sublist(void *data);
43 void _composer_ps_delete_list(void *data);
45 void _composer_ps_show_field(void *data);
47 void _composer_ps_hide_field(void *data);
49 Eina_Bool _composer_ps_scroll_pop(void *data);
51 #endif /* __email_composer_predictive_search__ */