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.
18 * This file declares functions for view of Wi-Fi direct UI Gadget.
21 * @author Gibyoung Kim (lastkgb.kim@samsung.com)
26 #ifndef __WFD_UG_VIEW_H__
27 #define __WFD_UG_VIEW_H__
29 #define EDJDIR "/opt/ug/res/edje/ug-setting-wifidirect-efl"
30 #define WFD_UG_EDJ_PATH EDJDIR"/wfd_ug.edj"
31 #define WFD_IMG_DIR "/opt/ug/res/images/ug-setting-wifidirect-efl"
33 #define WFD_ICON_DEVICE_PC WFD_IMG_DIR"/A09_device_computer.png"
34 #define WFD_ICON_DEVICE_KEYBOARD WFD_IMG_DIR"/31_BT_device_keyboard.png"
35 #define WFD_ICON_DEVICE_PRINTER WFD_IMG_DIR"/31_BT_device_printer.png"
36 #define WFD_ICON_DEVICE_UNKNOWN WFD_IMG_DIR"/31_BT_device_unknown.png"
37 #define WFD_ICON_DEVICE_PHONE WFD_IMG_DIR"/A09_device_mobile.png"
38 #define WFD_ICON_DEVICE_HEADSET WFD_IMG_DIR"/31_BT_device_headset.png"
40 #define WFD_ICON_DEVICE_MOUSE WFD_IMG_DIR"/31_BT_device_mouse.png"
42 #define WFD_ICON_CONNECTED WFD_IMG_DIR"/A09_Connect.png"
47 HEAD_TEXT_TYPE_DIRECT,
48 HEAD_TEXT_TYPE_DEACTIVATING,
49 HEAD_TEXT_TYPE_ACTIVATING,
50 HEAD_TEXT_TYPE_ACTIVATED,
51 HEAD_TEXT_TYPE_SCANING,
57 POPUP_TYPE_HOTSPOT_OFF,
59 POPUP_TYPE_ACTIVATE_FAIL,
60 POPUP_TYPE_DEACTIVATE_FAIL,
62 POPUP_TYPE_LINK_TIMEOUT,
65 POPUP_TYPE_UNKNOWN_ERROR,
70 void create_wfd_ug_view(void *data);
71 void destroy_wfd_ug_view(void *data);
72 void wfd_ug_view_refresh_glitem(void *obj);
73 void wfd_ug_view_refresh_button(void *obj, int enable);
74 void wfd_ug_view_update_peers(void *data);
75 void wfd_ug_view_free_peers(void *data);
76 void wfd_ug_act_popup(void *data, const char *message, int popup_type);
77 void wfg_ug_act_popup_remove(void *data);
78 void wfd_ug_warn_popup(void *data, const char *message, int popup_type);
79 void wfg_ug_warn_popup_remove(void *data);
81 #endif /* __WFD_UG_VIEW_H__ */