Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
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/. */
5 #ifndef nsMIMEInfoMac_h_
6 #define nsMIMEInfoMac_h_
8 #include "nsMIMEInfoImpl.h"
10 class nsMIMEInfoMac : public nsMIMEInfoImpl {
11 public:
12 nsMIMEInfoMac(const char* aMIMEType = "") : nsMIMEInfoImpl(aMIMEType) {}
13 nsMIMEInfoMac(const nsACString& aMIMEType) : nsMIMEInfoImpl(aMIMEType) {}
14 nsMIMEInfoMac(const nsACString& aType, HandlerClass aClass) :
15 nsMIMEInfoImpl(aType, aClass) {}
17 NS_IMETHOD LaunchWithFile(nsIFile* aFile);
18 protected:
19 virtual NS_HIDDEN_(nsresult) LoadUriInternal(nsIURI *aURI);
20 #ifdef DEBUG
21 virtual NS_HIDDEN_(nsresult) LaunchDefaultWithFile(nsIFile* aFile) {
22 NS_NOTREACHED("do not call this method, use LaunchWithFile");
23 return NS_ERROR_UNEXPECTED;
24 }
25 #endif
26 static NS_HIDDEN_(nsresult) OpenApplicationWithURI(nsIFile *aApplication,
27 const nsCString& aURI);
29 NS_IMETHOD GetDefaultDescription(nsAString& aDefaultDescription);
31 };
34 #endif