Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla.old/nsIURIContentListener.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.nsIURIContentListener; | |
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.nsIStreamListener; | |
9 import dwt.internal.mozilla.nsIURI; | |
10 | |
11 const char[] NS_IURICONTENTLISTENER_IID_STR = "94928ab3-8b63-11d3-989d-001083010e9b"; | |
12 | |
13 const nsIID NS_IURICONTENTLISTENER_IID= | |
14 {0x94928ab3, 0x8b63, 0x11d3, | |
15 [ 0x98, 0x9d, 0x00, 0x10, 0x83, 0x01, 0x0e, 0x9b ]}; | |
16 | |
17 extern(System) | |
18 | |
19 interface nsIURIContentListener : nsISupports { | |
20 | |
21 static const char[] IID_STR = NS_IURICONTENTLISTENER_IID_STR; | |
22 static const nsIID IID = NS_IURICONTENTLISTENER_IID; | |
23 | |
24 nsresult OnStartURIOpen(nsIURI aURI, PRBool *_retval); | |
25 nsresult DoContent(char *aContentType, PRBool aIsContentPreferred, nsIRequest aRequest, nsIStreamListener *aContentHandler, PRBool *_retval); | |
26 nsresult IsPreferred(char *aContentType, char **aDesiredContentType, PRBool *_retval); | |
27 nsresult CanHandleContent(char *aContentType, PRBool aIsContentPreferred, char **aDesiredContentType, PRBool *_retval); | |
28 nsresult GetLoadCookie(nsISupports *aLoadCookie); | |
29 nsresult SetLoadCookie(nsISupports aLoadCookie); | |
30 nsresult GetParentContentListener(nsIURIContentListener *aParentContentListener); | |
31 nsresult SetParentContentListener(nsIURIContentListener aParentContentListener); | |
32 | |
33 } | |
34 |