Remove unused vconf value
[platform/core/connectivity/bluetooth-share.git] / bt-share / include / bt-share-main.h
1 /*
2  * bluetooth-share
3  *
4  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5  *
6  * Licensed under the Apache License, Version 2.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.apache.org/licenses/LICENSE-2.0
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 __DEF_BLUETOOTH_SHARE_H_
21 #define __DEF_BLUETOOTH_SHARE_H_
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 #include <glib.h>
28 #include <dbus/dbus-glib.h>
29 #include <notification.h>
30
31 #ifndef PACKAGE_NAME
32 #define PACKAGE_NAME "bluetooth-share"
33 #endif
34
35 #define UI_PACKAGE "org.tizen.bluetooth-share-ui"
36 #define UI_PKG_PATH "/opt/apps/org.tizen.bluetooth-share-ui/bin/bluetooth-share-ui"
37
38 typedef void (*bt_app_cb) (void *, void *, void *);
39
40 typedef struct {
41         bt_app_cb popup_cb;
42         void *popup_cb_data;
43         gboolean syspopup_request;
44 } bt_app_popups_t;
45
46 typedef struct {
47         int tr_success;
48         int tr_fail;
49 } bt_transfer_status_info_t;
50
51 struct bt_appdata {
52         bt_app_popups_t popups;
53         bt_transfer_status_info_t send_data;
54         bt_transfer_status_info_t recv_data;
55         GSList *tr_send_list;
56         GSList *tr_next_data;
57         int current_tr_uid;
58         notification_h send_noti;
59         notification_h receive_noti;
60         notification_h opc_noti;
61         int opc_noti_id;
62         int syspopup_call;
63         DBusGConnection *conn;
64         GObject *object;
65         gboolean obex_server_init;
66 };
67
68
69 void _bt_terminate_app(void);
70
71 int _bt_init_obex_server(void);
72
73 #ifdef __cplusplus
74 }
75 #endif
76 #endif                          /* __DEF_BLUETOOTH_SHARE_H_ */