diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /xparts/mozilla/kmozilla.h | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
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
Diffstat (limited to 'xparts/mozilla/kmozilla.h')
-rw-r--r-- | xparts/mozilla/kmozilla.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/xparts/mozilla/kmozilla.h b/xparts/mozilla/kmozilla.h new file mode 100644 index 00000000..c9054399 --- /dev/null +++ b/xparts/mozilla/kmozilla.h @@ -0,0 +1,34 @@ +#ifndef _gtk_kmozilla_h_ +#define _gtk_kmozilla_h_ + +#include "gtkpart.h" + +#define GTK_TYPE_KMOZILLA (gtk_kmozilla_get_type()) +#define GTK_KMOZILLA(obj) GTK_CHECK_CAST((obj), GTK_TYPE_KMOZILLA, GtkKmozilla) +#define GTK_KMOZILLA_CLASS(klass) GTK_CHECK_CLASS_CAST((klass), GTK_TYPE_KMOZILLA, GtkKmozillaClass) +#define GTK_IS_KMOZILLA(obj) GTK_CHECK_TYPE((obj), GTK_TYPE_KMOZILLA) +#define GTK_IS_KMOZILLA_CLASS(klass) GTK_CHECK_CLASS_TYPE((klass), GTK_TYPE_KMOZILLA) + +#define GTK_KMOZILLA_WIDGET(part) (gtk_kmozilla_get_widget(part)) +#define GTK_KMOZILLA_DCOP(part) (gtk_kmozilla_get_dcop(part)) + +typedef struct _GtkKmozilla GtkKmozilla; +typedef struct _GtkKmozillaClass GtkKmozillaClass; + +struct _GtkKmozilla +{ + GtkXPart part; + void *data; +}; + +struct _GtkKmozillaClass +{ + GtkXPartClass parent_class; +}; + +extern GtkType gtk_kmozilla_get_type (void); +extern GtkKmozilla *gtk_kmozilla_new (void); + +void gtk_kmozilla_set_dcop_client( GtkKmozilla *part, DcopClient *client ); + +#endif |