Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
michael@0 | 1 | /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 2 -*- |
michael@0 | 2 | * |
michael@0 | 3 | * This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 6 | |
michael@0 | 7 | #ifndef nsMIMEInfoUnix_h_ |
michael@0 | 8 | #define nsMIMEInfoUnix_h_ |
michael@0 | 9 | |
michael@0 | 10 | #include "nsMIMEInfoImpl.h" |
michael@0 | 11 | |
michael@0 | 12 | class nsMIMEInfoUnix : public nsMIMEInfoImpl |
michael@0 | 13 | { |
michael@0 | 14 | public: |
michael@0 | 15 | nsMIMEInfoUnix(const char *aMIMEType = "") : nsMIMEInfoImpl(aMIMEType) {} |
michael@0 | 16 | nsMIMEInfoUnix(const nsACString& aMIMEType) : nsMIMEInfoImpl(aMIMEType) {} |
michael@0 | 17 | nsMIMEInfoUnix(const nsACString& aType, HandlerClass aClass) : |
michael@0 | 18 | nsMIMEInfoImpl(aType, aClass) {} |
michael@0 | 19 | static bool HandlerExists(const char *aProtocolScheme); |
michael@0 | 20 | |
michael@0 | 21 | protected: |
michael@0 | 22 | NS_IMETHOD GetHasDefaultHandler(bool *_retval); |
michael@0 | 23 | |
michael@0 | 24 | virtual NS_HIDDEN_(nsresult) LoadUriInternal(nsIURI *aURI); |
michael@0 | 25 | |
michael@0 | 26 | virtual NS_HIDDEN_(nsresult) LaunchDefaultWithFile(nsIFile *aFile); |
michael@0 | 27 | #if defined(MOZ_ENABLE_CONTENTACTION) |
michael@0 | 28 | NS_IMETHOD GetPossibleApplicationHandlers(nsIMutableArray * *aPossibleAppHandlers); |
michael@0 | 29 | #endif |
michael@0 | 30 | }; |
michael@0 | 31 | |
michael@0 | 32 | #endif // nsMIMEInfoUnix_h_ |