2004-03-08 09:56:16 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2004-03-08 09:56:16 +00:00
|
|
|
|
|
|
|
#ifndef nswindowsshellservice_h____
|
|
|
|
#define nswindowsshellservice_h____
|
|
|
|
|
|
|
|
#include "nscore.h"
|
2007-07-24 02:27:30 +00:00
|
|
|
#include "nsStringAPI.h"
|
2004-03-08 09:56:16 +00:00
|
|
|
#include "nsIWindowsShellService.h"
|
2012-05-28 02:40:48 +00:00
|
|
|
#include "nsITimer.h"
|
2004-03-08 09:56:16 +00:00
|
|
|
|
|
|
|
#include <windows.h>
|
2006-09-22 14:45:57 +00:00
|
|
|
#include <ole2.h>
|
2004-03-08 09:56:16 +00:00
|
|
|
|
2006-09-22 14:40:55 +00:00
|
|
|
class nsWindowsShellService : public nsIWindowsShellService
|
2004-03-08 09:56:16 +00:00
|
|
|
{
|
2014-07-17 20:43:38 +00:00
|
|
|
virtual ~nsWindowsShellService();
|
|
|
|
|
2004-03-08 09:56:16 +00:00
|
|
|
public:
|
2012-05-28 02:40:48 +00:00
|
|
|
nsWindowsShellService();
|
2004-03-08 09:56:16 +00:00
|
|
|
|
|
|
|
NS_DECL_ISUPPORTS
|
|
|
|
NS_DECL_NSISHELLSERVICE
|
|
|
|
NS_DECL_NSIWINDOWSSHELLSERVICE
|
|
|
|
|
|
|
|
protected:
|
2012-09-21 14:05:24 +00:00
|
|
|
bool IsDefaultBrowserVista(bool aCheckAllTypes, bool* aIsDefaultBrowser);
|
2015-06-27 03:27:26 +00:00
|
|
|
nsresult LaunchControlPanelDefaultsSelectionUI();
|
2015-06-03 15:40:40 +00:00
|
|
|
nsresult LaunchModernSettingsDialogDefaultApps();
|
2015-06-18 23:16:52 +00:00
|
|
|
nsresult InvokeHTTPOpenAsVerb();
|
2012-09-21 14:05:24 +00:00
|
|
|
nsresult LaunchHTTPHandlerPane();
|
2004-03-08 09:56:16 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // nswindowsshellservice_h____
|