1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/css/nsIDOMRect.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMRect_h__
6 : #define __gen_nsIDOMRect_h__
7 :
8 :
9 : #ifndef __gen_domstubs_h__
10 : #include "domstubs.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: nsIDOMRect */
19 : #define NS_IDOMRECT_IID_STR "71735f62-ac5c-4236-9a1f-5ffb280d531c"
20 :
21 : #define NS_IDOMRECT_IID \
22 : {0x71735f62, 0xac5c, 0x4236, \
23 : { 0x9a, 0x1f, 0x5f, 0xfb, 0x28, 0x0d, 0x53, 0x1c }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMRect : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMRECT_IID)
29 :
30 : /* readonly attribute nsIDOMCSSPrimitiveValue top; */
31 : NS_SCRIPTABLE NS_IMETHOD GetTop(nsIDOMCSSPrimitiveValue * *aTop) = 0;
32 :
33 : /* readonly attribute nsIDOMCSSPrimitiveValue right; */
34 : NS_SCRIPTABLE NS_IMETHOD GetRight(nsIDOMCSSPrimitiveValue * *aRight) = 0;
35 :
36 : /* readonly attribute nsIDOMCSSPrimitiveValue bottom; */
37 : NS_SCRIPTABLE NS_IMETHOD GetBottom(nsIDOMCSSPrimitiveValue * *aBottom) = 0;
38 :
39 : /* readonly attribute nsIDOMCSSPrimitiveValue left; */
40 : NS_SCRIPTABLE NS_IMETHOD GetLeft(nsIDOMCSSPrimitiveValue * *aLeft) = 0;
41 :
42 : };
43 :
44 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMRect, NS_IDOMRECT_IID)
45 :
46 : /* Use this macro when declaring classes that implement this interface. */
47 : #define NS_DECL_NSIDOMRECT \
48 : NS_SCRIPTABLE NS_IMETHOD GetTop(nsIDOMCSSPrimitiveValue * *aTop); \
49 : NS_SCRIPTABLE NS_IMETHOD GetRight(nsIDOMCSSPrimitiveValue * *aRight); \
50 : NS_SCRIPTABLE NS_IMETHOD GetBottom(nsIDOMCSSPrimitiveValue * *aBottom); \
51 : NS_SCRIPTABLE NS_IMETHOD GetLeft(nsIDOMCSSPrimitiveValue * *aLeft);
52 :
53 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
54 : #define NS_FORWARD_NSIDOMRECT(_to) \
55 : NS_SCRIPTABLE NS_IMETHOD GetTop(nsIDOMCSSPrimitiveValue * *aTop) { return _to GetTop(aTop); } \
56 : NS_SCRIPTABLE NS_IMETHOD GetRight(nsIDOMCSSPrimitiveValue * *aRight) { return _to GetRight(aRight); } \
57 : NS_SCRIPTABLE NS_IMETHOD GetBottom(nsIDOMCSSPrimitiveValue * *aBottom) { return _to GetBottom(aBottom); } \
58 : NS_SCRIPTABLE NS_IMETHOD GetLeft(nsIDOMCSSPrimitiveValue * *aLeft) { return _to GetLeft(aLeft); }
59 :
60 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
61 : #define NS_FORWARD_SAFE_NSIDOMRECT(_to) \
62 : NS_SCRIPTABLE NS_IMETHOD GetTop(nsIDOMCSSPrimitiveValue * *aTop) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTop(aTop); } \
63 : NS_SCRIPTABLE NS_IMETHOD GetRight(nsIDOMCSSPrimitiveValue * *aRight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRight(aRight); } \
64 : NS_SCRIPTABLE NS_IMETHOD GetBottom(nsIDOMCSSPrimitiveValue * *aBottom) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBottom(aBottom); } \
65 : NS_SCRIPTABLE NS_IMETHOD GetLeft(nsIDOMCSSPrimitiveValue * *aLeft) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLeft(aLeft); }
66 :
67 : #if 0
68 : /* Use the code below as a template for the implementation class for this interface. */
69 :
70 : /* Header file */
71 : class nsDOMRect : public nsIDOMRect
72 : {
73 : public:
74 : NS_DECL_ISUPPORTS
75 : NS_DECL_NSIDOMRECT
76 :
77 : nsDOMRect();
78 :
79 : private:
80 : ~nsDOMRect();
81 :
82 : protected:
83 : /* additional members */
84 : };
85 :
86 : /* Implementation file */
87 : NS_IMPL_ISUPPORTS1(nsDOMRect, nsIDOMRect)
88 :
89 : nsDOMRect::nsDOMRect()
90 : {
91 : /* member initializers and constructor code */
92 : }
93 :
94 : nsDOMRect::~nsDOMRect()
95 : {
96 : /* destructor code */
97 : }
98 :
99 : /* readonly attribute nsIDOMCSSPrimitiveValue top; */
100 : NS_IMETHODIMP nsDOMRect::GetTop(nsIDOMCSSPrimitiveValue * *aTop)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* readonly attribute nsIDOMCSSPrimitiveValue right; */
106 : NS_IMETHODIMP nsDOMRect::GetRight(nsIDOMCSSPrimitiveValue * *aRight)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* readonly attribute nsIDOMCSSPrimitiveValue bottom; */
112 : NS_IMETHODIMP nsDOMRect::GetBottom(nsIDOMCSSPrimitiveValue * *aBottom)
113 : {
114 : return NS_ERROR_NOT_IMPLEMENTED;
115 : }
116 :
117 : /* readonly attribute nsIDOMCSSPrimitiveValue left; */
118 : NS_IMETHODIMP nsDOMRect::GetLeft(nsIDOMCSSPrimitiveValue * *aLeft)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 :
123 : /* End of implementation class template. */
124 : #endif
125 :
126 :
127 : #endif /* __gen_nsIDOMRect_h__ */
|