1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/events/nsIDOMCompositionEvent.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMCompositionEvent_h__
6 : #define __gen_nsIDOMCompositionEvent_h__
7 :
8 :
9 : #ifndef __gen_nsIDOMUIEvent_h__
10 : #include "nsIDOMUIEvent.h"
11 : #endif
12 :
13 : /* For IDL files that don't want to include root IDL files. */
14 : #ifndef NS_NO_VTABLE
15 : #define NS_NO_VTABLE
16 : #endif
17 :
18 : /* starting interface: nsIDOMCompositionEvent */
19 : #define NS_IDOMCOMPOSITIONEVENT_IID_STR "9244a692-2827-4f98-8335-fff958d046fc"
20 :
21 : #define NS_IDOMCOMPOSITIONEVENT_IID \
22 : {0x9244a692, 0x2827, 0x4f98, \
23 : { 0x83, 0x35, 0xff, 0xf9, 0x58, 0xd0, 0x46, 0xfc }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMCompositionEvent : public nsIDOMUIEvent {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCOMPOSITIONEVENT_IID)
29 :
30 : /* readonly attribute DOMString data; */
31 : NS_SCRIPTABLE NS_IMETHOD GetData(nsAString & aData) = 0;
32 :
33 : /* readonly attribute DOMString locale; */
34 : NS_SCRIPTABLE NS_IMETHOD GetLocale(nsAString & aLocale) = 0;
35 :
36 : /* void initCompositionEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMWindow viewArg, in DOMString dataArg, in DOMString localeArg); */
37 : NS_SCRIPTABLE NS_IMETHOD InitCompositionEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMWindow *viewArg, const nsAString & dataArg, const nsAString & localeArg) = 0;
38 :
39 : };
40 :
41 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCompositionEvent, NS_IDOMCOMPOSITIONEVENT_IID)
42 :
43 : /* Use this macro when declaring classes that implement this interface. */
44 : #define NS_DECL_NSIDOMCOMPOSITIONEVENT \
45 : NS_SCRIPTABLE NS_IMETHOD GetData(nsAString & aData); \
46 : NS_SCRIPTABLE NS_IMETHOD GetLocale(nsAString & aLocale); \
47 : NS_SCRIPTABLE NS_IMETHOD InitCompositionEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMWindow *viewArg, const nsAString & dataArg, const nsAString & localeArg);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIDOMCOMPOSITIONEVENT(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD GetData(nsAString & aData) { return _to GetData(aData); } \
52 : NS_SCRIPTABLE NS_IMETHOD GetLocale(nsAString & aLocale) { return _to GetLocale(aLocale); } \
53 : NS_SCRIPTABLE NS_IMETHOD InitCompositionEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMWindow *viewArg, const nsAString & dataArg, const nsAString & localeArg) { return _to InitCompositionEvent(typeArg, canBubbleArg, cancelableArg, viewArg, dataArg, localeArg); }
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
56 : #define NS_FORWARD_SAFE_NSIDOMCOMPOSITIONEVENT(_to) \
57 : NS_SCRIPTABLE NS_IMETHOD GetData(nsAString & aData) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetData(aData); } \
58 : NS_SCRIPTABLE NS_IMETHOD GetLocale(nsAString & aLocale) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocale(aLocale); } \
59 : NS_SCRIPTABLE NS_IMETHOD InitCompositionEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMWindow *viewArg, const nsAString & dataArg, const nsAString & localeArg) { return !_to ? NS_ERROR_NULL_POINTER : _to->InitCompositionEvent(typeArg, canBubbleArg, cancelableArg, viewArg, dataArg, localeArg); }
60 :
61 : #if 0
62 : /* Use the code below as a template for the implementation class for this interface. */
63 :
64 : /* Header file */
65 : class nsDOMCompositionEvent : public nsIDOMCompositionEvent
66 : {
67 : public:
68 : NS_DECL_ISUPPORTS
69 : NS_DECL_NSIDOMCOMPOSITIONEVENT
70 :
71 : nsDOMCompositionEvent();
72 :
73 : private:
74 : ~nsDOMCompositionEvent();
75 :
76 : protected:
77 : /* additional members */
78 : };
79 :
80 : /* Implementation file */
81 : NS_IMPL_ISUPPORTS1(nsDOMCompositionEvent, nsIDOMCompositionEvent)
82 :
83 : nsDOMCompositionEvent::nsDOMCompositionEvent()
84 : {
85 : /* member initializers and constructor code */
86 : }
87 :
88 : nsDOMCompositionEvent::~nsDOMCompositionEvent()
89 : {
90 : /* destructor code */
91 : }
92 :
93 : /* readonly attribute DOMString data; */
94 : NS_IMETHODIMP nsDOMCompositionEvent::GetData(nsAString & aData)
95 : {
96 : return NS_ERROR_NOT_IMPLEMENTED;
97 : }
98 :
99 : /* readonly attribute DOMString locale; */
100 : NS_IMETHODIMP nsDOMCompositionEvent::GetLocale(nsAString & aLocale)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* void initCompositionEvent (in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in nsIDOMWindow viewArg, in DOMString dataArg, in DOMString localeArg); */
106 : NS_IMETHODIMP nsDOMCompositionEvent::InitCompositionEvent(const nsAString & typeArg, bool canBubbleArg, bool cancelableArg, nsIDOMWindow *viewArg, const nsAString & dataArg, const nsAString & localeArg)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* End of implementation class template. */
112 : #endif
113 :
114 :
115 : #endif /* __gen_nsIDOMCompositionEvent_h__ */
|