1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/sms/interfaces/nsIDOMSmsFilter.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMSmsFilter_h__
6 : #define __gen_nsIDOMSmsFilter_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #include "jspubtd.h"
14 :
15 : /* For IDL files that don't want to include root IDL files. */
16 : #ifndef NS_NO_VTABLE
17 : #define NS_NO_VTABLE
18 : #endif
19 :
20 : /* starting interface: nsIDOMMozSmsFilter */
21 : #define NS_IDOMMOZSMSFILTER_IID_STR "7da08e45-ee81-4293-912b-2f2fea5b6935"
22 :
23 : #define NS_IDOMMOZSMSFILTER_IID \
24 : {0x7da08e45, 0xee81, 0x4293, \
25 : { 0x91, 0x2b, 0x2f, 0x2f, 0xea, 0x5b, 0x69, 0x35 }}
26 :
27 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMozSmsFilter : public nsISupports {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMOZSMSFILTER_IID)
31 :
32 : /* [implicit_jscontext] attribute jsval startDate; */
33 : NS_SCRIPTABLE NS_IMETHOD GetStartDate(JSContext* cx, JS::Value *aStartDate) = 0;
34 : NS_SCRIPTABLE NS_IMETHOD SetStartDate(JSContext* cx, const JS::Value & aStartDate) = 0;
35 :
36 : /* [implicit_jscontext] attribute jsval endDate; */
37 : NS_SCRIPTABLE NS_IMETHOD GetEndDate(JSContext* cx, JS::Value *aEndDate) = 0;
38 : NS_SCRIPTABLE NS_IMETHOD SetEndDate(JSContext* cx, const JS::Value & aEndDate) = 0;
39 :
40 : /* [implicit_jscontext] attribute jsval numbers; */
41 : NS_SCRIPTABLE NS_IMETHOD GetNumbers(JSContext* cx, JS::Value *aNumbers) = 0;
42 : NS_SCRIPTABLE NS_IMETHOD SetNumbers(JSContext* cx, const JS::Value & aNumbers) = 0;
43 :
44 : /* [Null(Empty)] attribute DOMString delivery; */
45 : NS_SCRIPTABLE NS_IMETHOD GetDelivery(nsAString & aDelivery) = 0;
46 : NS_SCRIPTABLE NS_IMETHOD SetDelivery(const nsAString & aDelivery) = 0;
47 :
48 : };
49 :
50 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMozSmsFilter, NS_IDOMMOZSMSFILTER_IID)
51 :
52 : /* Use this macro when declaring classes that implement this interface. */
53 : #define NS_DECL_NSIDOMMOZSMSFILTER \
54 : NS_SCRIPTABLE NS_IMETHOD GetStartDate(JSContext* cx, JS::Value *aStartDate); \
55 : NS_SCRIPTABLE NS_IMETHOD SetStartDate(JSContext* cx, const JS::Value & aStartDate); \
56 : NS_SCRIPTABLE NS_IMETHOD GetEndDate(JSContext* cx, JS::Value *aEndDate); \
57 : NS_SCRIPTABLE NS_IMETHOD SetEndDate(JSContext* cx, const JS::Value & aEndDate); \
58 : NS_SCRIPTABLE NS_IMETHOD GetNumbers(JSContext* cx, JS::Value *aNumbers); \
59 : NS_SCRIPTABLE NS_IMETHOD SetNumbers(JSContext* cx, const JS::Value & aNumbers); \
60 : NS_SCRIPTABLE NS_IMETHOD GetDelivery(nsAString & aDelivery); \
61 : NS_SCRIPTABLE NS_IMETHOD SetDelivery(const nsAString & aDelivery);
62 :
63 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
64 : #define NS_FORWARD_NSIDOMMOZSMSFILTER(_to) \
65 : NS_SCRIPTABLE NS_IMETHOD GetStartDate(JSContext* cx, JS::Value *aStartDate) { return _to GetStartDate(cx, aStartDate); } \
66 : NS_SCRIPTABLE NS_IMETHOD SetStartDate(JSContext* cx, const JS::Value & aStartDate) { return _to SetStartDate(cx, aStartDate); } \
67 : NS_SCRIPTABLE NS_IMETHOD GetEndDate(JSContext* cx, JS::Value *aEndDate) { return _to GetEndDate(cx, aEndDate); } \
68 : NS_SCRIPTABLE NS_IMETHOD SetEndDate(JSContext* cx, const JS::Value & aEndDate) { return _to SetEndDate(cx, aEndDate); } \
69 : NS_SCRIPTABLE NS_IMETHOD GetNumbers(JSContext* cx, JS::Value *aNumbers) { return _to GetNumbers(cx, aNumbers); } \
70 : NS_SCRIPTABLE NS_IMETHOD SetNumbers(JSContext* cx, const JS::Value & aNumbers) { return _to SetNumbers(cx, aNumbers); } \
71 : NS_SCRIPTABLE NS_IMETHOD GetDelivery(nsAString & aDelivery) { return _to GetDelivery(aDelivery); } \
72 : NS_SCRIPTABLE NS_IMETHOD SetDelivery(const nsAString & aDelivery) { return _to SetDelivery(aDelivery); }
73 :
74 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
75 : #define NS_FORWARD_SAFE_NSIDOMMOZSMSFILTER(_to) \
76 : NS_SCRIPTABLE NS_IMETHOD GetStartDate(JSContext* cx, JS::Value *aStartDate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartDate(cx, aStartDate); } \
77 : NS_SCRIPTABLE NS_IMETHOD SetStartDate(JSContext* cx, const JS::Value & aStartDate) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStartDate(cx, aStartDate); } \
78 : NS_SCRIPTABLE NS_IMETHOD GetEndDate(JSContext* cx, JS::Value *aEndDate) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndDate(cx, aEndDate); } \
79 : NS_SCRIPTABLE NS_IMETHOD SetEndDate(JSContext* cx, const JS::Value & aEndDate) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEndDate(cx, aEndDate); } \
80 : NS_SCRIPTABLE NS_IMETHOD GetNumbers(JSContext* cx, JS::Value *aNumbers) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumbers(cx, aNumbers); } \
81 : NS_SCRIPTABLE NS_IMETHOD SetNumbers(JSContext* cx, const JS::Value & aNumbers) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetNumbers(cx, aNumbers); } \
82 : NS_SCRIPTABLE NS_IMETHOD GetDelivery(nsAString & aDelivery) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDelivery(aDelivery); } \
83 : NS_SCRIPTABLE NS_IMETHOD SetDelivery(const nsAString & aDelivery) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDelivery(aDelivery); }
84 :
85 : #if 0
86 : /* Use the code below as a template for the implementation class for this interface. */
87 :
88 : /* Header file */
89 : class nsDOMMozSmsFilter : public nsIDOMMozSmsFilter
90 : {
91 : public:
92 : NS_DECL_ISUPPORTS
93 : NS_DECL_NSIDOMMOZSMSFILTER
94 :
95 : nsDOMMozSmsFilter();
96 :
97 : private:
98 : ~nsDOMMozSmsFilter();
99 :
100 : protected:
101 : /* additional members */
102 : };
103 :
104 : /* Implementation file */
105 : NS_IMPL_ISUPPORTS1(nsDOMMozSmsFilter, nsIDOMMozSmsFilter)
106 :
107 : nsDOMMozSmsFilter::nsDOMMozSmsFilter()
108 : {
109 : /* member initializers and constructor code */
110 : }
111 :
112 : nsDOMMozSmsFilter::~nsDOMMozSmsFilter()
113 : {
114 : /* destructor code */
115 : }
116 :
117 : /* [implicit_jscontext] attribute jsval startDate; */
118 : NS_IMETHODIMP nsDOMMozSmsFilter::GetStartDate(JSContext* cx, JS::Value *aStartDate)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 : NS_IMETHODIMP nsDOMMozSmsFilter::SetStartDate(JSContext* cx, const JS::Value & aStartDate)
123 : {
124 : return NS_ERROR_NOT_IMPLEMENTED;
125 : }
126 :
127 : /* [implicit_jscontext] attribute jsval endDate; */
128 : NS_IMETHODIMP nsDOMMozSmsFilter::GetEndDate(JSContext* cx, JS::Value *aEndDate)
129 : {
130 : return NS_ERROR_NOT_IMPLEMENTED;
131 : }
132 : NS_IMETHODIMP nsDOMMozSmsFilter::SetEndDate(JSContext* cx, const JS::Value & aEndDate)
133 : {
134 : return NS_ERROR_NOT_IMPLEMENTED;
135 : }
136 :
137 : /* [implicit_jscontext] attribute jsval numbers; */
138 : NS_IMETHODIMP nsDOMMozSmsFilter::GetNumbers(JSContext* cx, JS::Value *aNumbers)
139 : {
140 : return NS_ERROR_NOT_IMPLEMENTED;
141 : }
142 : NS_IMETHODIMP nsDOMMozSmsFilter::SetNumbers(JSContext* cx, const JS::Value & aNumbers)
143 : {
144 : return NS_ERROR_NOT_IMPLEMENTED;
145 : }
146 :
147 : /* [Null(Empty)] attribute DOMString delivery; */
148 : NS_IMETHODIMP nsDOMMozSmsFilter::GetDelivery(nsAString & aDelivery)
149 : {
150 : return NS_ERROR_NOT_IMPLEMENTED;
151 : }
152 : NS_IMETHODIMP nsDOMMozSmsFilter::SetDelivery(const nsAString & aDelivery)
153 : {
154 : return NS_ERROR_NOT_IMPLEMENTED;
155 : }
156 :
157 : /* End of implementation class template. */
158 : #endif
159 :
160 :
161 : #endif /* __gen_nsIDOMSmsFilter_h__ */
|