Jacek Caban : mshtml.idl: Added HTMLStyleElement coclass declaration.

Alexandre Julliard julliard at winehq.org
Thu Apr 20 16:41:35 CDT 2017


Module: wine
Branch: master
Commit: 91c568bc6dbdde09e4137ca5e6eee558bda9969e
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=91c568bc6dbdde09e4137ca5e6eee558bda9969e

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Apr 20 16:23:45 2017 +0200

mshtml.idl: Added HTMLStyleElement coclass declaration.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/mshtml/htmlstyleelem.c |  4 ++--
 include/mshtml.idl          | 17 +++++++++++++++++
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/dlls/mshtml/htmlstyleelem.c b/dlls/mshtml/htmlstyleelem.c
index 96c394c..f516273 100644
--- a/dlls/mshtml/htmlstyleelem.c
+++ b/dlls/mshtml/htmlstyleelem.c
@@ -33,14 +33,14 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
 
-typedef struct {
+struct HTMLStyleElement {
     HTMLElement element;
 
     IHTMLStyleElement IHTMLStyleElement_iface;
 
     nsIDOMHTMLStyleElement *nsstyle;
     IHTMLStyleSheet *style_sheet;
-} HTMLStyleElement;
+};
 
 static inline HTMLStyleElement *impl_from_IHTMLStyleElement(IHTMLStyleElement *iface)
 {
diff --git a/include/mshtml.idl b/include/mshtml.idl
index 1b4ba2a..a9d6502 100644
--- a/include/mshtml.idl
+++ b/include/mshtml.idl
@@ -19721,6 +19721,23 @@ methods:
 }
 
 /*****************************************************************************
+ *    HTMLStyleElement coclass
+ */
+[
+    noncreatable,
+    uuid(3050f37d-98b5-11cf-bb82-00aa00bdce0b)
+]
+coclass HTMLStyleElement
+{
+    [default]         dispinterface DispHTMLStyleElement;
+ /* [source, default] dispinterface HTMLStyleElementEvents; */
+ /* [source]          dispinterface HTMLStyleElementEvents2; */
+    WINE_HTMLELEMENT_INTERFACES;
+    interface IHTMLStyleElement;
+ /* interface IHTMLStyleElement2; */
+}
+
+/*****************************************************************************
  *    IHTMLStorage interface
  */
 [




More information about the wine-cvs mailing list