1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/css/nsIDOMRGBColor.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMRGBColor_h__
6 : #define __gen_nsIDOMRGBColor_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: nsIDOMRGBColor */
19 : #define NS_IDOMRGBCOLOR_IID_STR "6aff3102-320d-4986-9790-12316bb87cf9"
20 :
21 : #define NS_IDOMRGBCOLOR_IID \
22 : {0x6aff3102, 0x320d, 0x4986, \
23 : { 0x97, 0x90, 0x12, 0x31, 0x6b, 0xb8, 0x7c, 0xf9 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMRGBColor : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMRGBCOLOR_IID)
29 :
30 : /* readonly attribute nsIDOMCSSPrimitiveValue red; */
31 : NS_SCRIPTABLE NS_IMETHOD GetRed(nsIDOMCSSPrimitiveValue * *aRed) = 0;
32 :
33 : /* readonly attribute nsIDOMCSSPrimitiveValue green; */
34 : NS_SCRIPTABLE NS_IMETHOD GetGreen(nsIDOMCSSPrimitiveValue * *aGreen) = 0;
35 :
36 : /* readonly attribute nsIDOMCSSPrimitiveValue blue; */
37 : NS_SCRIPTABLE NS_IMETHOD GetBlue(nsIDOMCSSPrimitiveValue * *aBlue) = 0;
38 :
39 : };
40 :
41 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMRGBColor, NS_IDOMRGBCOLOR_IID)
42 :
43 : /* Use this macro when declaring classes that implement this interface. */
44 : #define NS_DECL_NSIDOMRGBCOLOR \
45 : NS_SCRIPTABLE NS_IMETHOD GetRed(nsIDOMCSSPrimitiveValue * *aRed); \
46 : NS_SCRIPTABLE NS_IMETHOD GetGreen(nsIDOMCSSPrimitiveValue * *aGreen); \
47 : NS_SCRIPTABLE NS_IMETHOD GetBlue(nsIDOMCSSPrimitiveValue * *aBlue);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIDOMRGBCOLOR(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD GetRed(nsIDOMCSSPrimitiveValue * *aRed) { return _to GetRed(aRed); } \
52 : NS_SCRIPTABLE NS_IMETHOD GetGreen(nsIDOMCSSPrimitiveValue * *aGreen) { return _to GetGreen(aGreen); } \
53 : NS_SCRIPTABLE NS_IMETHOD GetBlue(nsIDOMCSSPrimitiveValue * *aBlue) { return _to GetBlue(aBlue); }
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_NSIDOMRGBCOLOR(_to) \
57 : NS_SCRIPTABLE NS_IMETHOD GetRed(nsIDOMCSSPrimitiveValue * *aRed) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRed(aRed); } \
58 : NS_SCRIPTABLE NS_IMETHOD GetGreen(nsIDOMCSSPrimitiveValue * *aGreen) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetGreen(aGreen); } \
59 : NS_SCRIPTABLE NS_IMETHOD GetBlue(nsIDOMCSSPrimitiveValue * *aBlue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBlue(aBlue); }
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 nsDOMRGBColor : public nsIDOMRGBColor
66 : {
67 : public:
68 : NS_DECL_ISUPPORTS
69 : NS_DECL_NSIDOMRGBCOLOR
70 :
71 : nsDOMRGBColor();
72 :
73 : private:
74 : ~nsDOMRGBColor();
75 :
76 : protected:
77 : /* additional members */
78 : };
79 :
80 : /* Implementation file */
81 : NS_IMPL_ISUPPORTS1(nsDOMRGBColor, nsIDOMRGBColor)
82 :
83 : nsDOMRGBColor::nsDOMRGBColor()
84 : {
85 : /* member initializers and constructor code */
86 : }
87 :
88 : nsDOMRGBColor::~nsDOMRGBColor()
89 : {
90 : /* destructor code */
91 : }
92 :
93 : /* readonly attribute nsIDOMCSSPrimitiveValue red; */
94 : NS_IMETHODIMP nsDOMRGBColor::GetRed(nsIDOMCSSPrimitiveValue * *aRed)
95 : {
96 : return NS_ERROR_NOT_IMPLEMENTED;
97 : }
98 :
99 : /* readonly attribute nsIDOMCSSPrimitiveValue green; */
100 : NS_IMETHODIMP nsDOMRGBColor::GetGreen(nsIDOMCSSPrimitiveValue * *aGreen)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* readonly attribute nsIDOMCSSPrimitiveValue blue; */
106 : NS_IMETHODIMP nsDOMRGBColor::GetBlue(nsIDOMCSSPrimitiveValue * *aBlue)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* End of implementation class template. */
112 : #endif
113 :
114 :
115 : #endif /* __gen_nsIDOMRGBColor_h__ */
|