Tizen 2.1 base
[apps/native/ug-bluetooth-efl.git] / include / bt-profile-view.h
1 /*
2  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
3  *
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
7  *
8  *   http://floralicense.org/license/
9  *
10  * Unless required by applicable law or agreed to in writing,
11  * software 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.
15  */
16
17 #ifndef __BT_PROFILE_VIEW_H__
18 #define __BT_PROFILE_VIEW_H__
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24 #include <Elementary.h>
25
26 #include "bt-type-define.h"
27
28 typedef struct _bt_profile_view_data bt_profile_view_data;
29
30 struct _bt_profile_view_data {
31         Evas_Object *win_main;
32         Evas_Object *navi_bar;
33         Evas_Object *layout;
34         Evas_Object *genlist;
35         Evas_Object *save_btn;
36         Evas_Object *cancel_btn;
37         Elm_Object_Item *navi_it;
38         Elm_Object_Item *name_item;
39         Elm_Object_Item *unpair_item;
40         Elm_Object_Item *title_item;
41         Elm_Genlist_Item_Class *name_itc;
42         Elm_Genlist_Item_Class *unpair_itc;
43         Elm_Genlist_Item_Class *title_itc;
44         Elm_Genlist_Item_Class *call_itc;
45         Elm_Genlist_Item_Class *media_itc;
46         Elm_Genlist_Item_Class *hid_itc;
47         Elm_Genlist_Item_Class *network_itc;
48 };
49
50 void _bt_profile_create_view(bt_dev_t *dev_info);
51
52 void _bt_profile_delete_view(void *data);
53
54 #ifdef __cplusplus
55 }
56 #endif
57 #endif /* __BT_PROFILE_VIEW_H__ */