From 2a776b7f4ea30e814b2703a50633143b5b0ebc95 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sat, 29 Dec 2007 23:39:23 +0000 Subject: Make MozillaHistoryItem create url and title on demand. Adapt code to the API change. svn path=/trunk/; revision=7835 --- embed/mozilla/mozilla-embed.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'embed/mozilla/mozilla-embed.h') diff --git a/embed/mozilla/mozilla-embed.h b/embed/mozilla/mozilla-embed.h index 21ddaf466..28fcecb41 100644 --- a/embed/mozilla/mozilla-embed.h +++ b/embed/mozilla/mozilla-embed.h @@ -29,6 +29,13 @@ #include "ephy-embed.h" #include "ephy-base-embed.h" +#ifdef __cplusplus +#include "EphyBrowser.h" +#else +/* can't include C++ headers from outside embed/mozilla */ +typedef struct _EphyBrowser EphyBrowser; +#endif + G_BEGIN_DECLS #define MOZILLA_TYPE_EMBED (mozilla_embed_get_type ()) @@ -65,6 +72,8 @@ GtkMozEmbed *_mozilla_embed_new_xul_dialog (void); EphyEmbedChrome _mozilla_embed_translate_chrome (GtkMozEmbedChromeFlags flags); +EphyBrowser *_mozilla_embed_get_browser (MozillaEmbed *embed); + G_END_DECLS #endif -- cgit v1.2.3