sbILibraryUtils.idl
Go to the documentation of this file.
1 /*
2  *=BEGIN SONGBIRD GPL
3  *
4  * This file is part of the Songbird web player.
5  *
6  * Copyright(c) 2005-2009 POTI, Inc.
7  * http://www.songbirdnest.com
8  *
9  * This file may be licensed under the terms of of the
10  * GNU General Public License Version 2 (the ``GPL'').
11  *
12  * Software distributed under the License is distributed
13  * on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either
14  * express or implied. See the GPL for the specific language
15  * governing rights and limitations.
16  *
17  * You should have received a copy of the GPL along with this
18  * program. If not, go to http://www.gnu.org/licenses/gpl.html
19  * or write to the Free Software Foundation, Inc.,
20  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21  *
22  *=END SONGBIRD GPL
23  */
24 
30 #include "nsISupports.idl"
31 
32 interface nsIFile;
33 interface nsIURI;
34 
40 [scriptable, uuid(a7e0473e-1dd1-11b2-be3e-ab8233cc8f85)]
42 {
56  nsIURI getContentURI(in nsIURI aURI);
57 
68  nsIURI getFileContentURI(in nsIFile aFile);
69 
81  nsIFile getCanonicalPath(in nsIFile aFile);
82 };
83 
nsIURI getContentURI(in nsIURI aURI)
Return a library content URI for the URI specified by aURI. A library content URI is a specially form...
var uuid
nsIURI getFileContentURI(in nsIFile aFile)
Return a library content URI for the file specified by aFile. Special processing is required to conve...
nsIFile getCanonicalPath(in nsIFile aFile)
Return the path in a way that is as canonical as possible for the filesystem it resides on; this may ...
Set of library utilities.