src/give_drag_and_drop.h

Go to the documentation of this file.
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_DRAG_AND_DROP_H
00020 #define GIVE_DRAG_AND_DROP_H
00021 
00022 #include <glib-object.h>
00023 
00024 #include <gtk/gtk.h>
00025 
00026 G_BEGIN_DECLS
00027 
00028 typedef struct _give_drag_and_drop give_drag_and_drop;
00029 typedef struct _give_drag_and_dropClass give_drag_and_dropClass;
00030 
00031 #define GIVE_DRAG_AND_DROP_TYPE         (give_drag_and_drop_get_type ())
00032 #define GIVE_DRAG_AND_DROP(obj)         (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
00033                                         GIVE_DRAG_AND_DROP_TYPE, \
00034                                         give_drag_and_drop))
00035 #define GIVE_DRAG_AND_DROP_CLASS(klass) \
00036                                         (G_TYPE_CHECK_CLASS_CAST ((klass), \
00037                                         GIVE_DRAG_AND_DROP_TYPE, \
00038                                         give_drag_and_dropClass))
00039 #define GIVE_DRAG_AND_DROP_IS_OBJECT(obj) \
00040                                         (G_TYPE_CHECK_INSTANCE_TYPE ((obj),\
00041                                         GIVE_DRAG_AND_DROP_TYPE))
00042 #define GIVE_DRAG_AND_DROP_IS_CLASS(klass)  \
00043                                         (G_TYPE_CHECK_CLASS_TYPE ((klass), \
00044                                         GIVE_DRAG_AND_DROP_TYPE))
00045 
00046 struct _give_drag_and_drop {
00047         GObject parent_object;
00048 };
00049 
00050 struct _give_drag_and_dropClass {
00051         GObjectClass parent_class;
00052 };
00053 
00054 GType give_drag_and_drop_get_type (void) G_GNUC_CONST;
00055 
00056 give_drag_and_drop *give_drag_and_drop_new (GtkWidget *widget);
00057 void give_drag_and_drop_have_bt (give_drag_and_drop *self, gboolean setting);
00058 gboolean give_drag_and_drop_turn_bt_on_dialog(give_drag_and_drop *self);
00059 
00060 G_END_DECLS
00061 
00062 #endif

Generated on Sat May 17 16:27:32 2008 for Give by  doxygen 1.5.3