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