Commit f9bda73b authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

include: Add IDOMStorageEvent and DispDOMStorageEvent interfaces.

parent b03c2d95
......@@ -4716,6 +4716,14 @@
#define DISPID_IDOMPROGRESSEVENT_TOTAL DISPID_DOMPROGRESSEVENT+3
#define DISPID_IDOMPROGRESSEVENT_INITPROGRESSEVENT DISPID_DOMPROGRESSEVENT+4
/* IDOMStorageEvent */
#define DISPID_IDOMSTORAGEEVENT_KEY DISPID_DOMSTORAGEEVENT+1
#define DISPID_IDOMSTORAGEEVENT_OLDVALUE DISPID_DOMSTORAGEEVENT+2
#define DISPID_IDOMSTORAGEEVENT_NEWVALUE DISPID_DOMSTORAGEEVENT+3
#define DISPID_IDOMSTORAGEEVENT_URL DISPID_DOMSTORAGEEVENT+4
#define DISPID_IDOMSTORAGEEVENT_STORAGEAREA DISPID_DOMSTORAGEEVENT+5
#define DISPID_IDOMSTORAGEEVENT_INITSTORAGEEVENT DISPID_DOMSTORAGEEVENT+6
/* IHTMLControlElement */
#define DISPID_IHTMLCONTROLELEMENT_TABINDEX STDPROPID_XOBJ_TABINDEX
#define DISPID_IHTMLCONTROLELEMENT_FOCUS (DISPID_SITE+0)
......
......@@ -28662,6 +28662,84 @@ methods:
};
/*****************************************************************************
* IDOMStorageEvent interface
*/
[
odl,
oleautomation,
dual,
uuid(30510722-98b5-11cf-bb82-00aa00bdce0b)
]
interface IDOMStorageEvent : IDispatch
{
[propget, id(DISPID_IDOMSTORAGEEVENT_KEY)]
HRESULT key([out, retval] BSTR *p);
[propget, id(DISPID_IDOMSTORAGEEVENT_OLDVALUE)]
HRESULT oldValue([out, retval] BSTR *p);
[propget, id(DISPID_IDOMSTORAGEEVENT_NEWVALUE)]
HRESULT newValue([out, retval] BSTR *p);
[propget, id(DISPID_IDOMSTORAGEEVENT_URL)]
HRESULT url([out, retval] BSTR *p);
[propget, id(DISPID_IDOMSTORAGEEVENT_STORAGEAREA)]
HRESULT storageArea([out, retval] IHTMLStorage **p);
[id(DISPID_IDOMSTORAGEEVENT_INITSTORAGEEVENT)]
HRESULT initStorageEvent(
[in] BSTR eventType,
[in] VARIANT_BOOL canBubble,
[in] VARIANT_BOOL cancelable,
[in] BSTR keyArg,
[in] BSTR oldValueArg,
[in] BSTR newValueArg,
[in] BSTR urlArg,
[in] IHTMLStorage *storageAreaArg);
};
/*****************************************************************************
* DispDOMStorageEvent dispinterface
*/
[
hidden,
uuid(30590093-98b5-11cf-bb82-00aa00bdce0b)
]
dispinterface DispDOMStorageEvent
{
properties:
methods:
WINE_IDOMEVENT_DISPINTERFACE_DECL;
[propget, id(DISPID_IDOMSTORAGEEVENT_KEY)]
BSTR key();
[propget, id(DISPID_IDOMSTORAGEEVENT_OLDVALUE)]
BSTR oldValue();
[propget, id(DISPID_IDOMSTORAGEEVENT_NEWVALUE)]
BSTR newValue();
[propget, id(DISPID_IDOMSTORAGEEVENT_URL)]
BSTR url();
[propget, id(DISPID_IDOMSTORAGEEVENT_STORAGEAREA)]
IHTMLStorage *storageArea();
[id(DISPID_IDOMSTORAGEEVENT_INITSTORAGEEVENT)]
void initStorageEvent(
[in] BSTR eventType,
[in] VARIANT_BOOL canBubble,
[in] VARIANT_BOOL cancelable,
[in] BSTR keyArg,
[in] BSTR oldValueArg,
[in] BSTR newValueArg,
[in] BSTR urlArg,
[in] IHTMLStorage *storageAreaArg);
};
/*****************************************************************************
* IHTMLNamespaceCollection interface
*/
[
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