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
35 lines
912 B
C++
35 lines
912 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 nsmacshellservice_h____
|
|
#define nsmacshellservice_h____
|
|
|
|
#include "nsIMacShellService.h"
|
|
#include "nsIWebProgressListener.h"
|
|
#include "nsIFile.h"
|
|
#include "nsCOMPtr.h"
|
|
|
|
class nsMacShellService : public nsIMacShellService,
|
|
public nsIWebProgressListener
|
|
{
|
|
public:
|
|
nsMacShellService() : mCheckedThisSession(false) {};
|
|
|
|
NS_DECL_ISUPPORTS
|
|
NS_DECL_NSISHELLSERVICE
|
|
NS_DECL_NSIMACSHELLSERVICE
|
|
NS_DECL_NSIWEBPROGRESSLISTENER
|
|
|
|
protected:
|
|
virtual ~nsMacShellService() {};
|
|
|
|
private:
|
|
nsCOMPtr<nsIFile> mBackgroundFile;
|
|
|
|
bool mCheckedThisSession;
|
|
};
|
|
|
|
#endif // nsmacshellservice_h____
|