LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMNavigator.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/nsIDOMNavigator.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMNavigator_h__
       6             : #define __gen_nsIDOMNavigator_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             : class nsIIdleObserver; /* forward declaration */
      18             : 
      19             : 
      20             : /* starting interface:    nsIDOMNavigator */
      21             : #define NS_IDOMNAVIGATOR_IID_STR "f1101fbb-d119-4cb8-845b-6bbae8a151c7"
      22             : 
      23             : #define NS_IDOMNAVIGATOR_IID \
      24             :   {0xf1101fbb, 0xd119, 0x4cb8, \
      25             :     { 0x84, 0x5b, 0x6b, 0xba, 0xe8, 0xa1, 0x51, 0xc7 }}
      26             : 
      27           0 : class NS_NO_VTABLE nsIDOMNavigator : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMNAVIGATOR_IID)
      31             : 
      32             :   /* readonly attribute DOMString appCodeName; */
      33             :   NS_IMETHOD GetAppCodeName(nsAString & aAppCodeName) = 0;
      34             : 
      35             :   /* readonly attribute DOMString language; */
      36             :   NS_IMETHOD GetLanguage(nsAString & aLanguage) = 0;
      37             : 
      38             :   /* readonly attribute DOMString vendor; */
      39             :   NS_IMETHOD GetVendor(nsAString & aVendor) = 0;
      40             : 
      41             :   /* readonly attribute DOMString vendorSub; */
      42             :   NS_IMETHOD GetVendorSub(nsAString & aVendorSub) = 0;
      43             : 
      44             :   /* readonly attribute DOMString product; */
      45             :   NS_IMETHOD GetProduct(nsAString & aProduct) = 0;
      46             : 
      47             :   /* readonly attribute DOMString productSub; */
      48             :   NS_IMETHOD GetProductSub(nsAString & aProductSub) = 0;
      49             : 
      50             :   /* readonly attribute DOMString doNotTrack; */
      51             :   NS_IMETHOD GetDoNotTrack(nsAString & aDoNotTrack) = 0;
      52             : 
      53             : };
      54             : 
      55             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMNavigator, NS_IDOMNAVIGATOR_IID)
      56             : 
      57             : /* Use this macro when declaring classes that implement this interface. */
      58             : #define NS_DECL_NSIDOMNAVIGATOR \
      59             :   NS_IMETHOD GetAppCodeName(nsAString & aAppCodeName) override; \
      60             :   NS_IMETHOD GetLanguage(nsAString & aLanguage) override; \
      61             :   NS_IMETHOD GetVendor(nsAString & aVendor) override; \
      62             :   NS_IMETHOD GetVendorSub(nsAString & aVendorSub) override; \
      63             :   NS_IMETHOD GetProduct(nsAString & aProduct) override; \
      64             :   NS_IMETHOD GetProductSub(nsAString & aProductSub) override; \
      65             :   NS_IMETHOD GetDoNotTrack(nsAString & aDoNotTrack) override; 
      66             : 
      67             : /* Use this macro when declaring the members of this interface when the
      68             :    class doesn't implement the interface. This is useful for forwarding. */
      69             : #define NS_DECL_NON_VIRTUAL_NSIDOMNAVIGATOR \
      70             :   nsresult GetAppCodeName(nsAString & aAppCodeName); \
      71             :   nsresult GetLanguage(nsAString & aLanguage); \
      72             :   nsresult GetVendor(nsAString & aVendor); \
      73             :   nsresult GetVendorSub(nsAString & aVendorSub); \
      74             :   nsresult GetProduct(nsAString & aProduct); \
      75             :   nsresult GetProductSub(nsAString & aProductSub); \
      76             :   nsresult GetDoNotTrack(nsAString & aDoNotTrack); 
      77             : 
      78             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      79             : #define NS_FORWARD_NSIDOMNAVIGATOR(_to) \
      80             :   NS_IMETHOD GetAppCodeName(nsAString & aAppCodeName) override { return _to GetAppCodeName(aAppCodeName); } \
      81             :   NS_IMETHOD GetLanguage(nsAString & aLanguage) override { return _to GetLanguage(aLanguage); } \
      82             :   NS_IMETHOD GetVendor(nsAString & aVendor) override { return _to GetVendor(aVendor); } \
      83             :   NS_IMETHOD GetVendorSub(nsAString & aVendorSub) override { return _to GetVendorSub(aVendorSub); } \
      84             :   NS_IMETHOD GetProduct(nsAString & aProduct) override { return _to GetProduct(aProduct); } \
      85             :   NS_IMETHOD GetProductSub(nsAString & aProductSub) override { return _to GetProductSub(aProductSub); } \
      86             :   NS_IMETHOD GetDoNotTrack(nsAString & aDoNotTrack) override { return _to GetDoNotTrack(aDoNotTrack); } 
      87             : 
      88             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      89             : #define NS_FORWARD_SAFE_NSIDOMNAVIGATOR(_to) \
      90             :   NS_IMETHOD GetAppCodeName(nsAString & aAppCodeName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAppCodeName(aAppCodeName); } \
      91             :   NS_IMETHOD GetLanguage(nsAString & aLanguage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLanguage(aLanguage); } \
      92             :   NS_IMETHOD GetVendor(nsAString & aVendor) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVendor(aVendor); } \
      93             :   NS_IMETHOD GetVendorSub(nsAString & aVendorSub) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetVendorSub(aVendorSub); } \
      94             :   NS_IMETHOD GetProduct(nsAString & aProduct) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProduct(aProduct); } \
      95             :   NS_IMETHOD GetProductSub(nsAString & aProductSub) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProductSub(aProductSub); } \
      96             :   NS_IMETHOD GetDoNotTrack(nsAString & aDoNotTrack) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoNotTrack(aDoNotTrack); } 
      97             : 
      98             : #if 0
      99             : /* Use the code below as a template for the implementation class for this interface. */
     100             : 
     101             : /* Header file */
     102             : class nsDOMNavigator : public nsIDOMNavigator
     103             : {
     104             : public:
     105             :   NS_DECL_ISUPPORTS
     106             :   NS_DECL_NSIDOMNAVIGATOR
     107             : 
     108             :   nsDOMNavigator();
     109             : 
     110             : private:
     111             :   ~nsDOMNavigator();
     112             : 
     113             : protected:
     114             :   /* additional members */
     115             : };
     116             : 
     117             : /* Implementation file */
     118             : NS_IMPL_ISUPPORTS(nsDOMNavigator, nsIDOMNavigator)
     119             : 
     120             : nsDOMNavigator::nsDOMNavigator()
     121             : {
     122             :   /* member initializers and constructor code */
     123             : }
     124             : 
     125             : nsDOMNavigator::~nsDOMNavigator()
     126             : {
     127             :   /* destructor code */
     128             : }
     129             : 
     130             : /* readonly attribute DOMString appCodeName; */
     131             : NS_IMETHODIMP nsDOMNavigator::GetAppCodeName(nsAString & aAppCodeName)
     132             : {
     133             :     return NS_ERROR_NOT_IMPLEMENTED;
     134             : }
     135             : 
     136             : /* readonly attribute DOMString language; */
     137             : NS_IMETHODIMP nsDOMNavigator::GetLanguage(nsAString & aLanguage)
     138             : {
     139             :     return NS_ERROR_NOT_IMPLEMENTED;
     140             : }
     141             : 
     142             : /* readonly attribute DOMString vendor; */
     143             : NS_IMETHODIMP nsDOMNavigator::GetVendor(nsAString & aVendor)
     144             : {
     145             :     return NS_ERROR_NOT_IMPLEMENTED;
     146             : }
     147             : 
     148             : /* readonly attribute DOMString vendorSub; */
     149             : NS_IMETHODIMP nsDOMNavigator::GetVendorSub(nsAString & aVendorSub)
     150             : {
     151             :     return NS_ERROR_NOT_IMPLEMENTED;
     152             : }
     153             : 
     154             : /* readonly attribute DOMString product; */
     155             : NS_IMETHODIMP nsDOMNavigator::GetProduct(nsAString & aProduct)
     156             : {
     157             :     return NS_ERROR_NOT_IMPLEMENTED;
     158             : }
     159             : 
     160             : /* readonly attribute DOMString productSub; */
     161             : NS_IMETHODIMP nsDOMNavigator::GetProductSub(nsAString & aProductSub)
     162             : {
     163             :     return NS_ERROR_NOT_IMPLEMENTED;
     164             : }
     165             : 
     166             : /* readonly attribute DOMString doNotTrack; */
     167             : NS_IMETHODIMP nsDOMNavigator::GetDoNotTrack(nsAString & aDoNotTrack)
     168             : {
     169             :     return NS_ERROR_NOT_IMPLEMENTED;
     170             : }
     171             : 
     172             : /* End of implementation class template. */
     173             : #endif
     174             : 
     175             : 
     176             : #endif /* __gen_nsIDOMNavigator_h__ */

Generated by: LCOV version 1.13