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.
19 #ifndef __WIFI_SYSPOPUP_H__
20 #define __WIFI_SYSPOPUP_H__
24 #include "wlan_manager.h"
26 #define PACKAGE "wifi-qs"
27 #define LOCALEDIR "/usr/share/locale"
28 #define WIFI_SP_ICON_PATH "/usr/share/icon"
31 WIFI_SYSPOPUP_SUPPORT_NONE =0,
32 WIFI_SYSPOPUP_SUPPORT_QUICKPANEL=1,
33 WIFI_SYSPOPUP_SUPPORT_MAX
34 } WIFI_SYSPOPUP_SUPPORTS;
36 #define MAX_PROFILE_NUM NETPM_PROFILES_PERSISTENT_MAX
38 typedef struct wifi_object {
39 /* wifi object attributes */
40 WIFI_SYSPOPUP_SUPPORTS wifi_syspopup_support;
42 /* connection_result */
43 int connection_result;
46 Evas_Object* win_main;
49 Evas_Object* layout_main;
52 Evas_Object* syspopup;
53 Evas_Object* passpopup;
54 Evas_Object* alertpopup;
59 ITEM_CONNECTION_MODE_NULL,
60 ITEM_CONNECTION_MODE_OFF,
61 ITEM_CONNECTION_MODE_CONNECTING,
62 ITEM_CONNECTION_MODE_MAX
63 } ITEM_CONNECTION_MODES;
65 typedef struct _genlist_data {
67 Evas_Object *progressbar;
68 ITEM_CONNECTION_MODES connection_mode;
69 wifi_device_info_t *dev_info;
72 int wifi_syspopup_create(void);
73 int wifi_syspopup_destroy(void);