4 * Copyright 2012-2013 Samsung Electronics Co., Ltd
6 * Licensed under the Flora License, Version 1.1 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://floralicense.org/license
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #ifndef __COMMON_PSWD_POPUP_H__
21 #define __COMMON_PSWD_POPUP_H__
33 /* PBC popup related attributes */
35 Evas_Object* progressbar;
36 Evas_Object* timer_label;
43 /* Password popup related attributes */
44 const char *str_pkg_name;
47 Evas_Object *popup_entry_lyt;
48 pbc_popup_t *pbc_popup_data;
54 Eina_Bool show_wps_btn;
56 Evas_Smart_Cb cancel_cb;
57 Evas_Smart_Cb wps_btn_cb;
60 } pswd_popup_create_req_data_t;
62 typedef struct pswd_popup pswd_popup_t;
64 pswd_popup_t *create_passwd_popup(Evas_Object *win_main, const char *pkg_name,
65 pswd_popup_create_req_data_t *popup_info);
66 void create_pbc_popup(pswd_popup_t *pswd_popup_data, Evas_Smart_Cb cancel_cb,
67 void *cancel_cb_data);
69 void passwd_popup_free(pswd_popup_t *pswd_popup_data);
71 char *passwd_popup_get_txt(pswd_popup_t *pswd_popup_data);
72 wifi_ap_h passwd_popup_get_ap(pswd_popup_t *pswd_popup_data);