diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-04-03 22:47:00 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-04-03 22:47:00 +0800 |
commit | c0267b1c65c216a3f1e4743be20b7175ac903b50 (patch) | |
tree | 535bef47775e664f85e071ca2fbb7c56816d17de /embed/xulrunner/components/EphyAboutModule.h | |
parent | bfe81e9680d7520a4bca4429bc02d5db45245212 (diff) | |
download | gsoc2013-epiphany-c0267b1c65c216a3f1e4743be20b7175ac903b50.tar gsoc2013-epiphany-c0267b1c65c216a3f1e4743be20b7175ac903b50.tar.gz gsoc2013-epiphany-c0267b1c65c216a3f1e4743be20b7175ac903b50.tar.bz2 gsoc2013-epiphany-c0267b1c65c216a3f1e4743be20b7175ac903b50.tar.lz gsoc2013-epiphany-c0267b1c65c216a3f1e4743be20b7175ac903b50.tar.xz gsoc2013-epiphany-c0267b1c65c216a3f1e4743be20b7175ac903b50.tar.zst gsoc2013-epiphany-c0267b1c65c216a3f1e4743be20b7175ac903b50.zip |
Decruftify
svn path=/trunk/; revision=8182
Diffstat (limited to 'embed/xulrunner/components/EphyAboutModule.h')
-rw-r--r-- | embed/xulrunner/components/EphyAboutModule.h | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/embed/xulrunner/components/EphyAboutModule.h b/embed/xulrunner/components/EphyAboutModule.h deleted file mode 100644 index 21a269c49..000000000 --- a/embed/xulrunner/components/EphyAboutModule.h +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright © 2001 Matt Aubury, Philip Langdale - * Copyright © 2004 Crispin Flowerday - * Copyright © 2005 Christian Persch - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - * $Id$ - */ - -#ifndef EPHY_ABOUT_MODULE_H -#define EPHY_ABOUT_MODULE_H - -#include <nsIAboutModule.h> - -/* a9aea13e-21de-4be8-a07e-a05f11658c55 */ -#define EPHY_ABOUT_MODULE_CID \ -{ 0xa9aea13e, 0x21de, 0x4be8, \ - { 0xa0, 0x7e, 0xa0, 0x5f, 0x11, 0x65, 0x8c, 0x55 } } - -#define EPHY_ABOUT_NETERROR_CONTRACTID NS_ABOUT_MODULE_CONTRACTID_PREFIX "neterror" -#define EPHY_ABOUT_NETERROR_CLASSNAME "Epiphany about:neterror module" - -#define EPHY_ABOUT_EPIPHANY_CONTRACTID NS_ABOUT_MODULE_CONTRACTID_PREFIX "epiphany" -#define EPHY_ABOUT_EPIPHANY_CLASSNAME "Epiphany about:epiphany module" -#define EPHY_ABOUT_RECOVER_CONTRACTID NS_ABOUT_MODULE_CONTRACTID_PREFIX "recover" -#define EPHY_ABOUT_RECOVER_CLASSNAME "Epiphany about:recover module" - -class nsIChannel; -class nsIOutputStream; -class nsIInputStreamChannel; -class nsIURI; - -class EphyAboutModule : public nsIAboutModule -{ - public: - NS_DECL_ISUPPORTS - NS_DECL_NSIABOUTMODULE - - EphyAboutModule(); - virtual ~EphyAboutModule(); - - private: - nsresult Redirect(const nsACString&, nsIChannel**); - nsresult ParseURL(const char*, nsACString&, nsACString&, nsACString&, nsACString&, nsACString&); - nsresult GetErrorMessage(nsIURI*, const char*, char**, char**, char**, char**, char**, char**); - nsresult CreateErrorPage(nsIURI*, nsIChannel**); - nsresult CreateRecoverPage(nsIURI*, nsIChannel**); - nsresult WritePage(nsIURI*, nsIURI*, nsIURI*, const nsACString&, const char*, const char*, const char*, const char*, const char*, const char*, nsIChannel**); - nsresult Write(nsIOutputStream*, const char*); -}; - -#endif /* EPHY_ABOUT_MODULE_H */ |