aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-base-embed.h
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-06 03:54:41 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-06 03:54:41 +0800
commite4d46bcca6d53a474cef868790c306d13c3b0ee9 (patch)
tree94ea8d2034b53e1b0bfcb1aa5cf4d437b4c8d4b3 /embed/ephy-base-embed.h
parent7f5b4500369c010da69160e4494bafd37d807599 (diff)
downloadgsoc2013-epiphany-e4d46bcca6d53a474cef868790c306d13c3b0ee9.tar
gsoc2013-epiphany-e4d46bcca6d53a474cef868790c306d13c3b0ee9.tar.gz
gsoc2013-epiphany-e4d46bcca6d53a474cef868790c306d13c3b0ee9.tar.bz2
gsoc2013-epiphany-e4d46bcca6d53a474cef868790c306d13c3b0ee9.tar.lz
gsoc2013-epiphany-e4d46bcca6d53a474cef868790c306d13c3b0ee9.tar.xz
gsoc2013-epiphany-e4d46bcca6d53a474cef868790c306d13c3b0ee9.tar.zst
gsoc2013-epiphany-e4d46bcca6d53a474cef868790c306d13c3b0ee9.zip
Create EphyBaseEmbed, make MozillaEmbed a subclass of it.
EphyBaseEmbed is an abstract class that will implement the generic bits common to any Epiphany backend. In this first commit it does nothing but serve as the parent class for the mozilla embedding widget. svn path=/trunk/; revision=7626
Diffstat (limited to 'embed/ephy-base-embed.h')
-rw-r--r--embed/ephy-base-embed.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/embed/ephy-base-embed.h b/embed/ephy-base-embed.h
new file mode 100644
index 000000000..4fe5b120d
--- /dev/null
+++ b/embed/ephy-base-embed.h
@@ -0,0 +1,34 @@
+#ifndef __EPHY_BASE_EMBED_H__
+#define __EPHY_BASE_EMBED_H__
+
+#include <gtk/gtk.h>
+
+
+G_BEGIN_DECLS
+
+#define EPHY_TYPE_BASE_EMBED (ephy_base_embed_get_type())
+#define EPHY_BASE_EMBED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EPHY_TYPE_BASE_EMBED, EphyBaseEmbed))
+#define EPHY_BASE_EMBED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EPHY_TYPE_BASE_EMBED, EphyBaseEmbedClass))
+#define EPHY_IS_BASE_EMBED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EPHY_TYPE_BASE_EMBED))
+#define EPHY_IS_BASE_EMBED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EPHY_TYPE_BASE_EMBED))
+#define EPHY_BASE_EMBED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EPHY_TYPE_BASE_EMBED, EphyBaseEmbedClass))
+
+typedef struct _EphyBaseEmbed EphyBaseEmbed;
+typedef struct _EphyBaseEmbedClass EphyBaseEmbedClass;
+typedef struct _EphyBaseEmbedPrivate EphyBaseEmbedPrivate;
+
+struct _EphyBaseEmbedClass
+{
+ GtkBinClass parent_class;
+};
+
+struct _EphyBaseEmbed
+{
+ GtkBin parent_instance;
+};
+
+GType ephy_base_embed_get_type (void) G_GNUC_CONST;
+
+G_END_DECLS
+
+#endif /* __EPHY_BASE_EMBED_H__ */