1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/components/shell/src/nsWindowsShellService.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 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 nswindowsshellservice_h____ 1.10 +#define nswindowsshellservice_h____ 1.11 + 1.12 +#include "nscore.h" 1.13 +#include "nsStringAPI.h" 1.14 +#include "nsIWindowsShellService.h" 1.15 +#include "nsITimer.h" 1.16 + 1.17 +#include <windows.h> 1.18 +#include <ole2.h> 1.19 + 1.20 +class nsWindowsShellService : public nsIWindowsShellService 1.21 +{ 1.22 +public: 1.23 + nsWindowsShellService(); 1.24 + virtual ~nsWindowsShellService(); 1.25 + 1.26 + NS_DECL_ISUPPORTS 1.27 + NS_DECL_NSISHELLSERVICE 1.28 + NS_DECL_NSIWINDOWSSHELLSERVICE 1.29 + 1.30 +protected: 1.31 + bool IsDefaultBrowserVista(bool aCheckAllTypes, bool* aIsDefaultBrowser); 1.32 + nsresult LaunchControlPanelDefaultPrograms(); 1.33 + nsresult LaunchHTTPHandlerPane(); 1.34 + 1.35 +private: 1.36 + bool mCheckedThisSession; 1.37 +}; 1.38 + 1.39 +#endif // nswindowsshellservice_h____