/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM e:/builds/moz2_slave/mozilla-central-win32-xulrunner/build/dom/interfaces/geolocation/nsIDOMGeoPositionAddress.idl
 */

#ifndef __gen_nsIDOMGeoPositionAddress_h__
#define __gen_nsIDOMGeoPositionAddress_h__


#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIDOMGeoPositionAddress */
#define NS_IDOMGEOPOSITIONADDRESS_IID_STR "98808deb-c8e4-422c-ba97-08bf2031464c"

#define NS_IDOMGEOPOSITIONADDRESS_IID \
  {0x98808deb, 0xc8e4, 0x422c, \
    { 0xba, 0x97, 0x08, 0xbf, 0x20, 0x31, 0x46, 0x4c }}

class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMGeoPositionAddress : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMGEOPOSITIONADDRESS_IID)

  /* readonly attribute string streetNumber; */
  NS_SCRIPTABLE NS_IMETHOD GetStreetNumber(char * *aStreetNumber) = 0;

  /* readonly attribute string street; */
  NS_SCRIPTABLE NS_IMETHOD GetStreet(char * *aStreet) = 0;

  /* readonly attribute string premises; */
  NS_SCRIPTABLE NS_IMETHOD GetPremises(char * *aPremises) = 0;

  /* readonly attribute string city; */
  NS_SCRIPTABLE NS_IMETHOD GetCity(char * *aCity) = 0;

  /* readonly attribute string county; */
  NS_SCRIPTABLE NS_IMETHOD GetCounty(char * *aCounty) = 0;

  /* readonly attribute string region; */
  NS_SCRIPTABLE NS_IMETHOD GetRegion(char * *aRegion) = 0;

  /* readonly attribute string country; */
  NS_SCRIPTABLE NS_IMETHOD GetCountry(char * *aCountry) = 0;

  /* readonly attribute string countryCode; */
  NS_SCRIPTABLE NS_IMETHOD GetCountryCode(char * *aCountryCode) = 0;

  /* readonly attribute string postalCode; */
  NS_SCRIPTABLE NS_IMETHOD GetPostalCode(char * *aPostalCode) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMGeoPositionAddress, NS_IDOMGEOPOSITIONADDRESS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMGEOPOSITIONADDRESS \
  NS_SCRIPTABLE NS_IMETHOD GetStreetNumber(char * *aStreetNumber); \
  NS_SCRIPTABLE NS_IMETHOD GetStreet(char * *aStreet); \
  NS_SCRIPTABLE NS_IMETHOD GetPremises(char * *aPremises); \
  NS_SCRIPTABLE NS_IMETHOD GetCity(char * *aCity); \
  NS_SCRIPTABLE NS_IMETHOD GetCounty(char * *aCounty); \
  NS_SCRIPTABLE NS_IMETHOD GetRegion(char * *aRegion); \
  NS_SCRIPTABLE NS_IMETHOD GetCountry(char * *aCountry); \
  NS_SCRIPTABLE NS_IMETHOD GetCountryCode(char * *aCountryCode); \
  NS_SCRIPTABLE NS_IMETHOD GetPostalCode(char * *aPostalCode); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMGEOPOSITIONADDRESS(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetStreetNumber(char * *aStreetNumber) { return _to GetStreetNumber(aStreetNumber); } \
  NS_SCRIPTABLE NS_IMETHOD GetStreet(char * *aStreet) { return _to GetStreet(aStreet); } \
  NS_SCRIPTABLE NS_IMETHOD GetPremises(char * *aPremises) { return _to GetPremises(aPremises); } \
  NS_SCRIPTABLE NS_IMETHOD GetCity(char * *aCity) { return _to GetCity(aCity); } \
  NS_SCRIPTABLE NS_IMETHOD GetCounty(char * *aCounty) { return _to GetCounty(aCounty); } \
  NS_SCRIPTABLE NS_IMETHOD GetRegion(char * *aRegion) { return _to GetRegion(aRegion); } \
  NS_SCRIPTABLE NS_IMETHOD GetCountry(char * *aCountry) { return _to GetCountry(aCountry); } \
  NS_SCRIPTABLE NS_IMETHOD GetCountryCode(char * *aCountryCode) { return _to GetCountryCode(aCountryCode); } \
  NS_SCRIPTABLE NS_IMETHOD GetPostalCode(char * *aPostalCode) { return _to GetPostalCode(aPostalCode); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMGEOPOSITIONADDRESS(_to) \
  NS_SCRIPTABLE NS_IMETHOD GetStreetNumber(char * *aStreetNumber) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStreetNumber(aStreetNumber); } \
  NS_SCRIPTABLE NS_IMETHOD GetStreet(char * *aStreet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStreet(aStreet); } \
  NS_SCRIPTABLE NS_IMETHOD GetPremises(char * *aPremises) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPremises(aPremises); } \
  NS_SCRIPTABLE NS_IMETHOD GetCity(char * *aCity) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCity(aCity); } \
  NS_SCRIPTABLE NS_IMETHOD GetCounty(char * *aCounty) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCounty(aCounty); } \
  NS_SCRIPTABLE NS_IMETHOD GetRegion(char * *aRegion) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRegion(aRegion); } \
  NS_SCRIPTABLE NS_IMETHOD GetCountry(char * *aCountry) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCountry(aCountry); } \
  NS_SCRIPTABLE NS_IMETHOD GetCountryCode(char * *aCountryCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCountryCode(aCountryCode); } \
  NS_SCRIPTABLE NS_IMETHOD GetPostalCode(char * *aPostalCode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPostalCode(aPostalCode); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsDOMGeoPositionAddress : public nsIDOMGeoPositionAddress
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMGEOPOSITIONADDRESS

  nsDOMGeoPositionAddress();

private:
  ~nsDOMGeoPositionAddress();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMGeoPositionAddress, nsIDOMGeoPositionAddress)

nsDOMGeoPositionAddress::nsDOMGeoPositionAddress()
{
  /* member initializers and constructor code */
}

nsDOMGeoPositionAddress::~nsDOMGeoPositionAddress()
{
  /* destructor code */
}

/* readonly attribute string streetNumber; */
NS_IMETHODIMP nsDOMGeoPositionAddress::GetStreetNumber(char * *aStreetNumber)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string street; */
NS_IMETHODIMP nsDOMGeoPositionAddress::GetStreet(char * *aStreet)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string premises; */
NS_IMETHODIMP nsDOMGeoPositionAddress::GetPremises(char * *aPremises)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string city; */
NS_IMETHODIMP nsDOMGeoPositionAddress::GetCity(char * *aCity)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string county; */
NS_IMETHODIMP nsDOMGeoPositionAddress::GetCounty(char * *aCounty)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string region; */
NS_IMETHODIMP nsDOMGeoPositionAddress::GetRegion(char * *aRegion)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string country; */
NS_IMETHODIMP nsDOMGeoPositionAddress::GetCountry(char * *aCountry)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string countryCode; */
NS_IMETHODIMP nsDOMGeoPositionAddress::GetCountryCode(char * *aCountryCode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string postalCode; */
NS_IMETHODIMP nsDOMGeoPositionAddress::GetPostalCode(char * *aPostalCode)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsIDOMGeoPositionAddress_h__ */
