root/lang/pascal/Bagel/Interfaces/nsFileProtocolHandler.pas @ 4556

Revision 4556, 0.6 kB (checked in by plus7, 6 years ago)

lang/pascal/Bagel/Interfaces: move directory

  • Property svn:executable set to *
Line 
1unit nsFileProtocolHandler;
2
3interface
4
5uses
6  nsTypes,nsXPCOM,nsGeckoStrings;
7
8const
9  NS_IFILEPROTOCOLHANDLER_IID: TGUID = '{255602ea-c31f-4d29-8f35-905ead3f76f4}';
10
11type
12  nsIFileProtocolHandler = interface;
13  nsIFileProtocolHandler = interface(nsIProtocolHandler)
14  ['{255602ea-c31f-4d29-8f35-905ead3f76f4}']
15    function NewFileURI(aFile: nsIFile): nsIURI; safecall;
16    procedure GetURLSpecFromFile(_file: nsIFile; _retval: nsACString); safecall;
17    function GetFileFromURLSpec(const url: nsACString): nsIFile; safecall;
18    function ReadURLFile(_file: nsIFile): nsIURI; safecall;
19  end;
20
21implementation
22
23end.
Note: See TracBrowser for help on using the browser.