diff options
author | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-12 08:37:43 +0800 |
---|---|---|
committer | Marco Pesenti Gritti <mpeseng@src.gnome.org> | 2003-04-12 08:37:43 +0800 |
commit | 824dfce72819337e7dad44f9b9c999caadd0e9a2 (patch) | |
tree | 5080b21ccbdf078fcd95eb2842e55ffd265aead6 /embed/mozilla/MailtoProtocolHandler.h | |
parent | 3a57d18b63e6cde5a2a3bed06834020794c0ebd9 (diff) | |
download | gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.gz gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.bz2 gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.lz gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.xz gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.tar.zst gsoc2013-epiphany-824dfce72819337e7dad44f9b9c999caadd0e9a2.zip |
*** empty log message ***
Diffstat (limited to 'embed/mozilla/MailtoProtocolHandler.h')
-rw-r--r-- | embed/mozilla/MailtoProtocolHandler.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/embed/mozilla/MailtoProtocolHandler.h b/embed/mozilla/MailtoProtocolHandler.h index 643fd7db7..2d269c588 100644 --- a/embed/mozilla/MailtoProtocolHandler.h +++ b/embed/mozilla/MailtoProtocolHandler.h @@ -22,6 +22,7 @@ #include "nsError.h" #include "nsIProtocolHandler.h" #include "nsCURILoader.h" +#include "BaseProtocolContentHandler.h" #define G_MAILTO_PROTOCOL_CID \ { /* aabe33d3-7455-4d8f-87e7-43e4541ace4d */ \ @@ -36,8 +37,14 @@ "application-x-gnome-mailto" #define G_MAILTO_CONTENT_CLASSNAME "Epiphany's mailto Content Handler" -class nsIFactory; - -extern nsresult NS_NewMailtoHandlerFactory(nsIFactory** aFactory); +class GMailtoProtocolHandler : public GBaseProtocolContentHandler +{ + public: + NS_DECL_ISUPPORTS + GMailtoProtocolHandler() : GBaseProtocolContentHandler("mailto") + {NS_INIT_ISUPPORTS();}; + virtual ~GMailtoProtocolHandler() {}; + private: +}; #endif // __MailtoProtocolHandler_h__ |