diff options
Diffstat (limited to 'embed/mozilla/IRCProtocolHandler.h')
-rw-r--r-- | embed/mozilla/IRCProtocolHandler.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/embed/mozilla/IRCProtocolHandler.h b/embed/mozilla/IRCProtocolHandler.h index f50ae3f12..abe971380 100644 --- a/embed/mozilla/IRCProtocolHandler.h +++ b/embed/mozilla/IRCProtocolHandler.h @@ -20,6 +20,7 @@ #define __IRCProtocolHandler_h__ #include "nsError.h" +#include "BaseProtocolContentHandler.h" #include "nsIProtocolHandler.h" #include "nsCURILoader.h" @@ -36,8 +37,14 @@ "application-x-gnome-irc" #define G_IRC_CONTENT_CLASSNAME "Epiphany's irc Content Handler" -class nsIFactory; - -extern nsresult NS_NewIRCHandlerFactory(nsIFactory** aFactory); +class GIRCProtocolHandler : public GBaseProtocolContentHandler +{ + public: + NS_DECL_ISUPPORTS + GIRCProtocolHandler() : GBaseProtocolContentHandler("irc") + {NS_INIT_ISUPPORTS();}; + virtual ~GIRCProtocolHandler() {}; + /* additional members */ +}; #endif // __IRCProtocolHandler_h__ |