Remove the devider of genlist for IOT profile
[apps/native/ug-bluetooth-efl.git] / standard / bt-profile-view.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.1 (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_PROFILE_VIEW_H__
25 #define __BT_PROFILE_VIEW_H__
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 #include <Elementary.h>
32 #include <Ecore_IMF.h>
33
34 #include "bt-type-define.h"
35
36 typedef struct _bt_profile_view_data bt_profile_view_data;
37
38 struct _bt_profile_view_data {
39         Evas_Object *win_main;
40         Evas_Object *navi_bar;
41         Evas_Object *layout;
42         Evas_Object *genlist;
43         Evas_Object *save_btn;
44         Elm_Object_Item *navi_it;
45         Elm_Object_Item *name_item;
46         Elm_Object_Item *unpair_item;
47         Elm_Object_Item *title_item;
48         Elm_Object_Item *call_item;
49         Elm_Object_Item *media_item;
50         Elm_Object_Item *hid_item;
51         Elm_Object_Item *network_item;
52         Elm_Object_Item *rename_entry_item;
53         Elm_Genlist_Item_Class *name_itc;
54         Elm_Genlist_Item_Class *unpair_itc;
55         Elm_Genlist_Item_Class *title_itc;
56         Elm_Genlist_Item_Class *call_itc;
57         Elm_Genlist_Item_Class *media_itc;
58         Elm_Genlist_Item_Class *hid_itc;
59 #ifndef TIZEN_BT_A2DP_SINK_ENABLE
60         Elm_Genlist_Item_Class *network_itc;
61 #endif
62         Elm_Genlist_Item_Class *rename_entry_itc;
63         Ecore_IMF_Context *imf_context;
64 };
65
66 void _bt_profile_create_view(bt_dev_t *dev_info);
67
68 void _bt_profile_delete_view(void *data);
69
70 void _bt_profile_destroy_profile_view(void *data);
71
72 #ifdef __cplusplus
73 }
74 #endif
75 #endif /* __BT_PROFILE_VIEW_H__ */