Mercurial > projects > dwt-win
diff dwt/internal/mozilla/nsIRequestObserver.d @ 327:b0d7eb5bd76c
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 17:45:10 -0800 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dwt/internal/mozilla/nsIRequestObserver.d Fri Jan 02 17:45:10 2009 -0800 @@ -0,0 +1,25 @@ +module dwt.internal.mozilla.nsIRequestObserver; + +import dwt.internal.mozilla.Common; +import dwt.internal.mozilla.nsID; +import dwt.internal.mozilla.nsISupports; + +import dwt.internal.mozilla.nsIRequest; + +const char[] NS_IREQUESTOBSERVER_IID_STR = "fd91e2e0-1481-11d3-9333-00104ba0fd40"; + +const nsIID NS_IREQUESTOBSERVER_IID= + {0xfd91e2e0, 0x1481, 0x11d3, + [ 0x93, 0x33, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40 ]}; + +interface nsIRequestObserver : nsISupports { + + static const char[] IID_STR = NS_IREQUESTOBSERVER_IID_STR; + static const nsIID IID = NS_IREQUESTOBSERVER_IID; + +extern(System): + nsresult OnStartRequest(nsIRequest aRequest, nsISupports aContext); + nsresult OnStopRequest(nsIRequest aRequest, nsISupports aContext, nsresult aStatusCode); + +} +