LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIAutoConfig.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/nsIAutoConfig.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIAutoConfig_h__
       6             : #define __gen_nsIAutoConfig_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.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             : #define NS_AUTOCONFIG_CID\
      19             :   { 0xe036c738,\
      20             :     0x1dd1,\
      21             :     0x11b2,\
      22             :     { 0x93, 0x92, 0x9d, 0x94, 0xaa, 0x74, 0xb0, 0xc5 }\
      23             :   }
      24             :  
      25             : #define NS_AUTOCONFIG_CONTRACTID \
      26             :   "@mozilla.org/autoconfiguration;1" 
      27             : 
      28             : /* starting interface:    nsIAutoConfig */
      29             : #define NS_IAUTOCONFIG_IID_STR "80db54ae-13f2-11d5-be44-00108335a220"
      30             : 
      31             : #define NS_IAUTOCONFIG_IID \
      32             :   {0x80db54ae, 0x13f2, 0x11d5, \
      33             :     { 0xbe, 0x44, 0x00, 0x10, 0x83, 0x35, 0xa2, 0x20 }}
      34             : 
      35           0 : class NS_NO_VTABLE nsIAutoConfig : public nsISupports {
      36             :  public:
      37             : 
      38             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IAUTOCONFIG_IID)
      39             : 
      40             :   /* attribute string configURL; */
      41             :   NS_IMETHOD GetConfigURL(char * *aConfigURL) = 0;
      42             :   NS_IMETHOD SetConfigURL(const char * aConfigURL) = 0;
      43             : 
      44             : };
      45             : 
      46             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAutoConfig, NS_IAUTOCONFIG_IID)
      47             : 
      48             : /* Use this macro when declaring classes that implement this interface. */
      49             : #define NS_DECL_NSIAUTOCONFIG \
      50             :   NS_IMETHOD GetConfigURL(char * *aConfigURL) override; \
      51             :   NS_IMETHOD SetConfigURL(const char * aConfigURL) override; 
      52             : 
      53             : /* Use this macro when declaring the members of this interface when the
      54             :    class doesn't implement the interface. This is useful for forwarding. */
      55             : #define NS_DECL_NON_VIRTUAL_NSIAUTOCONFIG \
      56             :   nsresult GetConfigURL(char * *aConfigURL); \
      57             :   nsresult SetConfigURL(const char * aConfigURL); 
      58             : 
      59             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      60             : #define NS_FORWARD_NSIAUTOCONFIG(_to) \
      61             :   NS_IMETHOD GetConfigURL(char * *aConfigURL) override { return _to GetConfigURL(aConfigURL); } \
      62             :   NS_IMETHOD SetConfigURL(const char * aConfigURL) override { return _to SetConfigURL(aConfigURL); } 
      63             : 
      64             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      65             : #define NS_FORWARD_SAFE_NSIAUTOCONFIG(_to) \
      66             :   NS_IMETHOD GetConfigURL(char * *aConfigURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetConfigURL(aConfigURL); } \
      67             :   NS_IMETHOD SetConfigURL(const char * aConfigURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetConfigURL(aConfigURL); } 
      68             : 
      69             : #if 0
      70             : /* Use the code below as a template for the implementation class for this interface. */
      71             : 
      72             : /* Header file */
      73             : class nsAutoConfig : public nsIAutoConfig
      74             : {
      75             : public:
      76             :   NS_DECL_ISUPPORTS
      77             :   NS_DECL_NSIAUTOCONFIG
      78             : 
      79             :   nsAutoConfig();
      80             : 
      81             : private:
      82             :   ~nsAutoConfig();
      83             : 
      84             : protected:
      85             :   /* additional members */
      86             : };
      87             : 
      88             : /* Implementation file */
      89             : NS_IMPL_ISUPPORTS(nsAutoConfig, nsIAutoConfig)
      90             : 
      91             : nsAutoConfig::nsAutoConfig()
      92             : {
      93             :   /* member initializers and constructor code */
      94             : }
      95             : 
      96             : nsAutoConfig::~nsAutoConfig()
      97             : {
      98             :   /* destructor code */
      99             : }
     100             : 
     101             : /* attribute string configURL; */
     102             : NS_IMETHODIMP nsAutoConfig::GetConfigURL(char * *aConfigURL)
     103             : {
     104             :     return NS_ERROR_NOT_IMPLEMENTED;
     105             : }
     106             : NS_IMETHODIMP nsAutoConfig::SetConfigURL(const char * aConfigURL)
     107             : {
     108             :     return NS_ERROR_NOT_IMPLEMENTED;
     109             : }
     110             : 
     111             : /* End of implementation class template. */
     112             : #endif
     113             : 
     114             : 
     115             : #endif /* __gen_nsIAutoConfig_h__ */

Generated by: LCOV version 1.13