LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMGeoPosition.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 1 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 1 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMGeoPosition.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMGeoPosition_h__
       6             : #define __gen_nsIDOMGeoPosition_h__
       7             : 
       8             : 
       9             : #ifndef __gen_domstubs_h__
      10             : #include "domstubs.h"
      11             : #endif
      12             : 
      13             : #ifndef __gen_nsIDOMGeoPositionCoords_h__
      14             : #include "nsIDOMGeoPositionCoords.h"
      15             : #endif
      16             : 
      17             : /* For IDL files that don't want to include root IDL files. */
      18             : #ifndef NS_NO_VTABLE
      19             : #define NS_NO_VTABLE
      20             : #endif
      21             : 
      22             : /* starting interface:    nsIDOMGeoPosition */
      23             : #define NS_IDOMGEOPOSITION_IID_STR "dd9f7e81-0f74-4fb5-b361-37019bf60c3f"
      24             : 
      25             : #define NS_IDOMGEOPOSITION_IID \
      26             :   {0xdd9f7e81, 0x0f74, 0x4fb5, \
      27             :     { 0xb3, 0x61, 0x37, 0x01, 0x9b, 0xf6, 0x0c, 0x3f }}
      28             : 
      29           0 : class NS_NO_VTABLE nsIDOMGeoPosition : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMGEOPOSITION_IID)
      33             : 
      34             :   /* readonly attribute DOMTimeStamp timestamp; */
      35             :   NS_IMETHOD GetTimestamp(DOMTimeStamp *aTimestamp) = 0;
      36             : 
      37             :   /* readonly attribute nsIDOMGeoPositionCoords coords; */
      38             :   NS_IMETHOD GetCoords(nsIDOMGeoPositionCoords * *aCoords) = 0;
      39             : 
      40             : };
      41             : 
      42             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMGeoPosition, NS_IDOMGEOPOSITION_IID)
      43             : 
      44             : /* Use this macro when declaring classes that implement this interface. */
      45             : #define NS_DECL_NSIDOMGEOPOSITION \
      46             :   NS_IMETHOD GetTimestamp(DOMTimeStamp *aTimestamp) override; \
      47             :   NS_IMETHOD GetCoords(nsIDOMGeoPositionCoords * *aCoords) override; 
      48             : 
      49             : /* Use this macro when declaring the members of this interface when the
      50             :    class doesn't implement the interface. This is useful for forwarding. */
      51             : #define NS_DECL_NON_VIRTUAL_NSIDOMGEOPOSITION \
      52             :   nsresult GetTimestamp(DOMTimeStamp *aTimestamp); \
      53             :   nsresult GetCoords(nsIDOMGeoPositionCoords * *aCoords); 
      54             : 
      55             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      56             : #define NS_FORWARD_NSIDOMGEOPOSITION(_to) \
      57             :   NS_IMETHOD GetTimestamp(DOMTimeStamp *aTimestamp) override { return _to GetTimestamp(aTimestamp); } \
      58             :   NS_IMETHOD GetCoords(nsIDOMGeoPositionCoords * *aCoords) override { return _to GetCoords(aCoords); } 
      59             : 
      60             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      61             : #define NS_FORWARD_SAFE_NSIDOMGEOPOSITION(_to) \
      62             :   NS_IMETHOD GetTimestamp(DOMTimeStamp *aTimestamp) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimestamp(aTimestamp); } \
      63             :   NS_IMETHOD GetCoords(nsIDOMGeoPositionCoords * *aCoords) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCoords(aCoords); } 
      64             : 
      65             : #if 0
      66             : /* Use the code below as a template for the implementation class for this interface. */
      67             : 
      68             : /* Header file */
      69             : class nsDOMGeoPosition : public nsIDOMGeoPosition
      70             : {
      71             : public:
      72             :   NS_DECL_ISUPPORTS
      73             :   NS_DECL_NSIDOMGEOPOSITION
      74             : 
      75             :   nsDOMGeoPosition();
      76             : 
      77             : private:
      78             :   ~nsDOMGeoPosition();
      79             : 
      80             : protected:
      81             :   /* additional members */
      82             : };
      83             : 
      84             : /* Implementation file */
      85             : NS_IMPL_ISUPPORTS(nsDOMGeoPosition, nsIDOMGeoPosition)
      86             : 
      87             : nsDOMGeoPosition::nsDOMGeoPosition()
      88             : {
      89             :   /* member initializers and constructor code */
      90             : }
      91             : 
      92             : nsDOMGeoPosition::~nsDOMGeoPosition()
      93             : {
      94             :   /* destructor code */
      95             : }
      96             : 
      97             : /* readonly attribute DOMTimeStamp timestamp; */
      98             : NS_IMETHODIMP nsDOMGeoPosition::GetTimestamp(DOMTimeStamp *aTimestamp)
      99             : {
     100             :     return NS_ERROR_NOT_IMPLEMENTED;
     101             : }
     102             : 
     103             : /* readonly attribute nsIDOMGeoPositionCoords coords; */
     104             : NS_IMETHODIMP nsDOMGeoPosition::GetCoords(nsIDOMGeoPositionCoords * *aCoords)
     105             : {
     106             :     return NS_ERROR_NOT_IMPLEMENTED;
     107             : }
     108             : 
     109             : /* End of implementation class template. */
     110             : #endif
     111             : 
     112             : 
     113             : #endif /* __gen_nsIDOMGeoPosition_h__ */

Generated by: LCOV version 1.13