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