/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMGeoPositionCoords.idl
 */

#ifndef __gen_nsIDOMGeoPositionCoords_h__
#define __gen_nsIDOMGeoPositionCoords_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:    nsIDOMGeoPositionCoords */
#define NS_IDOMGEOPOSITIONCOORDS_IID_STR "b31702d0-6dac-4fa0-b93b-f043e71c8f9a"

#define NS_IDOMGEOPOSITIONCOORDS_IID \
  {0xb31702d0, 0x6dac, 0x4fa0, \
    { 0xb9, 0x3b, 0xf0, 0x43, 0xe7, 0x1c, 0x8f, 0x9a }}

class NS_NO_VTABLE nsIDOMGeoPositionCoords : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMGEOPOSITIONCOORDS_IID)

  /* readonly attribute double latitude; */
  NS_IMETHOD GetLatitude(double *aLatitude) = 0;

  /* readonly attribute double longitude; */
  NS_IMETHOD GetLongitude(double *aLongitude) = 0;

  /* readonly attribute double altitude; */
  NS_IMETHOD GetAltitude(double *aAltitude) = 0;

  /* readonly attribute double accuracy; */
  NS_IMETHOD GetAccuracy(double *aAccuracy) = 0;

  /* readonly attribute double altitudeAccuracy; */
  NS_IMETHOD GetAltitudeAccuracy(double *aAltitudeAccuracy) = 0;

  /* readonly attribute double heading; */
  NS_IMETHOD GetHeading(double *aHeading) = 0;

  /* readonly attribute double speed; */
  NS_IMETHOD GetSpeed(double *aSpeed) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMGeoPositionCoords, NS_IDOMGEOPOSITIONCOORDS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMGEOPOSITIONCOORDS \
  NS_IMETHOD GetLatitude(double *aLatitude) MOZ_OVERRIDE; \
  NS_IMETHOD GetLongitude(double *aLongitude) MOZ_OVERRIDE; \
  NS_IMETHOD GetAltitude(double *aAltitude) MOZ_OVERRIDE; \
  NS_IMETHOD GetAccuracy(double *aAccuracy) MOZ_OVERRIDE; \
  NS_IMETHOD GetAltitudeAccuracy(double *aAltitudeAccuracy) MOZ_OVERRIDE; \
  NS_IMETHOD GetHeading(double *aHeading) MOZ_OVERRIDE; \
  NS_IMETHOD GetSpeed(double *aSpeed) MOZ_OVERRIDE; 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMGEOPOSITIONCOORDS(_to) \
  NS_IMETHOD GetLatitude(double *aLatitude) MOZ_OVERRIDE { return _to GetLatitude(aLatitude); } \
  NS_IMETHOD GetLongitude(double *aLongitude) MOZ_OVERRIDE { return _to GetLongitude(aLongitude); } \
  NS_IMETHOD GetAltitude(double *aAltitude) MOZ_OVERRIDE { return _to GetAltitude(aAltitude); } \
  NS_IMETHOD GetAccuracy(double *aAccuracy) MOZ_OVERRIDE { return _to GetAccuracy(aAccuracy); } \
  NS_IMETHOD GetAltitudeAccuracy(double *aAltitudeAccuracy) MOZ_OVERRIDE { return _to GetAltitudeAccuracy(aAltitudeAccuracy); } \
  NS_IMETHOD GetHeading(double *aHeading) MOZ_OVERRIDE { return _to GetHeading(aHeading); } \
  NS_IMETHOD GetSpeed(double *aSpeed) MOZ_OVERRIDE { return _to GetSpeed(aSpeed); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMGEOPOSITIONCOORDS(_to) \
  NS_IMETHOD GetLatitude(double *aLatitude) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLatitude(aLatitude); } \
  NS_IMETHOD GetLongitude(double *aLongitude) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLongitude(aLongitude); } \
  NS_IMETHOD GetAltitude(double *aAltitude) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAltitude(aAltitude); } \
  NS_IMETHOD GetAccuracy(double *aAccuracy) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccuracy(aAccuracy); } \
  NS_IMETHOD GetAltitudeAccuracy(double *aAltitudeAccuracy) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAltitudeAccuracy(aAltitudeAccuracy); } \
  NS_IMETHOD GetHeading(double *aHeading) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeading(aHeading); } \
  NS_IMETHOD GetSpeed(double *aSpeed) MOZ_OVERRIDE { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSpeed(aSpeed); } 

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

/* Header file */
class nsDOMGeoPositionCoords : public nsIDOMGeoPositionCoords
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIDOMGEOPOSITIONCOORDS

  nsDOMGeoPositionCoords();

private:
  ~nsDOMGeoPositionCoords();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMGeoPositionCoords, nsIDOMGeoPositionCoords)

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

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

/* readonly attribute double latitude; */
NS_IMETHODIMP nsDOMGeoPositionCoords::GetLatitude(double *aLatitude)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute double longitude; */
NS_IMETHODIMP nsDOMGeoPositionCoords::GetLongitude(double *aLongitude)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute double altitude; */
NS_IMETHODIMP nsDOMGeoPositionCoords::GetAltitude(double *aAltitude)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute double accuracy; */
NS_IMETHODIMP nsDOMGeoPositionCoords::GetAccuracy(double *aAccuracy)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute double altitudeAccuracy; */
NS_IMETHODIMP nsDOMGeoPositionCoords::GetAltitudeAccuracy(double *aAltitudeAccuracy)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute double heading; */
NS_IMETHODIMP nsDOMGeoPositionCoords::GetHeading(double *aHeading)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute double speed; */
NS_IMETHODIMP nsDOMGeoPositionCoords::GetSpeed(double *aSpeed)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIDOMGeoPositionCoords_h__ */
