|
Revision 327:b0d7eb5bd76c, 0.8 kB
(checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)
|
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
|
| Line | |
|---|
| 1 |
module dwt.internal.mozilla.nsIStreamListener; |
|---|
| 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.nsIRequestObserver; |
|---|
| 8 |
import dwt.internal.mozilla.nsIRequest; |
|---|
| 9 |
import dwt.internal.mozilla.nsIInputStream; |
|---|
| 10 |
|
|---|
| 11 |
const char[] NS_ISTREAMLISTENER_IID_STR = "1a637020-1482-11d3-9333-00104ba0fd40"; |
|---|
| 12 |
|
|---|
| 13 |
const nsIID NS_ISTREAMLISTENER_IID= |
|---|
| 14 |
{0x1a637020, 0x1482, 0x11d3, |
|---|
| 15 |
[ 0x93, 0x33, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40 ]}; |
|---|
| 16 |
|
|---|
| 17 |
interface nsIStreamListener : nsIRequestObserver { |
|---|
| 18 |
|
|---|
| 19 |
static const char[] IID_STR = NS_ISTREAMLISTENER_IID_STR; |
|---|
| 20 |
static const nsIID IID = NS_ISTREAMLISTENER_IID; |
|---|
| 21 |
|
|---|
| 22 |
extern(System): |
|---|
| 23 |
nsresult OnDataAvailable(nsIRequest aRequest, nsISupports aContext, nsIInputStream aInputStream, PRUint32 aOffset, PRUint32 aCount); |
|---|
| 24 |
|
|---|
| 25 |
} |
|---|