From 824dfce72819337e7dad44f9b9c999caadd0e9a2 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 12 Apr 2003 00:37:43 +0000 Subject: *** empty log message *** --- embed/mozilla/StartHereProtocolHandler.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'embed/mozilla/StartHereProtocolHandler.h') diff --git a/embed/mozilla/StartHereProtocolHandler.h b/embed/mozilla/StartHereProtocolHandler.h index fc3125423..ea18ee39d 100644 --- a/embed/mozilla/StartHereProtocolHandler.h +++ b/embed/mozilla/StartHereProtocolHandler.h @@ -20,6 +20,9 @@ #define StartHereProtocolHandler_h__ #include "nsError.h" +#include "nsIProtocolHandler.h" +#include "nsCOMPtr.h" +#include "nsIChannel.h" #define G_START_HERE_PROTOCOLHANDLER_CID \ { /* a3a7b6e5-7a92-431d-87e6-3bef8e7ada51*/ \ @@ -31,8 +34,16 @@ #define G_START_HERE_PROTOCOLHANDLER_CONTRACTID NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "start-here" #define G_START_HERE_PROTOCOLHANDLER_CLASSNAME "Epiphany's start here protocol handler" -class nsIFactory; +class GStartHereProtocolHandler : public nsIProtocolHandler +{ + public: + NS_DECL_ISUPPORTS + NS_DECL_NSIPROTOCOLHANDLER -extern nsresult NS_NewStartHereHandlerFactory(nsIFactory** aFactory); + GStartHereProtocolHandler (void); + virtual ~GStartHereProtocolHandler(); -#endif // MyportalProtocolHandler_h__ + nsCOMPtr mChannel; +}; + +#endif // StarthereProtocolHandler_h__ -- cgit v1.2.3