00001 /* Give - Statusbar plugin for easy drag & drop data sending via Bluetooth. 00002 * Copyright (C) 2008 Dénes Mátételki 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free 00016 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00017 */ 00018 00019 #ifndef GIVE_BLUETOOTH_H 00020 #define GIVE_BLUETOOTH_H 00021 00022 #include <glib-object.h> 00023 00024 G_BEGIN_DECLS 00025 00026 typedef struct _give_bluetooth give_bluetooth; 00027 typedef struct _give_bluetoothClass give_bluetoothClass; 00028 00029 #define GIVE_BLUETOOTH_TYPE (give_bluetooth_get_type ()) 00030 #define GIVE_BLUETOOTH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \ 00031 GIVE_BLUETOOTH_TYPE, give_bluetooth)) 00032 #define GIVE_BLUETOOTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), \ 00033 GIVE_BLUETOOTH_TYPE, \ 00034 give_bluetoothClass)) 00035 #define GIVE_BLUETOOTH_IS_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ 00036 GIVE_BLUETOOTH_TYPE)) 00037 #define GIVE_BLUETOOTH_IS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \ 00038 GIVE_BLUETOOTH_TYPE)) 00039 00040 00041 struct _give_bluetooth { 00042 GObject parent_object; 00043 }; 00044 00045 struct _give_bluetoothClass { 00046 GObjectClass parent_class; 00047 00048 }; 00049 00050 GType give_bluetooth_get_type (void) G_GNUC_CONST; 00051 00052 give_bluetooth* give_bluetooth_new(void); 00053 void give_bluetooth_send_file(give_bluetooth *self, gchar **files); 00054 00055 G_END_DECLS 00056 00057 #endif
1.5.3