diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/bluetooth/bluetooth.c	Sat May 17 21:22:49 2008 +0300
@@ -0,0 +1,47 @@
+#include "bluetooth.h"
+#define DEBUG 1
+static gboolean plugin_active = FALSE,exiting=FALSE;
+
+void bluetooth_init ( void );
+void bluetooth_cleanup ( void );
+void bt_cfg(void);
+void bt_about(void);
+GeneralPlugin bluetooth_gp =
+{
+    .description = "Bluetooth audio suport",
+    .init = bluetooth_init,
+    .about = bt_about,
+    .configure = bt_cfg,
+    .cleanup = bluetooth_cleanup
+};
+GeneralPlugin *bluetooth_gplist[] = { &bluetooth_gp, NULL };
+DECLARE_PLUGIN(bluetooth_gp, NULL, NULL, NULL, NULL, NULL, bluetooth_gplist, NULL, NULL)
+
+void bluetooth_init ( void )
+{
+
+}
+
+void bluetooth_cleanup ( void )
+{
+
+}
+/*void bt_cfg( void )
+{
+
+}
+*/
+void bt_about( void )
+{
+
+}
+
+
+void refresh_call(void){
+    printf("refresh function called\n");
+}
+
+void connect_call(void){
+    printf("connect function \n");
+}
+