4 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
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
10 * http://www.apache.org/licenses/LICENSE-2.0
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 __DEF_BLUETOOTH_SHARE_SYSPOPUP_H_
21 #define __DEF_BLUETOOTH_SHARE_SYSPOPUP_H_
27 #define BT_GLOBALIZATION_STR_LENGTH 256
28 #define BT_FILE_NAME_LEN_MAX 255
29 #define BT_POPUP_TEXT_LEN \
30 (BT_GLOBALIZATION_STR_LENGTH + BT_FILE_NAME_LEN_MAX)
32 /* This value are used in the N-prj */
33 #define BT_APP_POPUP_LAUNCH_TIMEOUT 100
36 BT_APP_EVENT_CONFIRM_MODE_REQUEST = 0x0001,
37 BT_APP_EVENT_FILE_RECEIVED = 0x0002,
38 BT_APP_EVENT_INFORMATION = 0x0004,
39 BT_APP_EVENT_OVERWRITE_REQUEST = 0x0008
40 } bt_app_event_type_e;
44 POPUP_RESPONSE_CANCEL,
45 POPUP_RESPONSE_TIMEOUT
46 } bt_popup_response_e;
53 } bt_app_sys_popup_params_t;
55 int _bt_launch_system_popup(bt_app_event_type_e event_type,
56 bt_app_sys_popup_params_t *popup_params,
60 gboolean _bt_app_popup_memoryfull(gpointer user_data);
65 #endif /* __DEF_BLUETOOTH_SHARE_SYSPOPUP_H_ */