4 * Copyright (c) 2013 Intel Corporation.
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 #include <libnotify/notify.h>
26 #include <dbus/dbus.h>
27 #include <dbus/dbus-glib.h>
28 #include <dbus/dbus-glib-lowlevel.h>
30 #include "bt-service-common.h"
32 #define BT_PIN_MLEN 16 /* Pin key max length */
33 #define BT_PK_MLEN 6 /* Passkey max length */
34 #define NOTIFY_ICON DATA_DIR_ICON"/icons/default/bt-icon.png"
42 BT_CORE_AGENT_TIMEOUT,
43 } bt_agent_accept_type_t;
45 struct bt_popup_appdata {
46 DBusGProxy *agent_proxy;
47 DBusGProxy *obex_proxy;
52 int notify_launch(bundle *user_data);