mshtml.idl: Added HTMLStyle coclass declaration.
authorJacek Caban <jacek@codeweavers.com>
Tue, 30 Dec 2008 20:23:56 +0000 (21:23 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 31 Dec 2008 11:27:52 +0000 (12:27 +0100)
dlls/mshtml/htmlstyle.h
include/mshtml.idl

index 5fe1f2484999ca1e591a988602fff6c29f18661c..2dedb03dc710931d2e3f39d1b829ba5f01222d24 100644 (file)
@@ -16,7 +16,7 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-typedef struct {
+struct HTMLStyle {
     DispatchEx dispex;
     const IHTMLStyleVtbl    *lpHTMLStyleVtbl;
     const IHTMLStyle2Vtbl   *lpHTMLStyle2Vtbl;
@@ -24,7 +24,7 @@ typedef struct {
     LONG ref;
 
     nsIDOMCSSStyleDeclaration *nsstyle;
-} HTMLStyle;
+};
 
 #define HTMLSTYLE(x)     ((IHTMLStyle*)                   &(x)->lpHTMLStyleVtbl)
 #define HTMLSTYLE2(x)    ((IHTMLStyle2*)                  &(x)->lpHTMLStyle2Vtbl)
index eabf8673fb5433f1c425b2faa1cd70573213905c..be99f3c8441bcc72a1a6479a022cab8c539d5079 100644 (file)
@@ -2245,6 +2245,20 @@ methods:
     VARIANT minHeight();
 }
 
+[
+    noncreatable,
+    uuid(3050f285-98b5-11cf-bb82-00aa00bdce0b)
+]
+coclass HTMLStyle
+{
+    [default] dispinterface DispHTMLStyle;
+    interface IHTMLStyle;
+    interface IHTMLStyle2;
+    /* interface IHTMLStyle3; */
+    /* interface IHTMLStyle4; */
+    /* interface IHTMLStyle5; */
+}
+
 /*****************************************************************************
  *    IHTMLRenderStyle interface
  */