Initialize Tizen 2.3
[apps/connectivity/bt-connection-popup.git] / include / bt-connection-view.h
1 /*
2 * bt-connection-popup
3 *
4 * Copyright 2012 Samsung Electronics Co., Ltd
5 *
6 * Contact: Hocheol Seo <hocheol.seo@samsung.com>
7 *           Injun Yang <injun.yang@samsung.com>
8 *           Seungyoun Ju <sy39.ju@samsung.com>
9 *
10 * Licensed under the Flora License, Version 1.1 (the "License");
11 * you may not use this file except in compliance with the License.
12 * You may obtain a copy of the License at
13 *
14 * http://www.tizenopensource.org/license
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an "AS IS" BASIS,
18 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 * See the License for the specific language governing permissions and
20 * limitations under the License.
21 *
22 */
23
24 #ifndef __BT_CONNECTION_VIEW_H__
25 #define __BT_CONNECTION_VIEW_H__
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 #ifndef PREFIX
32 #define PREFIX "/usr/apps/org.tizen.bt-connection-popup"
33 #endif
34 #define CUSTOM_POPUP_PATH PREFIX"/res/edje/bt-connection-popup.edj"
35 #define POPUP_IMAGE_PATH PREFIX"/res/edje"
36 #define BT_IMAGE_WATCH "b_connectivity_bluetooth_watch.png"
37 #define BT_IMAGE_UNPAIRED "b_connectivity_bluetooth_unpaired.png"
38 #define BT_IMAGE_PHONE "b_connectivity_bluetooth_phone.png"
39 #define BT_IMAGE_ICON "b_connectivity_bluetooth_paired.png"
40 #define BT_IMAGE_CONNECT "b_connectivity_dot_pair.png"
41
42 #include "bt-connection-main.h"
43
44 void _bt_create_connection_query_popup(bt_app_data_t *ad);
45 void _bt_create_connecting_popup(bt_app_data_t *ad);
46 void _bt_create_connection_timeout_popup(bt_app_data_t *ad);
47 void _bt_create_connected_popup(bt_app_data_t *ad);
48 void _bt_update_connect_status_popup(bt_app_data_t *ad);
49 void _bt_destroy_popup(bt_app_data_t *ad);
50 void _bt_clean_app(bt_app_data_t *ad);
51 void _bt_destroy_app(bt_app_data_t *ad);
52
53 #ifdef __cplusplus
54 }
55 #endif
56
57 #endif