Mercurial > projects > dwt-linux
view dwt/internal/mozilla/nsILoadGroup.d @ 272:dd63eb078d7a
xpcom interfaces necessary for browser code -- source adapted from dxpcom project; these modules still need to be tested and then integrated into dwt browser.
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Fri, 18 Jul 2008 05:32:53 -0700 |
parents | |
children | 942da4b6558a |
line wrap: on
line source
module dwt.internal.mozilla.nsILoadGroup; import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsISupports; import dwt.internal.mozilla.nsIRequest; import dwt.internal.mozilla.nsISimpleEnumerator; import dwt.internal.mozilla.nsIRequestObserver; import dwt.internal.mozilla.nsIInterfaceRequestor; const char[] NS_ILOADGROUP_IID_STR = "3de0a31c-feaf-400f-9f1e-4ef71f8b20cc"; const nsIID NS_ILOADGROUP_IID= {0x3de0a31c, 0xfeaf, 0x400f, [ 0x9f, 0x1e, 0x4e, 0xf7, 0x1f, 0x8b, 0x20, 0xcc ]}; extern(System) interface nsILoadGroup : nsIRequest { static const char[] IID_STR = NS_ILOADGROUP_IID_STR; static const nsIID IID = NS_ILOADGROUP_IID; nsresult GetGroupObserver(nsIRequestObserver *aGroupObserver); nsresult SetGroupObserver(nsIRequestObserver aGroupObserver); nsresult GetDefaultLoadRequest(nsIRequest *aDefaultLoadRequest); nsresult SetDefaultLoadRequest(nsIRequest aDefaultLoadRequest); nsresult AddRequest(nsIRequest aRequest, nsISupports aContext); nsresult RemoveRequest(nsIRequest aRequest, nsISupports aContext, nsresult aStatus); nsresult GetRequests(nsISimpleEnumerator *aRequests); nsresult GetActiveCount(PRUint32 *aActiveCount); nsresult GetNotificationCallbacks(nsIInterfaceRequestor *aNotificationCallbacks); nsresult SetNotificationCallbacks(nsIInterfaceRequestor aNotificationCallbacks); }