Mercurial > projects > dwt-win
comparison dwt/internal/mozilla/nsIIOService.d @ 327:b0d7eb5bd76c
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 17:45:10 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
326:e4d29367b1fa | 327:b0d7eb5bd76c |
---|---|
1 module dwt.internal.mozilla.nsIIOService; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsISupports; | |
6 import dwt.internal.mozilla.nsIProtocolHandler; | |
7 import dwt.internal.mozilla.nsIChannel; | |
8 import dwt.internal.mozilla.nsIURI; | |
9 import dwt.internal.mozilla.nsIFile; | |
10 import dwt.internal.mozilla.nsStringAPI; | |
11 | |
12 const char[] NS_IIOSERVICE_IID_STR = "bddeda3f-9020-4d12-8c70-984ee9f7935e"; | |
13 | |
14 const nsIID NS_IIOSERVICE_IID= | |
15 {0xbddeda3f, 0x9020, 0x4d12, | |
16 [ 0x8c, 0x70, 0x98, 0x4e, 0xe9, 0xf7, 0x93, 0x5e ]}; | |
17 | |
18 interface nsIIOService : nsISupports { | |
19 | |
20 static const char[] IID_STR = NS_IIOSERVICE_IID_STR; | |
21 static const nsIID IID = NS_IIOSERVICE_IID; | |
22 | |
23 extern(System): | |
24 nsresult GetProtocolHandler(char *aScheme, nsIProtocolHandler *_retval); | |
25 nsresult GetProtocolFlags(char *aScheme, PRUint32 *_retval); | |
26 nsresult NewURI(nsACString * aSpec, char *aOriginCharset, nsIURI aBaseURI, nsIURI *_retval); | |
27 nsresult NewFileURI(nsIFile aFile, nsIURI *_retval); | |
28 nsresult NewChannelFromURI(nsIURI aURI, nsIChannel *_retval); | |
29 nsresult NewChannel(nsACString * aSpec, char *aOriginCharset, nsIURI aBaseURI, nsIChannel *_retval); | |
30 nsresult GetOffline(PRBool *aOffline); | |
31 nsresult SetOffline(PRBool aOffline); | |
32 nsresult AllowPort(PRInt32 aPort, char *aScheme, PRBool *_retval); | |
33 nsresult ExtractScheme(nsACString * urlString, nsACString * _retval); | |
34 | |
35 } | |
36 |