Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla.old/nsIIOService.d @ 288:4ee8c4237614
old branches... commit by mistake
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 18:00:50 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
287:9cbe6285f746 | 288:4ee8c4237614 |
---|---|
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 extern(System) | |
19 | |
20 interface nsIIOService : nsISupports { | |
21 | |
22 static const char[] IID_STR = NS_IIOSERVICE_IID_STR; | |
23 static const nsIID IID = NS_IIOSERVICE_IID; | |
24 | |
25 nsresult GetProtocolHandler(char *aScheme, nsIProtocolHandler *_retval); | |
26 nsresult GetProtocolFlags(char *aScheme, PRUint32 *_retval); | |
27 nsresult NewURI(nsACString * aSpec, char *aOriginCharset, nsIURI aBaseURI, nsIURI *_retval); | |
28 nsresult NewFileURI(nsIFile aFile, nsIURI *_retval); | |
29 nsresult NewChannelFromURI(nsIURI aURI, nsIChannel *_retval); | |
30 nsresult NewChannel(nsACString * aSpec, char *aOriginCharset, nsIURI aBaseURI, nsIChannel *_retval); | |
31 nsresult GetOffline(PRBool *aOffline); | |
32 nsresult SetOffline(PRBool aOffline); | |
33 nsresult AllowPort(PRInt32 aPort, char *aScheme, PRBool *_retval); | |
34 nsresult ExtractScheme(nsACString * urlString, nsACString * _retval); | |
35 | |
36 } | |
37 |