mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-14 15:37:55 +00:00
44 lines
1.3 KiB
Plaintext
44 lines
1.3 KiB
Plaintext
/* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
|
*
|
|
* The contents of this file are subject to the Mozilla Public
|
|
* License Version 1.1 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.mozilla.org/MPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS
|
|
* IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
* implied. See the License for the specific language governing
|
|
* rights and limitations under the License.
|
|
*
|
|
* The Original Code is the Mozilla browser.
|
|
*
|
|
* The Initial Developer of the Original Code is Netscape
|
|
* Communications, Inc. Portions created by Netscape are
|
|
* Copyright (C) 1999, Mozilla. All Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
* Adam Lock <adamlock@netscape.com>
|
|
*/
|
|
|
|
#include "nsISupports.idl"
|
|
|
|
interface nsIURI;
|
|
|
|
/**
|
|
* Interface implemented by objects capable of fixing up strings into URIs
|
|
*/
|
|
[scriptable, uuid(2EFD4A40-A5E1-11d4-9589-0020183BF181)]
|
|
interface nsIURIFixup : nsISupports
|
|
{
|
|
/*
|
|
This method converts the specified string into a URI, first attempting
|
|
to correct any errors in the syntax or other vagaries.
|
|
|
|
aURIText - String URI
|
|
|
|
Returns a wellformed URI or nsnull if it can't
|
|
*/
|
|
nsIURI createFixupURI(in wstring aURIText);
|
|
};
|
|
|