summaryrefslogtreecommitdiff
path: root/include/mh_common_utility.h
blob: 2e3003b99642bd1a27cc42ef37fde92290054967 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* ug-mobile-ap
*
* Copyright 2012  Samsung Electronics Co., Ltd

* Licensed under the Flora License, Version 1.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at

* http://www.tizenopensource.org/license

* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/

#ifndef __APP_MH_COMMON_UTILITY_H_
#define __APP_MH_COMMON_UTILITY_H_

#ifdef __cplusplus
extern "C" {
#endif

#include "mobile_hotspot.h"
#include "mh_view_main.h"

#define MH_POPUP_TIMEOUT	2.0f

void _prepare_popup(mh_appdata_t *ad, int type, const char *str);
Eina_Bool _create_popup(mh_appdata_t *ad);
Evas_Object *_create_bg(Evas_Object *parent, const char *style);
Evas_Object *_create_win_layout(mh_appdata_t *ad);
Evas_Object *_create_naviframe(Evas_Object *parent);
void _handle_usb_mode_change(keynode_t *key, void *data);
Eina_Bool _hide_imf(Evas_Object *entry);
int _get_vconf_hotspot_mode(void);
Eina_Bool _get_no_of_connected_device(tethering_h handle, int *no, tethering_type_e type);

#ifdef __cplusplus
}
#endif
#endif