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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/extensions/pref/autoconfig/public/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                 : #define NS_AUTOCONFIG_CLASSNAME "AutoConfig Module"
      28                 : 
      29                 : /* starting interface:    nsIAutoConfig */
      30                 : #define NS_IAUTOCONFIG_IID_STR "80db54ae-13f2-11d5-be44-00108335a220"
      31                 : 
      32                 : #define NS_IAUTOCONFIG_IID \
      33                 :   {0x80db54ae, 0x13f2, 0x11d5, \
      34                 :     { 0xbe, 0x44, 0x00, 0x10, 0x83, 0x35, 0xa2, 0x20 }}
      35                 : 
      36               0 : class NS_NO_VTABLE nsIAutoConfig : public nsISupports {
      37                 :  public: 
      38                 : 
      39                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IAUTOCONFIG_IID)
      40                 : 
      41                 :   /* attribute string configURL; */
      42                 :   NS_IMETHOD GetConfigURL(char * *aConfigURL) = 0;
      43                 :   NS_IMETHOD SetConfigURL(const char * aConfigURL) = 0;
      44                 : 
      45                 : };
      46                 : 
      47                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIAutoConfig, NS_IAUTOCONFIG_IID)
      48                 : 
      49                 : /* Use this macro when declaring classes that implement this interface. */
      50                 : #define NS_DECL_NSIAUTOCONFIG \
      51                 :   NS_IMETHOD GetConfigURL(char * *aConfigURL); \
      52                 :   NS_IMETHOD SetConfigURL(const char * aConfigURL); 
      53                 : 
      54                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      55                 : #define NS_FORWARD_NSIAUTOCONFIG(_to) \
      56                 :   NS_IMETHOD GetConfigURL(char * *aConfigURL) { return _to GetConfigURL(aConfigURL); } \
      57                 :   NS_IMETHOD SetConfigURL(const char * aConfigURL) { return _to SetConfigURL(aConfigURL); } 
      58                 : 
      59                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      60                 : #define NS_FORWARD_SAFE_NSIAUTOCONFIG(_to) \
      61                 :   NS_IMETHOD GetConfigURL(char * *aConfigURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetConfigURL(aConfigURL); } \
      62                 :   NS_IMETHOD SetConfigURL(const char * aConfigURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetConfigURL(aConfigURL); } 
      63                 : 
      64                 : #if 0
      65                 : /* Use the code below as a template for the implementation class for this interface. */
      66                 : 
      67                 : /* Header file */
      68                 : class nsAutoConfig : public nsIAutoConfig
      69                 : {
      70                 : public:
      71                 :   NS_DECL_ISUPPORTS
      72                 :   NS_DECL_NSIAUTOCONFIG
      73                 : 
      74                 :   nsAutoConfig();
      75                 : 
      76                 : private:
      77                 :   ~nsAutoConfig();
      78                 : 
      79                 : protected:
      80                 :   /* additional members */
      81                 : };
      82                 : 
      83                 : /* Implementation file */
      84                 : NS_IMPL_ISUPPORTS1(nsAutoConfig, nsIAutoConfig)
      85                 : 
      86                 : nsAutoConfig::nsAutoConfig()
      87                 : {
      88                 :   /* member initializers and constructor code */
      89                 : }
      90                 : 
      91                 : nsAutoConfig::~nsAutoConfig()
      92                 : {
      93                 :   /* destructor code */
      94                 : }
      95                 : 
      96                 : /* attribute string configURL; */
      97                 : NS_IMETHODIMP nsAutoConfig::GetConfigURL(char * *aConfigURL)
      98                 : {
      99                 :     return NS_ERROR_NOT_IMPLEMENTED;
     100                 : }
     101                 : NS_IMETHODIMP nsAutoConfig::SetConfigURL(const char * aConfigURL)
     102                 : {
     103                 :     return NS_ERROR_NOT_IMPLEMENTED;
     104                 : }
     105                 : 
     106                 : /* End of implementation class template. */
     107                 : #endif
     108                 : 
     109                 : 
     110                 : #endif /* __gen_nsIAutoConfig_h__ */

Generated by: LCOV version 1.7