michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nswindowsshellservice_h____ michael@0: #define nswindowsshellservice_h____ michael@0: michael@0: #include "nscore.h" michael@0: #include "nsStringAPI.h" michael@0: #include "nsIWindowsShellService.h" michael@0: #include "nsITimer.h" michael@0: michael@0: #include michael@0: #include michael@0: michael@0: class nsWindowsShellService : public nsIWindowsShellService michael@0: { michael@0: public: michael@0: nsWindowsShellService(); michael@0: virtual ~nsWindowsShellService(); michael@0: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSISHELLSERVICE michael@0: NS_DECL_NSIWINDOWSSHELLSERVICE michael@0: michael@0: protected: michael@0: bool IsDefaultBrowserVista(bool aCheckAllTypes, bool* aIsDefaultBrowser); michael@0: nsresult LaunchControlPanelDefaultPrograms(); michael@0: nsresult LaunchHTTPHandlerPane(); michael@0: michael@0: private: michael@0: bool mCheckedThisSession; michael@0: }; michael@0: michael@0: #endif // nswindowsshellservice_h____