1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/docshell/base/nsAboutRedirector.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ 1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.8 + 1.9 +#ifndef nsAboutRedirector_h__ 1.10 +#define nsAboutRedirector_h__ 1.11 + 1.12 +#include "nsIAboutModule.h" 1.13 + 1.14 +class nsAboutRedirector : public nsIAboutModule 1.15 +{ 1.16 +public: 1.17 + NS_DECL_ISUPPORTS 1.18 + 1.19 + NS_DECL_NSIABOUTMODULE 1.20 + 1.21 + nsAboutRedirector() {} 1.22 + virtual ~nsAboutRedirector() {} 1.23 + 1.24 + static nsresult 1.25 + Create(nsISupports *aOuter, REFNSIID aIID, void **aResult); 1.26 + 1.27 +protected: 1.28 +}; 1.29 + 1.30 +#define NS_ABOUT_REDIRECTOR_MODULE_CID \ 1.31 +{ /* f0acde16-1dd1-11b2-9e35-f5786fff5a66*/ \ 1.32 + 0xf0acde16, \ 1.33 + 0x1dd1, \ 1.34 + 0x11b2, \ 1.35 + {0x9e, 0x35, 0xf5, 0x78, 0x6f, 0xff, 0x5a, 0x66} \ 1.36 +} 1.37 + 1.38 +#endif // nsAboutRedirector_h__