LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIURIChecker.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/netwerk/base/public/nsIURIChecker.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIURIChecker_h__
       6                 : #define __gen_nsIURIChecker_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIRequest_h__
      10                 : #include "nsIRequest.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 nsIURI; /* forward declaration */
      18                 : 
      19                 : class nsIChannel; /* forward declaration */
      20                 : 
      21                 : class nsIRequestObserver; /* forward declaration */
      22                 : 
      23                 : 
      24                 : /* starting interface:    nsIURIChecker */
      25                 : #define NS_IURICHECKER_IID_STR "4660c1a1-be2d-4c78-9baf-c22984176c28"
      26                 : 
      27                 : #define NS_IURICHECKER_IID \
      28                 :   {0x4660c1a1, 0xbe2d, 0x4c78, \
      29                 :     { 0x9b, 0xaf, 0xc2, 0x29, 0x84, 0x17, 0x6c, 0x28 }}
      30                 : 
      31               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIURIChecker : public nsIRequest {
      32                 :  public: 
      33                 : 
      34                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IURICHECKER_IID)
      35                 : 
      36                 :   /* void init (in nsIURI aURI); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD Init(nsIURI *aURI) = 0;
      38                 : 
      39                 :   /* readonly attribute nsIChannel baseChannel; */
      40                 :   NS_SCRIPTABLE NS_IMETHOD GetBaseChannel(nsIChannel * *aBaseChannel) = 0;
      41                 : 
      42                 :   /* void asyncCheck (in nsIRequestObserver aObserver, in nsISupports aContext); */
      43                 :   NS_SCRIPTABLE NS_IMETHOD AsyncCheck(nsIRequestObserver *aObserver, nsISupports *aContext) = 0;
      44                 : 
      45                 : };
      46                 : 
      47                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIURIChecker, NS_IURICHECKER_IID)
      48                 : 
      49                 : /* Use this macro when declaring classes that implement this interface. */
      50                 : #define NS_DECL_NSIURICHECKER \
      51                 :   NS_SCRIPTABLE NS_IMETHOD Init(nsIURI *aURI); \
      52                 :   NS_SCRIPTABLE NS_IMETHOD GetBaseChannel(nsIChannel * *aBaseChannel); \
      53                 :   NS_SCRIPTABLE NS_IMETHOD AsyncCheck(nsIRequestObserver *aObserver, nsISupports *aContext); 
      54                 : 
      55                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      56                 : #define NS_FORWARD_NSIURICHECKER(_to) \
      57                 :   NS_SCRIPTABLE NS_IMETHOD Init(nsIURI *aURI) { return _to Init(aURI); } \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetBaseChannel(nsIChannel * *aBaseChannel) { return _to GetBaseChannel(aBaseChannel); } \
      59                 :   NS_SCRIPTABLE NS_IMETHOD AsyncCheck(nsIRequestObserver *aObserver, nsISupports *aContext) { return _to AsyncCheck(aObserver, aContext); } 
      60                 : 
      61                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      62                 : #define NS_FORWARD_SAFE_NSIURICHECKER(_to) \
      63                 :   NS_SCRIPTABLE NS_IMETHOD Init(nsIURI *aURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aURI); } \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetBaseChannel(nsIChannel * *aBaseChannel) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBaseChannel(aBaseChannel); } \
      65                 :   NS_SCRIPTABLE NS_IMETHOD AsyncCheck(nsIRequestObserver *aObserver, nsISupports *aContext) { return !_to ? NS_ERROR_NULL_POINTER : _to->AsyncCheck(aObserver, aContext); } 
      66                 : 
      67                 : #if 0
      68                 : /* Use the code below as a template for the implementation class for this interface. */
      69                 : 
      70                 : /* Header file */
      71                 : class nsURIChecker : public nsIURIChecker
      72                 : {
      73                 : public:
      74                 :   NS_DECL_ISUPPORTS
      75                 :   NS_DECL_NSIURICHECKER
      76                 : 
      77                 :   nsURIChecker();
      78                 : 
      79                 : private:
      80                 :   ~nsURIChecker();
      81                 : 
      82                 : protected:
      83                 :   /* additional members */
      84                 : };
      85                 : 
      86                 : /* Implementation file */
      87                 : NS_IMPL_ISUPPORTS1(nsURIChecker, nsIURIChecker)
      88                 : 
      89                 : nsURIChecker::nsURIChecker()
      90                 : {
      91                 :   /* member initializers and constructor code */
      92                 : }
      93                 : 
      94                 : nsURIChecker::~nsURIChecker()
      95                 : {
      96                 :   /* destructor code */
      97                 : }
      98                 : 
      99                 : /* void init (in nsIURI aURI); */
     100                 : NS_IMETHODIMP nsURIChecker::Init(nsIURI *aURI)
     101                 : {
     102                 :     return NS_ERROR_NOT_IMPLEMENTED;
     103                 : }
     104                 : 
     105                 : /* readonly attribute nsIChannel baseChannel; */
     106                 : NS_IMETHODIMP nsURIChecker::GetBaseChannel(nsIChannel * *aBaseChannel)
     107                 : {
     108                 :     return NS_ERROR_NOT_IMPLEMENTED;
     109                 : }
     110                 : 
     111                 : /* void asyncCheck (in nsIRequestObserver aObserver, in nsISupports aContext); */
     112                 : NS_IMETHODIMP nsURIChecker::AsyncCheck(nsIRequestObserver *aObserver, nsISupports *aContext)
     113                 : {
     114                 :     return NS_ERROR_NOT_IMPLEMENTED;
     115                 : }
     116                 : 
     117                 : /* End of implementation class template. */
     118                 : #endif
     119                 : 
     120                 : 
     121                 : #endif /* __gen_nsIURIChecker_h__ */

Generated by: LCOV version 1.7