Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIIOService.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6dd524f61e62 |
---|---|
1 module org.eclipse.swt.internal.mozilla.nsIIOService; | |
2 | |
3 import org.eclipse.swt.internal.mozilla.Common; | |
4 import org.eclipse.swt.internal.mozilla.nsID; | |
5 import org.eclipse.swt.internal.mozilla.nsISupports; | |
6 import org.eclipse.swt.internal.mozilla.nsIProtocolHandler; | |
7 import org.eclipse.swt.internal.mozilla.nsIChannel; | |
8 import org.eclipse.swt.internal.mozilla.nsIURI; | |
9 import org.eclipse.swt.internal.mozilla.nsIFile; | |
10 import org.eclipse.swt.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 |