nsWindowsShellService.h (977B)
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 nswindowsshellservice_h____ 7 #define nswindowsshellservice_h____ 8 9 #include "nscore.h" 10 #include "nsString.h" 11 #include "nsToolkitShellService.h" 12 #include "nsIShellService.h" 13 #include "nsIWindowsShellService.h" 14 15 #include <windows.h> 16 #include <ole2.h> 17 18 class nsWindowsShellService : public nsToolkitShellService, 19 public nsIWindowsShellService { 20 virtual ~nsWindowsShellService(); 21 22 public: 23 nsWindowsShellService(); 24 25 NS_DECL_ISUPPORTS 26 NS_DECL_NSISHELLSERVICE 27 NS_DECL_NSIWINDOWSSHELLSERVICE 28 29 protected: 30 nsresult LaunchControlPanelDefaultsSelectionUI(); 31 nsresult LaunchModernSettingsDialogDefaultApps(); 32 }; 33 34 #endif // nswindowsshellservice_h____