From 10093dee9948bfb14bca7228539e20a882c0fb38 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Mon, 21 Mar 2005 19:49:03 +0000 Subject: Oh the joys of mozilla API changes :P 2005-03-21 Christian Persch * configure.ac: * embed/mozilla/ContentHandler.cpp: Oh the joys of mozilla API changes :P --- embed/mozilla/ContentHandler.cpp | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'embed/mozilla/ContentHandler.cpp') diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index ef2e07b6b..d590905db 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -93,15 +93,26 @@ GContentHandler::~GContentHandler() NS_IMPL_ISUPPORTS1(GContentHandler, nsIHelperAppLauncherDialog) +#ifdef MOZ_NSIHELPERAPPLAUNCHERDIALOG_UNSIGNED +/* void show (in nsIHelperAppLauncher aLauncher, in nsISupports aContext, in unsigned long aReason); */ +NS_IMETHODIMP +GContentHandler::Show (nsIHelperAppLauncher *aLauncher, + nsISupports *aContext, + PRUint32 aReason) +#else /* void show (in nsIHelperAppLauncher aLauncher, in nsISupports aContext); */ -NS_IMETHODIMP GContentHandler::Show(nsIHelperAppLauncher *aLauncher, - nsISupports *aContext, - PRBool aForced) +NS_IMETHODIMP +GContentHandler::Show (nsIHelperAppLauncher *aLauncher, + nsISupports *aContext, + PRBool aForced) +#endif { nsresult rv; EphyEmbedSingle *single; gboolean handled = FALSE; + /* FIXME: handle aForced / aReason argument in some way? */ + mContext = aContext; mLauncher = aLauncher; rv = Init (); -- cgit v1.2.3