1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/geolocation/nsIDOMGeoPositionAddress.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMGeoPositionAddress_h__
6 : #define __gen_nsIDOMGeoPositionAddress_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: nsIDOMGeoPositionAddress */
19 : #define NS_IDOMGEOPOSITIONADDRESS_IID_STR "93abae10-7024-49eb-8e05-1931343b0ebb"
20 :
21 : #define NS_IDOMGEOPOSITIONADDRESS_IID \
22 : {0x93abae10, 0x7024, 0x49eb, \
23 : { 0x8e, 0x05, 0x19, 0x31, 0x34, 0x3b, 0x0e, 0xbb }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMGeoPositionAddress : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMGEOPOSITIONADDRESS_IID)
29 :
30 : /* readonly attribute DOMString streetNumber; */
31 : NS_SCRIPTABLE NS_IMETHOD GetStreetNumber(nsAString & aStreetNumber) = 0;
32 :
33 : /* readonly attribute DOMString street; */
34 : NS_SCRIPTABLE NS_IMETHOD GetStreet(nsAString & aStreet) = 0;
35 :
36 : /* readonly attribute DOMString premises; */
37 : NS_SCRIPTABLE NS_IMETHOD GetPremises(nsAString & aPremises) = 0;
38 :
39 : /* readonly attribute DOMString city; */
40 : NS_SCRIPTABLE NS_IMETHOD GetCity(nsAString & aCity) = 0;
41 :
42 : /* readonly attribute DOMString county; */
43 : NS_SCRIPTABLE NS_IMETHOD GetCounty(nsAString & aCounty) = 0;
44 :
45 : /* readonly attribute DOMString region; */
46 : NS_SCRIPTABLE NS_IMETHOD GetRegion(nsAString & aRegion) = 0;
47 :
48 : /* readonly attribute DOMString country; */
49 : NS_SCRIPTABLE NS_IMETHOD GetCountry(nsAString & aCountry) = 0;
50 :
51 : /* readonly attribute DOMString postalCode; */
52 : NS_SCRIPTABLE NS_IMETHOD GetPostalCode(nsAString & aPostalCode) = 0;
53 :
54 : };
55 :
56 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMGeoPositionAddress, NS_IDOMGEOPOSITIONADDRESS_IID)
57 :
58 : /* Use this macro when declaring classes that implement this interface. */
59 : #define NS_DECL_NSIDOMGEOPOSITIONADDRESS \
60 : NS_SCRIPTABLE NS_IMETHOD GetStreetNumber(nsAString & aStreetNumber); \
61 : NS_SCRIPTABLE NS_IMETHOD GetStreet(nsAString & aStreet); \
62 : NS_SCRIPTABLE NS_IMETHOD GetPremises(nsAString & aPremises); \
63 : NS_SCRIPTABLE NS_IMETHOD GetCity(nsAString & aCity); \
64 : NS_SCRIPTABLE NS_IMETHOD GetCounty(nsAString & aCounty); \
65 : NS_SCRIPTABLE NS_IMETHOD GetRegion(nsAString & aRegion); \
66 : NS_SCRIPTABLE NS_IMETHOD GetCountry(nsAString & aCountry); \
67 : NS_SCRIPTABLE NS_IMETHOD GetPostalCode(nsAString & aPostalCode);
68 :
69 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
70 : #define NS_FORWARD_NSIDOMGEOPOSITIONADDRESS(_to) \
71 : NS_SCRIPTABLE NS_IMETHOD GetStreetNumber(nsAString & aStreetNumber) { return _to GetStreetNumber(aStreetNumber); } \
72 : NS_SCRIPTABLE NS_IMETHOD GetStreet(nsAString & aStreet) { return _to GetStreet(aStreet); } \
73 : NS_SCRIPTABLE NS_IMETHOD GetPremises(nsAString & aPremises) { return _to GetPremises(aPremises); } \
74 : NS_SCRIPTABLE NS_IMETHOD GetCity(nsAString & aCity) { return _to GetCity(aCity); } \
75 : NS_SCRIPTABLE NS_IMETHOD GetCounty(nsAString & aCounty) { return _to GetCounty(aCounty); } \
76 : NS_SCRIPTABLE NS_IMETHOD GetRegion(nsAString & aRegion) { return _to GetRegion(aRegion); } \
77 : NS_SCRIPTABLE NS_IMETHOD GetCountry(nsAString & aCountry) { return _to GetCountry(aCountry); } \
78 : NS_SCRIPTABLE NS_IMETHOD GetPostalCode(nsAString & aPostalCode) { return _to GetPostalCode(aPostalCode); }
79 :
80 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
81 : #define NS_FORWARD_SAFE_NSIDOMGEOPOSITIONADDRESS(_to) \
82 : NS_SCRIPTABLE NS_IMETHOD GetStreetNumber(nsAString & aStreetNumber) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStreetNumber(aStreetNumber); } \
83 : NS_SCRIPTABLE NS_IMETHOD GetStreet(nsAString & aStreet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStreet(aStreet); } \
84 : NS_SCRIPTABLE NS_IMETHOD GetPremises(nsAString & aPremises) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPremises(aPremises); } \
85 : NS_SCRIPTABLE NS_IMETHOD GetCity(nsAString & aCity) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCity(aCity); } \
86 : NS_SCRIPTABLE NS_IMETHOD GetCounty(nsAString & aCounty) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCounty(aCounty); } \
87 : NS_SCRIPTABLE NS_IMETHOD GetRegion(nsAString & aRegion) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRegion(aRegion); } \
88 : NS_SCRIPTABLE NS_IMETHOD GetCountry(nsAString & aCountry) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCountry(aCountry); } \
89 : NS_SCRIPTABLE NS_IMETHOD GetPostalCode(nsAString & aPostalCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPostalCode(aPostalCode); }
90 :
91 : #if 0
92 : /* Use the code below as a template for the implementation class for this interface. */
93 :
94 : /* Header file */
95 : class nsDOMGeoPositionAddress : public nsIDOMGeoPositionAddress
96 : {
97 : public:
98 : NS_DECL_ISUPPORTS
99 : NS_DECL_NSIDOMGEOPOSITIONADDRESS
100 :
101 : nsDOMGeoPositionAddress();
102 :
103 : private:
104 : ~nsDOMGeoPositionAddress();
105 :
106 : protected:
107 : /* additional members */
108 : };
109 :
110 : /* Implementation file */
111 : NS_IMPL_ISUPPORTS1(nsDOMGeoPositionAddress, nsIDOMGeoPositionAddress)
112 :
113 : nsDOMGeoPositionAddress::nsDOMGeoPositionAddress()
114 : {
115 : /* member initializers and constructor code */
116 : }
117 :
118 : nsDOMGeoPositionAddress::~nsDOMGeoPositionAddress()
119 : {
120 : /* destructor code */
121 : }
122 :
123 : /* readonly attribute DOMString streetNumber; */
124 : NS_IMETHODIMP nsDOMGeoPositionAddress::GetStreetNumber(nsAString & aStreetNumber)
125 : {
126 : return NS_ERROR_NOT_IMPLEMENTED;
127 : }
128 :
129 : /* readonly attribute DOMString street; */
130 : NS_IMETHODIMP nsDOMGeoPositionAddress::GetStreet(nsAString & aStreet)
131 : {
132 : return NS_ERROR_NOT_IMPLEMENTED;
133 : }
134 :
135 : /* readonly attribute DOMString premises; */
136 : NS_IMETHODIMP nsDOMGeoPositionAddress::GetPremises(nsAString & aPremises)
137 : {
138 : return NS_ERROR_NOT_IMPLEMENTED;
139 : }
140 :
141 : /* readonly attribute DOMString city; */
142 : NS_IMETHODIMP nsDOMGeoPositionAddress::GetCity(nsAString & aCity)
143 : {
144 : return NS_ERROR_NOT_IMPLEMENTED;
145 : }
146 :
147 : /* readonly attribute DOMString county; */
148 : NS_IMETHODIMP nsDOMGeoPositionAddress::GetCounty(nsAString & aCounty)
149 : {
150 : return NS_ERROR_NOT_IMPLEMENTED;
151 : }
152 :
153 : /* readonly attribute DOMString region; */
154 : NS_IMETHODIMP nsDOMGeoPositionAddress::GetRegion(nsAString & aRegion)
155 : {
156 : return NS_ERROR_NOT_IMPLEMENTED;
157 : }
158 :
159 : /* readonly attribute DOMString country; */
160 : NS_IMETHODIMP nsDOMGeoPositionAddress::GetCountry(nsAString & aCountry)
161 : {
162 : return NS_ERROR_NOT_IMPLEMENTED;
163 : }
164 :
165 : /* readonly attribute DOMString postalCode; */
166 : NS_IMETHODIMP nsDOMGeoPositionAddress::GetPostalCode(nsAString & aPostalCode)
167 : {
168 : return NS_ERROR_NOT_IMPLEMENTED;
169 : }
170 :
171 : /* End of implementation class template. */
172 : #endif
173 :
174 :
175 : #endif /* __gen_nsIDOMGeoPositionAddress_h__ */
|