From 90825e2392b2d70e43c7a25b8a3752299a933894 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- xparts/mozilla/kmozilla_ext.h | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 xparts/mozilla/kmozilla_ext.h (limited to 'xparts/mozilla/kmozilla_ext.h') diff --git a/xparts/mozilla/kmozilla_ext.h b/xparts/mozilla/kmozilla_ext.h new file mode 100644 index 00000000..419bbc85 --- /dev/null +++ b/xparts/mozilla/kmozilla_ext.h @@ -0,0 +1,41 @@ +#ifndef _kmozillaextension_h__ +#define _kmozillaextension_h__ + +#include "gtkbrowserextension.h" +#include "kmozilla.h" + +#ifdef __cplusplus +extern "C" { +#endif + + +#define GTK_TYPE_KMOZILLA_EXTENSION (gtk_kmozilla_extension_get_type()) +#define GTK_KMOZILLA_EXTENSION(obj) GTK_CHECK_CAST((obj), GTK_TYPE_KMOZILLA_EXTENSION, GtkKmozillaExtension) +#define GTK_KMOZILLAEXTENSION_CLASS(klass) GTK_CHECK_CLASS_CAST((klass), GTK_TYPE_KMOZILLA_EXTENSION, GtkKmozillaExtensionClass) +#define GTK_IS_KMOZILLA_EXTENSION(obj) GTK_CHECK_TYPE((obj), GTK_TYPE_KMOZILLA_EXTENSION) +#define GTK_IS_KMOZILLA_EXTENSION_CLASS(klass) GTK_CHECK_CLASS_TYPE((klass), GTK_TYPE_KMOZILLA_EXTENSION) + +typedef struct _GtkKmozillaExtension GtkKmozillaExtension; +typedef struct _GtkKmozillaExtensionClass GtkKmozillaExtensionClass; + +struct _GtkKmozillaExtension +{ + GtkXBrowserExtension obj; + void *data; +}; + +struct _GtkKmozillaExtensionClass +{ + GtkXBrowserExtensionClass parent_class; +}; + +extern GtkType gtk_kmozilla_extension_get_type (void); +extern GtkKmozillaExtension *gtk_kmozilla_extension_new (void); + +extern void kmozilla_extension_set_mozilla( GtkKmozillaExtension *ext, GtkKmozilla *moz ); + +#ifdef __cplusplus +} +#endif + +#endif -- cgit v1.2.1