LCOV - app.info - objdir/dist/include/nsIDOMGeoPositionCoords.h

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIDOMGeoPositionCoords.h (source / functions) |  | Found | Hit | Coverage |
| Test: | app.info | Lines: | 1 | 0 | 0.0 %
| Date: | 2012-07-07 | Functions: | 1 | 0 | 0.0 %

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/dom/interfaces/geolocation/nsIDOMGeoPositionCoords.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIDOMGeoPositionCoords_h__
           6                 : #define __gen_nsIDOMGeoPositionCoords_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:    nsIDOMGeoPositionCoords */
          19                 : #define NS_IDOMGEOPOSITIONCOORDS_IID_STR "b31702d0-6dac-4fa0-b93b-f043e71c8f9a"
          20                 :
          21                 : #define NS_IDOMGEOPOSITIONCOORDS_IID \
          22                 :   {0xb31702d0, 0x6dac, 0x4fa0, \
          23                 :     { 0xb9, 0x3b, 0xf0, 0x43, 0xe7, 0x1c, 0x8f, 0x9a }}
          24                 :
          25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMGeoPositionCoords : public nsISupports {
          26                 :  public:
          27                 :
          28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMGEOPOSITIONCOORDS_IID)
          29                 :
          30                 :   /* readonly attribute double latitude; */
          31                 :   NS_SCRIPTABLE NS_IMETHOD GetLatitude(double *aLatitude) = 0;
          32                 :
          33                 :   /* readonly attribute double longitude; */
          34                 :   NS_SCRIPTABLE NS_IMETHOD GetLongitude(double *aLongitude) = 0;
          35                 :
          36                 :   /* readonly attribute double altitude; */
          37                 :   NS_SCRIPTABLE NS_IMETHOD GetAltitude(double *aAltitude) = 0;
          38                 :
          39                 :   /* readonly attribute double accuracy; */
          40                 :   NS_SCRIPTABLE NS_IMETHOD GetAccuracy(double *aAccuracy) = 0;
          41                 :
          42                 :   /* readonly attribute double altitudeAccuracy; */
          43                 :   NS_SCRIPTABLE NS_IMETHOD GetAltitudeAccuracy(double *aAltitudeAccuracy) = 0;
          44                 :
          45                 :   /* readonly attribute double heading; */
          46                 :   NS_SCRIPTABLE NS_IMETHOD GetHeading(double *aHeading) = 0;
          47                 :
          48                 :   /* readonly attribute double speed; */
          49                 :   NS_SCRIPTABLE NS_IMETHOD GetSpeed(double *aSpeed) = 0;
          50                 :
          51                 : };
          52                 :
          53                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMGeoPositionCoords, NS_IDOMGEOPOSITIONCOORDS_IID)
          54                 :
          55                 : /* Use this macro when declaring classes that implement this interface. */
          56                 : #define NS_DECL_NSIDOMGEOPOSITIONCOORDS \
          57                 :   NS_SCRIPTABLE NS_IMETHOD GetLatitude(double *aLatitude); \
          58                 :   NS_SCRIPTABLE NS_IMETHOD GetLongitude(double *aLongitude); \
          59                 :   NS_SCRIPTABLE NS_IMETHOD GetAltitude(double *aAltitude); \
          60                 :   NS_SCRIPTABLE NS_IMETHOD GetAccuracy(double *aAccuracy); \
          61                 :   NS_SCRIPTABLE NS_IMETHOD GetAltitudeAccuracy(double *aAltitudeAccuracy); \
          62                 :   NS_SCRIPTABLE NS_IMETHOD GetHeading(double *aHeading); \
          63                 :   NS_SCRIPTABLE NS_IMETHOD GetSpeed(double *aSpeed);
          64                 :
          65                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          66                 : #define NS_FORWARD_NSIDOMGEOPOSITIONCOORDS(_to) \
          67                 :   NS_SCRIPTABLE NS_IMETHOD GetLatitude(double *aLatitude) { return _to GetLatitude(aLatitude); } \
          68                 :   NS_SCRIPTABLE NS_IMETHOD GetLongitude(double *aLongitude) { return _to GetLongitude(aLongitude); } \
          69                 :   NS_SCRIPTABLE NS_IMETHOD GetAltitude(double *aAltitude) { return _to GetAltitude(aAltitude); } \
          70                 :   NS_SCRIPTABLE NS_IMETHOD GetAccuracy(double *aAccuracy) { return _to GetAccuracy(aAccuracy); } \
          71                 :   NS_SCRIPTABLE NS_IMETHOD GetAltitudeAccuracy(double *aAltitudeAccuracy) { return _to GetAltitudeAccuracy(aAltitudeAccuracy); } \
          72                 :   NS_SCRIPTABLE NS_IMETHOD GetHeading(double *aHeading) { return _to GetHeading(aHeading); } \
          73                 :   NS_SCRIPTABLE NS_IMETHOD GetSpeed(double *aSpeed) { return _to GetSpeed(aSpeed); }
          74                 :
          75                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          76                 : #define NS_FORWARD_SAFE_NSIDOMGEOPOSITIONCOORDS(_to) \
          77                 :   NS_SCRIPTABLE NS_IMETHOD GetLatitude(double *aLatitude) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLatitude(aLatitude); } \
          78                 :   NS_SCRIPTABLE NS_IMETHOD GetLongitude(double *aLongitude) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLongitude(aLongitude); } \
          79                 :   NS_SCRIPTABLE NS_IMETHOD GetAltitude(double *aAltitude) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAltitude(aAltitude); } \
          80                 :   NS_SCRIPTABLE NS_IMETHOD GetAccuracy(double *aAccuracy) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAccuracy(aAccuracy); } \
          81                 :   NS_SCRIPTABLE NS_IMETHOD GetAltitudeAccuracy(double *aAltitudeAccuracy) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAltitudeAccuracy(aAltitudeAccuracy); } \
          82                 :   NS_SCRIPTABLE NS_IMETHOD GetHeading(double *aHeading) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeading(aHeading); } \
          83                 :   NS_SCRIPTABLE NS_IMETHOD GetSpeed(double *aSpeed) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSpeed(aSpeed); }
          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 nsDOMGeoPositionCoords : public nsIDOMGeoPositionCoords
          90                 : {
          91                 : public:
          92                 :   NS_DECL_ISUPPORTS
          93                 :   NS_DECL_NSIDOMGEOPOSITIONCOORDS
          94                 :
          95                 :   nsDOMGeoPositionCoords();
          96                 :
          97                 : private:
          98                 :   ~nsDOMGeoPositionCoords();
          99                 :
         100                 : protected:
         101                 :   /* additional members */
         102                 : };
         103                 :
         104                 : /* Implementation file */
         105                 : NS_IMPL_ISUPPORTS1(nsDOMGeoPositionCoords, nsIDOMGeoPositionCoords)
         106                 :
         107                 : nsDOMGeoPositionCoords::nsDOMGeoPositionCoords()
         108                 : {
         109                 :   /* member initializers and constructor code */
         110                 : }
         111                 :
         112                 : nsDOMGeoPositionCoords::~nsDOMGeoPositionCoords()
         113                 : {
         114                 :   /* destructor code */
         115                 : }
         116                 :
         117                 : /* readonly attribute double latitude; */
         118                 : NS_IMETHODIMP nsDOMGeoPositionCoords::GetLatitude(double *aLatitude)
         119                 : {
         120                 :     return NS_ERROR_NOT_IMPLEMENTED;
         121                 : }
         122                 :
         123                 : /* readonly attribute double longitude; */
         124                 : NS_IMETHODIMP nsDOMGeoPositionCoords::GetLongitude(double *aLongitude)
         125                 : {
         126                 :     return NS_ERROR_NOT_IMPLEMENTED;
         127                 : }
         128                 :
         129                 : /* readonly attribute double altitude; */
         130                 : NS_IMETHODIMP nsDOMGeoPositionCoords::GetAltitude(double *aAltitude)
         131                 : {
         132                 :     return NS_ERROR_NOT_IMPLEMENTED;
         133                 : }
         134                 :
         135                 : /* readonly attribute double accuracy; */
         136                 : NS_IMETHODIMP nsDOMGeoPositionCoords::GetAccuracy(double *aAccuracy)
         137                 : {
         138                 :     return NS_ERROR_NOT_IMPLEMENTED;
         139                 : }
         140                 :
         141                 : /* readonly attribute double altitudeAccuracy; */
         142                 : NS_IMETHODIMP nsDOMGeoPositionCoords::GetAltitudeAccuracy(double *aAltitudeAccuracy)
         143                 : {
         144                 :     return NS_ERROR_NOT_IMPLEMENTED;
         145                 : }
         146                 :
         147                 : /* readonly attribute double heading; */
         148                 : NS_IMETHODIMP nsDOMGeoPositionCoords::GetHeading(double *aHeading)
         149                 : {
         150                 :     return NS_ERROR_NOT_IMPLEMENTED;
         151                 : }
         152                 :
         153                 : /* readonly attribute double speed; */
         154                 : NS_IMETHODIMP nsDOMGeoPositionCoords::GetSpeed(double *aSpeed)
         155                 : {
         156                 :     return NS_ERROR_NOT_IMPLEMENTED;
         157                 : }
         158                 :
         159                 : /* End of implementation class template. */
         160                 : #endif
         161                 :
         162                 :
         163                 : #endif /* __gen_nsIDOMGeoPositionCoords_h__ */

Generated by: LCOV version 1.7