nsMacShellService.h (944B)
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* This Source Code Form is subject to the terms of the Mozilla Public 3 * License, v. 2.0. If a copy of the MPL was not distributed with this 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 5 6 #ifndef nsmacshellservice_h____ 7 #define nsmacshellservice_h____ 8 9 #include "nsToolkitShellService.h" 10 #include "nsIMacShellService.h" 11 #include "nsIWebProgressListener.h" 12 #include "nsIFile.h" 13 #include "nsCOMPtr.h" 14 15 class nsMacShellService : public nsIMacShellService, 16 public nsToolkitShellService, 17 public nsIWebProgressListener { 18 public: 19 nsMacShellService() {}; 20 21 NS_DECL_ISUPPORTS 22 NS_DECL_NSISHELLSERVICE 23 NS_DECL_NSIMACSHELLSERVICE 24 NS_DECL_NSIWEBPROGRESSLISTENER 25 26 protected: 27 virtual ~nsMacShellService() {}; 28 29 private: 30 nsCOMPtr<nsIFile> mBackgroundFile; 31 }; 32 33 #endif // nsmacshellservice_h____