]> err.no Git - mapper/blob - src/bluetooth-scan.h
Allow a bit faster movement for the random gps simulator.
[mapper] / src / bluetooth-scan.h
1 #ifndef _MAPPER_BLUETOOTH_SCAN_H
2 #define _MAPPER_BLUETOOTH_SCAN_H
3
4 #include "config.h"
5
6 #include <dbus/dbus-glib.h>
7
8 #include "utils.h"
9 #include "gps.h"
10 #include "mapper-types.h"
11
12 typedef struct _ScanInfo ScanInfo;
13 struct _ScanInfo {
14         GtkWidget *settings_dialog;
15         GtkWidget *txt_rcvr_mac;
16         GtkWidget *scan_dialog;
17         GtkWidget *banner;
18         GtkListStore *store;
19         guint sid;
20 #ifdef WITH_HILDON_DBUS_BT
21         DBusGProxy *req_proxy;
22         DBusGProxy *sig_proxy;
23 #endif
24 };
25
26 gint scan_start_search(ScanInfo * scan_info);
27 gboolean scan_bluetooth(GtkWidget * widget, ScanInfo * scan_info);
28 gboolean scan_bluetooth_idle(ScanInfo * scan_info);
29
30 #endif