Apply dpm policy
[apps/native/ug-mobile-ap.git] / include / mh_popup.h
1 /*
2 * ug-mobile-ap
3 *
4 * Copyright 2012  Samsung Electronics Co., Ltd
5
6 * Licensed under the Flora License, Version 1.0 (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
9
10 * http://www.tizenopensource.org/license
11
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.
17 *
18 */
19
20 #ifndef __APP_MH_POPUP_H_
21 #define __APP_MH_POPUP_H_
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 #include "mobile_hotspot.h"
28 #include "mh_view_main.h"
29
30 #define MH_POPUP_TIMEOUT        2.0f
31
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);
40
41 #ifdef __cplusplus
42 }
43 #endif
44 #endif