1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/storage/nsIDOMStorageEventObsolete.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMStorageEventObsolete_h__
6 : #define __gen_nsIDOMStorageEventObsolete_h__
7 :
8 :
9 : #ifndef __gen_domstubs_h__
10 : #include "domstubs.h"
11 : #endif
12 :
13 : #ifndef __gen_nsIDOMEvent_h__
14 : #include "nsIDOMEvent.h"
15 : #endif
16 :
17 : /* For IDL files that don't want to include root IDL files. */
18 : #ifndef NS_NO_VTABLE
19 : #define NS_NO_VTABLE
20 : #endif
21 :
22 : /* starting interface: nsIDOMStorageEventObsolete */
23 : #define NS_IDOMSTORAGEEVENTOBSOLETE_IID_STR "2b3b40fe-4734-4661-b7ff-dc555215db4e"
24 :
25 : #define NS_IDOMSTORAGEEVENTOBSOLETE_IID \
26 : {0x2b3b40fe, 0x4734, 0x4661, \
27 : { 0xb7, 0xff, 0xdc, 0x55, 0x52, 0x15, 0xdb, 0x4e }}
28 :
29 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMStorageEventObsolete : public nsIDOMEvent {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSTORAGEEVENTOBSOLETE_IID)
33 :
34 : /* readonly attribute DOMString domain; */
35 : NS_SCRIPTABLE NS_IMETHOD GetDomain(nsAString & aDomain) = 0;
36 :
37 : /* void initStorageEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString domainArg); */
38 : NS_SCRIPTABLE NS_IMETHOD InitStorageEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & domainArg) = 0;
39 :
40 : };
41 :
42 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMStorageEventObsolete, NS_IDOMSTORAGEEVENTOBSOLETE_IID)
43 :
44 : /* Use this macro when declaring classes that implement this interface. */
45 : #define NS_DECL_NSIDOMSTORAGEEVENTOBSOLETE \
46 : NS_SCRIPTABLE NS_IMETHOD GetDomain(nsAString & aDomain); \
47 : NS_SCRIPTABLE NS_IMETHOD InitStorageEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & domainArg);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIDOMSTORAGEEVENTOBSOLETE(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD GetDomain(nsAString & aDomain) { return _to GetDomain(aDomain); } \
52 : NS_SCRIPTABLE NS_IMETHOD InitStorageEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & domainArg) { return _to InitStorageEvent(typeArg, canBubbleArg, cancelableArg, domainArg); }
53 :
54 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
55 : #define NS_FORWARD_SAFE_NSIDOMSTORAGEEVENTOBSOLETE(_to) \
56 : NS_SCRIPTABLE NS_IMETHOD GetDomain(nsAString & aDomain) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDomain(aDomain); } \
57 : NS_SCRIPTABLE NS_IMETHOD InitStorageEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & domainArg) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitStorageEvent(typeArg, canBubbleArg, cancelableArg, domainArg); }
58 :
59 : #if 0
60 : /* Use the code below as a template for the implementation class for this interface. */
61 :
62 : /* Header file */
63 : class nsDOMStorageEventObsolete : public nsIDOMStorageEventObsolete
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIDOMSTORAGEEVENTOBSOLETE
68 :
69 : nsDOMStorageEventObsolete();
70 :
71 : private:
72 : ~nsDOMStorageEventObsolete();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS1(nsDOMStorageEventObsolete, nsIDOMStorageEventObsolete)
80 :
81 : nsDOMStorageEventObsolete::nsDOMStorageEventObsolete()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsDOMStorageEventObsolete::~nsDOMStorageEventObsolete()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* readonly attribute DOMString domain; */
92 : NS_IMETHODIMP nsDOMStorageEventObsolete::GetDomain(nsAString & aDomain)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 :
97 : /* void initStorageEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString domainArg); */
98 : NS_IMETHODIMP nsDOMStorageEventObsolete::InitStorageEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, const nsAString & domainArg)
99 : {
100 : return NS_ERROR_NOT_IMPLEMENTED;
101 : }
102 :
103 : /* End of implementation class template. */
104 : #endif
105 :
106 :
107 : #endif /* __gen_nsIDOMStorageEventObsolete_h__ */
|