4 * Copyright 2012 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://www.tizenopensource.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 __APP_MH_POPUP_H_
21 #define __APP_MH_POPUP_H_
27 #include "mobile_hotspot.h"
28 #include "mh_view_main.h"
30 #define MH_POPUP_TIMEOUT 2.0f
32 void _prepare_popup_with_content(int type, Evas_Object *obj);
33 void _prepare_popup(int type, const char *str);
34 Eina_Bool _create_popup(mh_appdata_t *ad);
35 void _destroy_popup(mh_appdata_t *ad);
36 void _teth_on(mh_appdata_t* ad);
37 void _prepare_popup_type(int type);
38 void _handle_mobile_data_onoff(mh_appdata_t *ad);
39 void _create_security_restriction_noti(tethering_type_e type);