Commit abdec32f authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml.idl: Added HTMLXMLHttpRequest coclass declaration.

parent f40b5448
......@@ -92,20 +92,18 @@ static HRESULT return_nscstr(nsresult nsres, nsACString *nscstr, BSTR *p)
return S_OK;
}
typedef struct XMLHttpReqEventListener XMLHttpReqEventListener;
typedef struct {
nsIDOMEventListener nsIDOMEventListener_iface;
LONG ref;
HTMLXMLHttpRequest *xhr;
} XMLHttpReqEventListener;
struct HTMLXMLHttpRequest {
EventTarget event_target;
IHTMLXMLHttpRequest IHTMLXMLHttpRequest_iface;
LONG ref;
nsIXMLHttpRequest *nsxhr;
XMLHttpReqEventListener *event_listener;
} HTMLXMLHttpRequest;
struct XMLHttpReqEventListener {
nsIDOMEventListener nsIDOMEventListener_iface;
LONG ref;
HTMLXMLHttpRequest *xhr;
};
static void detach_xhr_event_listener(XMLHttpReqEventListener *event_listener)
......
......@@ -9134,6 +9134,23 @@ methods:
}
/*****************************************************************************
* HTMLXMLHttpRequest
*/
[
noncreatable,
uuid(3051040b-98b5-11cf-bb82-00aa00bdce0b)
]
coclass HTMLXMLHttpRequest
{
[default] dispinterface DispHTMLXMLHttpRequest;
/* [source, default] dispinterface HTMLXMLHttpRequestEvents; */
interface IHTMLXMLHttpRequest;
interface IHTMLXMLHttpRequest2;
interface IHTMLDOMConstructor;
interface IEventTarget;
}
/*****************************************************************************
* IHTMLControlElement interface
*/
[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment