gntclipboard.h
Go to the documentation of this file.00001
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef GNT_CLIPBOARD_H
00028 #define GNT_CLIPBOARD_H
00029
00030 #include <stdio.h>
00031 #include <glib.h>
00032 #include <glib-object.h>
00033
00034 #define GNT_TYPE_CLIPBOARD (gnt_clipboard_get_gtype())
00035 #define GNT_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_CLIPBOARD, GntClipboard))
00036 #define GNT_CLIPBOARD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_CLIPBOARD, GntClipboardClass))
00037 #define GNT_IS_CLIPBOARD(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_CLIPBOARD))
00038 #define GNT_IS_CLIPBOARD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_CLIPBOARD))
00039 #define GNT_CLIPBOARD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_CLIPBOARD, GntClipboardClass))
00040
00041 typedef struct _GntClipboard GntClipboard;
00042 typedef struct _GntClipboardClass GntClipboardClass;
00043
00044 struct _GntClipboard
00045 {
00046 GObject inherit;
00047 gchar *string;
00048 };
00049
00050 struct _GntClipboardClass
00051 {
00052 GObjectClass parent;
00053
00054 void (*gnt_reserved1)(void);
00055 void (*gnt_reserved2)(void);
00056 void (*gnt_reserved3)(void);
00057 void (*gnt_reserved4)(void);
00058 };
00059
00060 G_BEGIN_DECLS
00061
00065 GType gnt_clipboard_get_gtype(void);
00066
00075 gchar * gnt_clipboard_get_string(GntClipboard *clip);
00076
00083 void gnt_clipboard_set_string(GntClipboard *clip, const gchar *string);
00084
00085 G_END_DECLS
00086
00087 #endif