nsIExternalProtocolHandler.idl 648 B

123456789101112131415161718
  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. #include "nsIProtocolHandler.idl"
  5. [scriptable, uuid(0e61f3b2-34d7-4c79-bfdc-4860bc7341b7)]
  6. interface nsIExternalProtocolHandler: nsIProtocolHandler
  7. {
  8. /**
  9. * This method checks if the external handler exists for a given scheme.
  10. *
  11. * @param scheme external scheme.
  12. * @return TRUE if the external handler exists for the input scheme, FALSE otherwise.
  13. */
  14. boolean externalAppExistsForScheme(in ACString scheme);
  15. };