Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMCSSFontFeatureValuesRule.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMCSSFontFeatureValuesRule_h__
6 : #define __gen_nsIDOMCSSFontFeatureValuesRule_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.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: nsIDOMCSSFontFeatureValuesRule */
19 : #define NS_IDOMCSSFONTFEATUREVALUESRULE_IID_STR "a343d27f-1da6-4fc3-9355-d4ca434f958e"
20 :
21 : #define NS_IDOMCSSFONTFEATUREVALUESRULE_IID \
22 : {0xa343d27f, 0x1da6, 0x4fc3, \
23 : { 0x93, 0x55, 0xd4, 0xca, 0x43, 0x4f, 0x95, 0x8e }}
24 :
25 0 : class NS_NO_VTABLE nsIDOMCSSFontFeatureValuesRule : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSFONTFEATUREVALUESRULE_IID)
29 :
30 : /* attribute DOMString fontFamily; */
31 : NS_IMETHOD GetFontFamily(nsAString & aFontFamily) = 0;
32 : NS_IMETHOD SetFontFamily(const nsAString & aFontFamily) = 0;
33 :
34 : /* attribute DOMString valueText; */
35 : NS_IMETHOD GetValueText(nsAString & aValueText) = 0;
36 : NS_IMETHOD SetValueText(const nsAString & aValueText) = 0;
37 :
38 : };
39 :
40 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSFontFeatureValuesRule, NS_IDOMCSSFONTFEATUREVALUESRULE_IID)
41 :
42 : /* Use this macro when declaring classes that implement this interface. */
43 : #define NS_DECL_NSIDOMCSSFONTFEATUREVALUESRULE \
44 : NS_IMETHOD GetFontFamily(nsAString & aFontFamily) override; \
45 : NS_IMETHOD SetFontFamily(const nsAString & aFontFamily) override; \
46 : NS_IMETHOD GetValueText(nsAString & aValueText) override; \
47 : NS_IMETHOD SetValueText(const nsAString & aValueText) override;
48 :
49 : /* Use this macro when declaring the members of this interface when the
50 : class doesn't implement the interface. This is useful for forwarding. */
51 : #define NS_DECL_NON_VIRTUAL_NSIDOMCSSFONTFEATUREVALUESRULE \
52 : nsresult GetFontFamily(nsAString & aFontFamily); \
53 : nsresult SetFontFamily(const nsAString & aFontFamily); \
54 : nsresult GetValueText(nsAString & aValueText); \
55 : nsresult SetValueText(const nsAString & aValueText);
56 :
57 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
58 : #define NS_FORWARD_NSIDOMCSSFONTFEATUREVALUESRULE(_to) \
59 : NS_IMETHOD GetFontFamily(nsAString & aFontFamily) override { return _to GetFontFamily(aFontFamily); } \
60 : NS_IMETHOD SetFontFamily(const nsAString & aFontFamily) override { return _to SetFontFamily(aFontFamily); } \
61 : NS_IMETHOD GetValueText(nsAString & aValueText) override { return _to GetValueText(aValueText); } \
62 : NS_IMETHOD SetValueText(const nsAString & aValueText) override { return _to SetValueText(aValueText); }
63 :
64 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
65 : #define NS_FORWARD_SAFE_NSIDOMCSSFONTFEATUREVALUESRULE(_to) \
66 : NS_IMETHOD GetFontFamily(nsAString & aFontFamily) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFontFamily(aFontFamily); } \
67 : NS_IMETHOD SetFontFamily(const nsAString & aFontFamily) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFontFamily(aFontFamily); } \
68 : NS_IMETHOD GetValueText(nsAString & aValueText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueText(aValueText); } \
69 : NS_IMETHOD SetValueText(const nsAString & aValueText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValueText(aValueText); }
70 :
71 : #if 0
72 : /* Use the code below as a template for the implementation class for this interface. */
73 :
74 : /* Header file */
75 : class nsDOMCSSFontFeatureValuesRule : public nsIDOMCSSFontFeatureValuesRule
76 : {
77 : public:
78 : NS_DECL_ISUPPORTS
79 : NS_DECL_NSIDOMCSSFONTFEATUREVALUESRULE
80 :
81 : nsDOMCSSFontFeatureValuesRule();
82 :
83 : private:
84 : ~nsDOMCSSFontFeatureValuesRule();
85 :
86 : protected:
87 : /* additional members */
88 : };
89 :
90 : /* Implementation file */
91 : NS_IMPL_ISUPPORTS(nsDOMCSSFontFeatureValuesRule, nsIDOMCSSFontFeatureValuesRule)
92 :
93 : nsDOMCSSFontFeatureValuesRule::nsDOMCSSFontFeatureValuesRule()
94 : {
95 : /* member initializers and constructor code */
96 : }
97 :
98 : nsDOMCSSFontFeatureValuesRule::~nsDOMCSSFontFeatureValuesRule()
99 : {
100 : /* destructor code */
101 : }
102 :
103 : /* attribute DOMString fontFamily; */
104 : NS_IMETHODIMP nsDOMCSSFontFeatureValuesRule::GetFontFamily(nsAString & aFontFamily)
105 : {
106 : return NS_ERROR_NOT_IMPLEMENTED;
107 : }
108 : NS_IMETHODIMP nsDOMCSSFontFeatureValuesRule::SetFontFamily(const nsAString & aFontFamily)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* attribute DOMString valueText; */
114 : NS_IMETHODIMP nsDOMCSSFontFeatureValuesRule::GetValueText(nsAString & aValueText)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 : NS_IMETHODIMP nsDOMCSSFontFeatureValuesRule::SetValueText(const nsAString & aValueText)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 :
123 : /* End of implementation class template. */
124 : #endif
125 :
126 :
127 : #endif /* __gen_nsIDOMCSSFontFeatureValuesRule_h__ */
|