Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | #ifndef nsMIMEInfoMac_h_ |
michael@0 | 6 | #define nsMIMEInfoMac_h_ |
michael@0 | 7 | |
michael@0 | 8 | #include "nsMIMEInfoImpl.h" |
michael@0 | 9 | |
michael@0 | 10 | class nsMIMEInfoMac : public nsMIMEInfoImpl { |
michael@0 | 11 | public: |
michael@0 | 12 | nsMIMEInfoMac(const char* aMIMEType = "") : nsMIMEInfoImpl(aMIMEType) {} |
michael@0 | 13 | nsMIMEInfoMac(const nsACString& aMIMEType) : nsMIMEInfoImpl(aMIMEType) {} |
michael@0 | 14 | nsMIMEInfoMac(const nsACString& aType, HandlerClass aClass) : |
michael@0 | 15 | nsMIMEInfoImpl(aType, aClass) {} |
michael@0 | 16 | |
michael@0 | 17 | NS_IMETHOD LaunchWithFile(nsIFile* aFile); |
michael@0 | 18 | protected: |
michael@0 | 19 | virtual NS_HIDDEN_(nsresult) LoadUriInternal(nsIURI *aURI); |
michael@0 | 20 | #ifdef DEBUG |
michael@0 | 21 | virtual NS_HIDDEN_(nsresult) LaunchDefaultWithFile(nsIFile* aFile) { |
michael@0 | 22 | NS_NOTREACHED("do not call this method, use LaunchWithFile"); |
michael@0 | 23 | return NS_ERROR_UNEXPECTED; |
michael@0 | 24 | } |
michael@0 | 25 | #endif |
michael@0 | 26 | static NS_HIDDEN_(nsresult) OpenApplicationWithURI(nsIFile *aApplication, |
michael@0 | 27 | const nsCString& aURI); |
michael@0 | 28 | |
michael@0 | 29 | NS_IMETHOD GetDefaultDescription(nsAString& aDefaultDescription); |
michael@0 | 30 | |
michael@0 | 31 | }; |
michael@0 | 32 | |
michael@0 | 33 | |
michael@0 | 34 | #endif |