Jacek Caban : mshtml:
Add IID_IPropertyNotifySink and DIID_HTMLTextContainerEvents connection
points to HTMLBodyElement .
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Jun 29 08:14:46 CDT 2007
Module: wine
Branch: master
Commit: 21836d21cfa6b8f23b4ea86d9d73482de67bebd6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=21836d21cfa6b8f23b4ea86d9d73482de67bebd6
Author: Jacek Caban <jacek at codeweavers.com>
Date: Fri Jun 29 02:58:42 2007 +0200
mshtml: Add IID_IPropertyNotifySink and DIID_HTMLTextContainerEvents connection points to HTMLBodyElement.
---
dlls/mshtml/htmlbody.c | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/dlls/mshtml/htmlbody.c b/dlls/mshtml/htmlbody.c
index c06dcc5..40d8983 100644
--- a/dlls/mshtml/htmlbody.c
+++ b/dlls/mshtml/htmlbody.c
@@ -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);
More information about the wine-cvs
mailing list