1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 #ifndef NSLOCALHANDLERAPPMAC_H_ 6 #define NSLOCALHANDLERAPPMAC_H_ 7 8 #include "nsLocalHandlerApp.h" 9 10 class nsLocalHandlerAppMac : public nsLocalHandlerApp { 11 public: nsLocalHandlerAppMac()12 nsLocalHandlerAppMac() {} 13 nsLocalHandlerAppMac(const char16_t * aName,nsIFile * aExecutable)14 nsLocalHandlerAppMac(const char16_t* aName, nsIFile* aExecutable) 15 : nsLocalHandlerApp(aName, aExecutable) {} 16 nsLocalHandlerAppMac(const nsAString & aName,nsIFile * aExecutable)17 nsLocalHandlerAppMac(const nsAString& aName, nsIFile* aExecutable) 18 : nsLocalHandlerApp(aName, aExecutable) {} ~nsLocalHandlerAppMac()19 virtual ~nsLocalHandlerAppMac() {} 20 21 NS_IMETHOD LaunchWithURI(nsIURI* aURI, 22 nsIInterfaceRequestor* aWindowContext) override; 23 NS_IMETHOD GetName(nsAString& aName) override; 24 }; 25 26 #endif /*NSLOCALHANDLERAPPMAC_H_*/ 27