nsAboutRedirector.h (690B)
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */ 3 /* This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 #ifndef nsAboutRedirector_h__ 8 #define nsAboutRedirector_h__ 9 10 #include "nsIAboutModule.h" 11 12 class nsAboutRedirector : public nsIAboutModule { 13 public: 14 NS_DECL_ISUPPORTS 15 16 NS_DECL_NSIABOUTMODULE 17 18 nsAboutRedirector() {} 19 20 static nsresult Create(REFNSIID aIID, void** aResult); 21 22 protected: 23 virtual ~nsAboutRedirector() {} 24 }; 25 26 #endif // nsAboutRedirector_h__