Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIChannel.d @ 291:b0bd1789106b
fix: added wrong directory :(
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 18:29:44 -0700 |
parents | dd63eb078d7a |
children | 942da4b6558a |
comparison
equal
deleted
inserted
replaced
290:4c1340edee0d | 291:b0bd1789106b |
---|---|
1 module dwt.internal.mozilla.nsIChannel; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsISupports; | |
6 | |
7 import dwt.internal.mozilla.nsIRequest; | |
8 import dwt.internal.mozilla.nsIURI; | |
9 import dwt.internal.mozilla.nsIInterfaceRequestor; | |
10 import dwt.internal.mozilla.nsIInputStream; | |
11 import dwt.internal.mozilla.nsIStreamListener; | |
12 import dwt.internal.mozilla.nsStringAPI; | |
13 | |
14 const char[] NS_ICHANNEL_IID_STR = "c63a055a-a676-4e71-bf3c-6cfa11082018"; | |
15 const nsIID NS_ICHANNEL_IID= | |
16 {0xc63a055a, 0xa676, 0x4e71, | |
17 [ 0xbf, 0x3c, 0x6c, 0xfa, 0x11, 0x08, 0x20, 0x18 ]}; | |
18 | |
19 extern(System) | |
20 | |
21 interface nsIChannel : nsIRequest { | |
22 | |
23 static const char[] IID_STR = NS_ICHANNEL_IID_STR; | |
24 static const nsIID IID = NS_ICHANNEL_IID; | |
25 | |
26 nsresult GetOriginalURI(nsIURI *aOriginalURI); | |
27 nsresult SetOriginalURI(nsIURI aOriginalURI); | |
28 nsresult GetURI(nsIURI *aURI); | |
29 nsresult GetOwner(nsISupports *aOwner); | |
30 nsresult SetOwner(nsISupports aOwner); | |
31 | |
32 nsresult GetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks); | |
33 nsresult SetNotificationCallbacks(nsIInterfaceRequestor aNotificationCallbacks); | |
34 nsresult GetSecurityInfo(nsISupports *aSecurityInfo); | |
35 nsresult GetContentType(nsACString * aContentType); | |
36 nsresult SetContentType(nsACString * aContentType); | |
37 nsresult GetContentCharset(nsACString * aContentCharset); | |
38 nsresult SetContentCharset(nsACString * aContentCharset); | |
39 nsresult GetContentLength(PRInt32 *aContentLength); | |
40 nsresult SetContentLength(PRInt32 aContentLength); | |
41 nsresult Open(nsIInputStream *_retval); | |
42 nsresult AsyncOpen(nsIStreamListener aListener, nsISupports aContext); | |
43 | |
44 enum { LOAD_DOCUMENT_URI = 65536U }; | |
45 enum { LOAD_RETARGETED_DOCUMENT_URI = 131072U }; | |
46 enum { LOAD_REPLACE = 262144U }; | |
47 enum { LOAD_INITIAL_DOCUMENT_URI = 524288U }; | |
48 enum { LOAD_TARGETED = 1048576U }; | |
49 enum { LOAD_CALL_CONTENT_SNIFFERS = 2097152U }; | |
50 } | |
51 |