| 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 |
interface nsIURIContentListener : nsISupports { |
|---|
| 18 |
|
|---|
| 19 |
static const char[] IID_STR = NS_IURICONTENTLISTENER_IID_STR; |
|---|
| 20 |
static const nsIID IID = NS_IURICONTENTLISTENER_IID; |
|---|
| 21 |
|
|---|
| 22 |
extern(System): |
|---|
| 23 |
nsresult OnStartURIOpen(nsIURI aURI, PRBool *_retval); |
|---|
| 24 |
nsresult DoContent(char *aContentType, PRBool aIsContentPreferred, nsIRequest aRequest, nsIStreamListener *aContentHandler, PRBool *_retval); |
|---|
| 25 |
nsresult IsPreferred(char *aContentType, char **aDesiredContentType, PRBool *_retval); |
|---|
| 26 |
nsresult CanHandleContent(char *aContentType, PRBool aIsContentPreferred, char **aDesiredContentType, PRBool *_retval); |
|---|
| 27 |
nsresult GetLoadCookie(nsISupports *aLoadCookie); |
|---|
| 28 |
nsresult SetLoadCookie(nsISupports aLoadCookie); |
|---|
| 29 |
nsresult GetParentContentListener(nsIURIContentListener *aParentContentListener); |
|---|
| 30 |
nsresult SetParentContentListener(nsIURIContentListener aParentContentListener); |
|---|
| 31 |
|
|---|
| 32 |
} |
|---|