Mercurial > audlegacy-plugins
annotate src/bluetooth/bluetooth.h @ 2838:22a2ffe86750
added passkey agent and basic pairing functionality
| author | Paula Stanciu <paula.stanciu@gmail.com> |
|---|---|
| date | Wed, 16 Jul 2008 20:48:09 +0300 |
| parents | 229647ca4942 |
| children | 22a5075fc7f7 |
| rev | line source |
|---|---|
| 2644 | 1 #include <config.h> |
| 2 #include <glib.h> | |
| 3 #include <sys/types.h> | |
| 4 #include <audacious/plugin.h> | |
| 5 #include <audacious/ui_plugin_menu.h> | |
| 6 #include <audacious/i18n.h> | |
| 7 #include <gtk/gtk.h> | |
| 8 #include <audacious/util.h> | |
|
2838
22a2ffe86750
added passkey agent and basic pairing functionality
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2728
diff
changeset
|
9 #include <dbus/dbus.h> |
|
22a2ffe86750
added passkey agent and basic pairing functionality
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2728
diff
changeset
|
10 #include <dbus/dbus-glib.h> |
|
22a2ffe86750
added passkey agent and basic pairing functionality
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2728
diff
changeset
|
11 #include <glib-object.h> |
|
22a2ffe86750
added passkey agent and basic pairing functionality
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2728
diff
changeset
|
12 #include <stdio.h> |
|
22a2ffe86750
added passkey agent and basic pairing functionality
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2728
diff
changeset
|
13 |
| 2644 | 14 #include "gui.h" |
|
2646
7fbff3287a56
added device discovery in the plugin's prefs window
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2644
diff
changeset
|
15 typedef struct { |
|
7fbff3287a56
added device discovery in the plugin's prefs window
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2644
diff
changeset
|
16 guint class; |
|
7fbff3287a56
added device discovery in the plugin's prefs window
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2644
diff
changeset
|
17 gchar* address; |
|
7fbff3287a56
added device discovery in the plugin's prefs window
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2644
diff
changeset
|
18 gchar* name; |
|
7fbff3287a56
added device discovery in the plugin's prefs window
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2644
diff
changeset
|
19 }DeviceData; |
|
7fbff3287a56
added device discovery in the plugin's prefs window
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2644
diff
changeset
|
20 |
|
7fbff3287a56
added device discovery in the plugin's prefs window
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2644
diff
changeset
|
21 |
|
7fbff3287a56
added device discovery in the plugin's prefs window
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2644
diff
changeset
|
22 |
| 2644 | 23 void refresh_call(void); |
| 24 void connect_call(void); | |
|
2646
7fbff3287a56
added device discovery in the plugin's prefs window
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2644
diff
changeset
|
25 GList * audio_devices; |
| 2728 | 26 gint discover_finish ; |
|
2838
22a2ffe86750
added passkey agent and basic pairing functionality
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2728
diff
changeset
|
27 DBusGConnection * bus; |
|
22a2ffe86750
added passkey agent and basic pairing functionality
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2728
diff
changeset
|
28 DBusGProxy * obj; |
|
2646
7fbff3287a56
added device discovery in the plugin's prefs window
Paula Stanciu <paula.stanciu@gmail.com>
parents:
2644
diff
changeset
|
29 |
| 2728 | 30 |
