comparison src/bluetooth/bluetooth.c @ 2644:6fd8ca4b7b17

add bluetooth plugin
author Paula Stanciu <paula.stanciu@gmail.com>
date Sat, 17 May 2008 21:22:49 +0300
parents
children 7fbff3287a56
comparison
equal deleted inserted replaced
2566:12aa69e560b2 2644:6fd8ca4b7b17
1 #include "bluetooth.h"
2 #define DEBUG 1
3 static gboolean plugin_active = FALSE,exiting=FALSE;
4
5 void bluetooth_init ( void );
6 void bluetooth_cleanup ( void );
7 void bt_cfg(void);
8 void bt_about(void);
9 GeneralPlugin bluetooth_gp =
10 {
11 .description = "Bluetooth audio suport",
12 .init = bluetooth_init,
13 .about = bt_about,
14 .configure = bt_cfg,
15 .cleanup = bluetooth_cleanup
16 };
17 GeneralPlugin *bluetooth_gplist[] = { &bluetooth_gp, NULL };
18 DECLARE_PLUGIN(bluetooth_gp, NULL, NULL, NULL, NULL, NULL, bluetooth_gplist, NULL, NULL)
19
20 void bluetooth_init ( void )
21 {
22
23 }
24
25 void bluetooth_cleanup ( void )
26 {
27
28 }
29 /*void bt_cfg( void )
30 {
31
32 }
33 */
34 void bt_about( void )
35 {
36
37 }
38
39
40 void refresh_call(void){
41 printf("refresh function called\n");
42 }
43
44 void connect_call(void){
45 printf("connect function \n");
46 }
47