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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/netwerk/base/public/nsISystemProxySettings.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsISystemProxySettings_h__
       6                 : #define __gen_nsISystemProxySettings_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsIURI_h__
      14                 : #include "nsIURI.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:    nsISystemProxySettings */
      23                 : #define NS_ISYSTEMPROXYSETTINGS_IID_STR "a9f3ae38-b769-4e0b-9317-578388e326c9"
      24                 : 
      25                 : #define NS_ISYSTEMPROXYSETTINGS_IID \
      26                 :   {0xa9f3ae38, 0xb769, 0x4e0b, \
      27                 :     { 0x93, 0x17, 0x57, 0x83, 0x88, 0xe3, 0x26, 0xc9 }}
      28                 : 
      29             269 : class NS_NO_VTABLE NS_SCRIPTABLE nsISystemProxySettings : public nsISupports {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISYSTEMPROXYSETTINGS_IID)
      33                 : 
      34                 :   /* readonly attribute AUTF8String PACURI; */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetPACURI(nsACString & aPACURI) = 0;
      36                 : 
      37                 :   /* AUTF8String getProxyForURI (in nsIURI aURI); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD GetProxyForURI(nsIURI *aURI, nsACString & _retval NS_OUTPARAM) = 0;
      39                 : 
      40                 : };
      41                 : 
      42                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsISystemProxySettings, NS_ISYSTEMPROXYSETTINGS_IID)
      43                 : 
      44                 : /* Use this macro when declaring classes that implement this interface. */
      45                 : #define NS_DECL_NSISYSTEMPROXYSETTINGS \
      46                 :   NS_SCRIPTABLE NS_IMETHOD GetPACURI(nsACString & aPACURI); \
      47                 :   NS_SCRIPTABLE NS_IMETHOD GetProxyForURI(nsIURI *aURI, nsACString & _retval NS_OUTPARAM); 
      48                 : 
      49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      50                 : #define NS_FORWARD_NSISYSTEMPROXYSETTINGS(_to) \
      51                 :   NS_SCRIPTABLE NS_IMETHOD GetPACURI(nsACString & aPACURI) { return _to GetPACURI(aPACURI); } \
      52                 :   NS_SCRIPTABLE NS_IMETHOD GetProxyForURI(nsIURI *aURI, nsACString & _retval NS_OUTPARAM) { return _to GetProxyForURI(aURI, _retval); } 
      53                 : 
      54                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      55                 : #define NS_FORWARD_SAFE_NSISYSTEMPROXYSETTINGS(_to) \
      56                 :   NS_SCRIPTABLE NS_IMETHOD GetPACURI(nsACString & aPACURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPACURI(aPACURI); } \
      57                 :   NS_SCRIPTABLE NS_IMETHOD GetProxyForURI(nsIURI *aURI, nsACString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetProxyForURI(aURI, _retval); } 
      58                 : 
      59                 : #if 0
      60                 : /* Use the code below as a template for the implementation class for this interface. */
      61                 : 
      62                 : /* Header file */
      63                 : class nsSystemProxySettings : public nsISystemProxySettings
      64                 : {
      65                 : public:
      66                 :   NS_DECL_ISUPPORTS
      67                 :   NS_DECL_NSISYSTEMPROXYSETTINGS
      68                 : 
      69                 :   nsSystemProxySettings();
      70                 : 
      71                 : private:
      72                 :   ~nsSystemProxySettings();
      73                 : 
      74                 : protected:
      75                 :   /* additional members */
      76                 : };
      77                 : 
      78                 : /* Implementation file */
      79                 : NS_IMPL_ISUPPORTS1(nsSystemProxySettings, nsISystemProxySettings)
      80                 : 
      81                 : nsSystemProxySettings::nsSystemProxySettings()
      82                 : {
      83                 :   /* member initializers and constructor code */
      84                 : }
      85                 : 
      86                 : nsSystemProxySettings::~nsSystemProxySettings()
      87                 : {
      88                 :   /* destructor code */
      89                 : }
      90                 : 
      91                 : /* readonly attribute AUTF8String PACURI; */
      92                 : NS_IMETHODIMP nsSystemProxySettings::GetPACURI(nsACString & aPACURI)
      93                 : {
      94                 :     return NS_ERROR_NOT_IMPLEMENTED;
      95                 : }
      96                 : 
      97                 : /* AUTF8String getProxyForURI (in nsIURI aURI); */
      98                 : NS_IMETHODIMP nsSystemProxySettings::GetProxyForURI(nsIURI *aURI, nsACString & _retval NS_OUTPARAM)
      99                 : {
     100                 :     return NS_ERROR_NOT_IMPLEMENTED;
     101                 : }
     102                 : 
     103                 : /* End of implementation class template. */
     104                 : #endif
     105                 : 
     106                 : 
     107                 : #endif /* __gen_nsISystemProxySettings_h__ */

Generated by: LCOV version 1.7