Fix the JIRA issue (TSAM-2396)
[apps/native/ug-bluetooth-efl.git] / include / bt-widget.h
1 /*
2 * ug-bluetooth-efl
3 *
4 * Copyright 2012 Samsung Electronics Co., Ltd
5 *
6 * Contact: Hocheol Seo <hocheol.seo@samsung.com>
7 *           GirishAshok Joshi <girish.joshi@samsung.com>
8 *           DoHyun Pyun <dh79.pyun@samsung.com>
9 *
10 * Licensed under the Flora License, Version 1.0 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 * http://www.tizenopensource.org/license
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 *
22 */
23
24 #ifndef __BT_WIDGET_H__
25 #define __BT_WIDGET_H__
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 #include "Elementary.h"
32 #include <efl_extension.h>
33
34 #define BT_GENLIST_1LINE_TEXT_STYLE "type1"
35 #define BT_GENLIST_1LINE_TEXT_ICON_STYLE "type1"
36 #define BT_GENLIST_2LINE_TOP_TEXT_STYLE "type1"
37 #define BT_GENLIST_2LINE_TOP_TEXT_ICON_STYLE "type1"
38 #define BT_GENLIST_2LINE_BOTTOM_TEXT_STYLE "type2"
39 #define BT_GENLIST_2LINE_BOTTOM_TEXT_ICON_STYLE "type2"
40 #define BT_GENLIST_MULTILINE_TEXT_STYLE "multiline"
41 #define BT_GENLIST_GROUP_INDEX_STYLE "group_index"
42 #define BT_GENLIST_FULL_CONTENT_STYLE "full"
43
44 #define BT_POPUP_STR_MAX_LEN 512
45
46 Evas_Object *_bt_create_naviframe(Evas_Object *parent);
47
48 Evas_Object *_bt_create_icon(Evas_Object *parent, char *img);
49
50 Evas_Object *_bt_create_progressbar(Evas_Object *parent,
51                                 const char *style);
52
53 void _bt_update_genlist_item(Elm_Object_Item *item);
54
55 Evas_Object *_bt_main_base_layout_create(Evas_Object *parent, void *data);
56
57 void _bt_set_popup_text(void *data, Evas_Object *popup);
58
59 Evas_Object *_bt_create_popup(void *data, void *cb, void *cb_data,
60                                         int timer_val);
61 #ifdef __cplusplus
62 }
63 #endif
64 #endif                          /* __BT_WIDGET_H__ */