Commit 21836d21 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Add IID_IPropertyNotifySink and DIID_HTMLTextContainerEvents connection…

mshtml: Add IID_IPropertyNotifySink and DIID_HTMLTextContainerEvents connection points to HTMLBodyElement.
parent 982dce48
......@@ -41,6 +41,8 @@ typedef struct {
HTMLTextContainer text_container;
ConnectionPointContainer cp_container;
ConnectionPoint cp_propnotif;
ConnectionPoint cp_txtcontevents;
HTMLElement *element;
nsIDOMHTMLBodyElement *nsbody;
......@@ -493,7 +495,11 @@ void HTMLBodyElement_Create(HTMLElement *element)
HTMLTextContainer_Init(&ret->text_container, element);
ConnectionPointContainer_Init(&ret->cp_container, NULL, (IUnknown*)HTMLBODY(ret));
ConnectionPoint_Init(&ret->cp_propnotif, CONPTCONT(&ret->cp_container),
&IID_IPropertyNotifySink, NULL);
ConnectionPoint_Init(&ret->cp_txtcontevents, CONPTCONT(&ret->cp_container),
&DIID_HTMLTextContainerEvents, &ret->cp_propnotif);
ConnectionPointContainer_Init(&ret->cp_container, &ret->cp_propnotif, (IUnknown*)HTMLBODY(ret));
nsres = nsIDOMHTMLElement_QueryInterface(element->nselem, &IID_nsIDOMHTMLBodyElement,
(void**)&ret->nsbody);
......
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