mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
a8756989dc
--HG-- rename : browser/components/shell/src/Makefile.in => browser/components/shell/Makefile.in rename : browser/components/shell/src/nsGNOMEShellService.cpp => browser/components/shell/nsGNOMEShellService.cpp rename : browser/components/shell/src/nsGNOMEShellService.h => browser/components/shell/nsGNOMEShellService.h rename : browser/components/shell/public/nsIMacShellService.idl => browser/components/shell/nsIMacShellService.idl rename : browser/components/shell/public/nsIShellService.idl => browser/components/shell/nsIShellService.idl rename : browser/components/shell/public/nsIWindowsShellService.idl => browser/components/shell/nsIWindowsShellService.idl rename : browser/components/shell/src/nsMacShellService.cpp => browser/components/shell/nsMacShellService.cpp rename : browser/components/shell/src/nsMacShellService.h => browser/components/shell/nsMacShellService.h rename : browser/components/shell/src/nsSetDefaultBrowser.js => browser/components/shell/nsSetDefaultBrowser.js rename : browser/components/shell/src/nsSetDefaultBrowser.manifest => browser/components/shell/nsSetDefaultBrowser.manifest rename : browser/components/shell/src/nsShellService.h => browser/components/shell/nsShellService.h rename : browser/components/shell/src/nsWindowsShellService.cpp => browser/components/shell/nsWindowsShellService.cpp rename : browser/components/shell/src/nsWindowsShellService.h => browser/components/shell/nsWindowsShellService.h
38 lines
974 B
C++
38 lines
974 B
C++
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
/* 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/. */
|
|
|
|
#ifndef nswindowsshellservice_h____
|
|
#define nswindowsshellservice_h____
|
|
|
|
#include "nscore.h"
|
|
#include "nsStringAPI.h"
|
|
#include "nsIWindowsShellService.h"
|
|
#include "nsITimer.h"
|
|
|
|
#include <windows.h>
|
|
#include <ole2.h>
|
|
|
|
class nsWindowsShellService : public nsIWindowsShellService
|
|
{
|
|
virtual ~nsWindowsShellService();
|
|
|
|
public:
|
|
nsWindowsShellService();
|
|
|
|
NS_DECL_ISUPPORTS
|
|
NS_DECL_NSISHELLSERVICE
|
|
NS_DECL_NSIWINDOWSSHELLSERVICE
|
|
|
|
protected:
|
|
bool IsDefaultBrowserVista(bool aCheckAllTypes, bool* aIsDefaultBrowser);
|
|
nsresult LaunchControlPanelDefaultPrograms();
|
|
nsresult LaunchHTTPHandlerPane();
|
|
|
|
private:
|
|
bool mCheckedThisSession;
|
|
};
|
|
|
|
#endif // nswindowsshellservice_h____
|