mshtml.idl: Added helper macros for element coclasses and use it where appropriate.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9141c97d94
commit
d653086102
|
@ -6912,6 +6912,19 @@ interface IHTMLDatabinding : IDispatch
|
||||||
[propget, id(DISPID_IHTMLDATABINDING_DATAFORMATAS)] \
|
[propget, id(DISPID_IHTMLDATABINDING_DATAFORMATAS)] \
|
||||||
BSTR dataFormatAs()
|
BSTR dataFormatAs()
|
||||||
|
|
||||||
|
#define WINE_HTMLELEMENT_INTERFACES \
|
||||||
|
interface IHTMLElement; \
|
||||||
|
interface IHTMLElement2; \
|
||||||
|
interface IHTMLElement3; \
|
||||||
|
interface IHTMLElement4; \
|
||||||
|
interface IHTMLUniqueName; \
|
||||||
|
interface IHTMLDOMNode; \
|
||||||
|
interface IHTMLDOMNode2; \
|
||||||
|
/* interface IHTMLElement5; */ \
|
||||||
|
interface IHTMLElement6; \
|
||||||
|
interface IHTMLDOMConstructor \
|
||||||
|
/* interface IHTMLElement7 */
|
||||||
|
|
||||||
#define WINE_HTMLELEMENT_DISPINTERFACE_DECL \
|
#define WINE_HTMLELEMENT_DISPINTERFACE_DECL \
|
||||||
WINE_IHTMLELEMENT_DISPINTERFACE_DECL; \
|
WINE_IHTMLELEMENT_DISPINTERFACE_DECL; \
|
||||||
WINE_IHTMLELEMENT2_DISPINTERFACE_DECL; \
|
WINE_IHTMLELEMENT2_DISPINTERFACE_DECL; \
|
||||||
|
@ -6923,6 +6936,21 @@ interface IHTMLDatabinding : IDispatch
|
||||||
WINE_IHTMLELEMENT6_DISPINTERFACE_DECL; \
|
WINE_IHTMLELEMENT6_DISPINTERFACE_DECL; \
|
||||||
WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL
|
WINE_IHTMLDOMCONSTRUCTOR_DISPINTERFACE_DECL
|
||||||
|
|
||||||
|
#define WINE_HTMLDATAELEMENT_INTERFACES \
|
||||||
|
interface IHTMLElement; \
|
||||||
|
interface IHTMLElement2; \
|
||||||
|
interface IHTMLElement3; \
|
||||||
|
interface IHTMLElement4; \
|
||||||
|
interface IHTMLUniqueName; \
|
||||||
|
interface IHTMLDOMNode; \
|
||||||
|
interface IHTMLDOMNode2; \
|
||||||
|
interface IHTMLDatabinding; \
|
||||||
|
/* interface IHTMLElement5; */ \
|
||||||
|
interface IHTMLElement6; \
|
||||||
|
interface IElementSelector; \
|
||||||
|
interface IHTMLDOMConstructor \
|
||||||
|
/* interface IHTMLElement7 */
|
||||||
|
|
||||||
#define WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL \
|
#define WINE_HTMLDATAELEMENT_DISPINTERFACE_DECL \
|
||||||
WINE_IHTMLELEMENT_DISPINTERFACE_DECL; \
|
WINE_IHTMLELEMENT_DISPINTERFACE_DECL; \
|
||||||
WINE_IHTMLELEMENT2_DISPINTERFACE_DECL; \
|
WINE_IHTMLELEMENT2_DISPINTERFACE_DECL; \
|
||||||
|
@ -8474,15 +8502,12 @@ coclass HTMLFormElement
|
||||||
[default] dispinterface DispHTMLFormElement;
|
[default] dispinterface DispHTMLFormElement;
|
||||||
[source, default] dispinterface HTMLFormElementEvents;
|
[source, default] dispinterface HTMLFormElementEvents;
|
||||||
[source] dispinterface HTMLFormElementEvents2;
|
[source] dispinterface HTMLFormElementEvents2;
|
||||||
interface IHTMLElement;
|
WINE_HTMLELEMENT_INTERFACES;
|
||||||
interface IHTMLElement2;
|
interface IHTMLFormElement;
|
||||||
interface IHTMLElement3;
|
/* interface IHTMLFormElement2; */
|
||||||
interface IHTMLElement4;
|
/* interface IHTMLFormElement3; */
|
||||||
interface IHTMLUniqueName;
|
/* interface IHTMLSubmitData; */
|
||||||
interface IHTMLDOMNode;
|
/* interface IHTMLFormElement4; */
|
||||||
interface IHTMLDOMNode2;
|
|
||||||
interface IHTMLDOMConstructor;
|
|
||||||
interface IHTMLFormElement;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
@ -9394,17 +9419,14 @@ coclass HTMLBody
|
||||||
[default] dispinterface DispHTMLBody;
|
[default] dispinterface DispHTMLBody;
|
||||||
[source, default] dispinterface HTMLTextContainerEvents;
|
[source, default] dispinterface HTMLTextContainerEvents;
|
||||||
[source] dispinterface HTMLTextContainerEvents2;
|
[source] dispinterface HTMLTextContainerEvents2;
|
||||||
interface IHTMLElement;
|
WINE_HTMLELEMENT_INTERFACES;
|
||||||
interface IHTMLElement2;
|
interface IHTMLControlElement;
|
||||||
interface IHTMLElement3;
|
interface IHTMLTextContainer;
|
||||||
interface IHTMLElement4;
|
interface IHTMLBodyElement;
|
||||||
interface IHTMLUniqueName;
|
interface IHTMLBodyElement2;
|
||||||
interface IHTMLDOMNode;
|
/* interface IHTMLBodyElement3; */
|
||||||
interface IHTMLDOMNode2;
|
/* interface IHTMLBodyElement4; */
|
||||||
interface IHTMLControlElement;
|
/* interface IHTMLBodyElement5; */
|
||||||
interface IHTMLTextContainer;
|
|
||||||
interface IHTMLBodyElement;
|
|
||||||
interface IHTMLBodyElement2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
@ -10489,16 +10511,10 @@ coclass HTMLOptionElement
|
||||||
[default] dispinterface DispHTMLOptionElement;
|
[default] dispinterface DispHTMLOptionElement;
|
||||||
[source, default] dispinterface HTMLElementEvents;
|
[source, default] dispinterface HTMLElementEvents;
|
||||||
[source] dispinterface HTMLElementEvents2;
|
[source] dispinterface HTMLElementEvents2;
|
||||||
interface IHTMLElement;
|
WINE_HTMLDATAELEMENT_INTERFACES;
|
||||||
interface IHTMLElement2;
|
interface IHTMLOptionElement;
|
||||||
interface IHTMLElement3;
|
interface IHTMLOptionElement3;
|
||||||
interface IHTMLElement4;
|
/* interface IHTMLOptionElement4; */
|
||||||
interface IHTMLUniqueName;
|
|
||||||
interface IHTMLDOMNode;
|
|
||||||
interface IHTMLDOMNode2;
|
|
||||||
interface IHTMLDatabinding;
|
|
||||||
interface IHTMLOptionElement;
|
|
||||||
interface IHTMLOptionElement3;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
@ -16884,15 +16900,10 @@ coclass HTMLCommentElement
|
||||||
[default] dispinterface DispHTMLCommentElement;
|
[default] dispinterface DispHTMLCommentElement;
|
||||||
[source, default] dispinterface HTMLElementEvents;
|
[source, default] dispinterface HTMLElementEvents;
|
||||||
[source] dispinterface HTMLElementEvents2;
|
[source] dispinterface HTMLElementEvents2;
|
||||||
interface IHTMLElement;
|
WINE_HTMLELEMENT_INTERFACES;
|
||||||
interface IHTMLElement2;
|
interface IHTMLCommentElement;
|
||||||
interface IHTMLElement3;
|
interface IHTMLCommentElement2;
|
||||||
interface IHTMLElement4;
|
/* interface IHTMLCommentElement3; */
|
||||||
interface IHTMLUniqueName;
|
|
||||||
interface IHTMLDOMNode;
|
|
||||||
interface IHTMLDOMNode2;
|
|
||||||
interface IHTMLCommentElement;
|
|
||||||
interface IHTMLCommentElement2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
|
@ -17525,18 +17536,12 @@ coclass HTMLTable
|
||||||
[default] dispinterface DispHTMLTable;
|
[default] dispinterface DispHTMLTable;
|
||||||
[source, default] dispinterface HTMLTableEvents;
|
[source, default] dispinterface HTMLTableEvents;
|
||||||
[source] dispinterface HTMLTableEvents2;
|
[source] dispinterface HTMLTableEvents2;
|
||||||
interface IHTMLElement;
|
WINE_HTMLDATAELEMENT_INTERFACES;
|
||||||
interface IHTMLElement2;
|
interface IHTMLControlElement;
|
||||||
interface IHTMLElement3;
|
interface IHTMLTable;
|
||||||
interface IHTMLElement4;
|
interface IHTMLTable2;
|
||||||
interface IHTMLUniqueName;
|
interface IHTMLTable3;
|
||||||
interface IHTMLDOMNode;
|
/* interface IHTMLTable4; */
|
||||||
interface IHTMLDOMNode2;
|
|
||||||
interface IHTMLDatabinding;
|
|
||||||
interface IHTMLControlElement;
|
|
||||||
interface IHTMLTable;
|
|
||||||
interface IHTMLTable2;
|
|
||||||
interface IHTMLTable3;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in New Issue