LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIChildChannel.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/nsIChildChannel.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIChildChannel_h__
       6                 : #define __gen_nsIChildChannel_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                 : class nsIStreamListener; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsIChildChannel */
      21                 : #define NS_ICHILDCHANNEL_IID_STR "c45b92ae-4f07-41dd-b0ef-aa044eeabb1e"
      22                 : 
      23                 : #define NS_ICHILDCHANNEL_IID \
      24                 :   {0xc45b92ae, 0x4f07, 0x41dd, \
      25                 :     { 0xb0, 0xef, 0xaa, 0x04, 0x4e, 0xea, 0xbb, 0x1e }}
      26                 : 
      27               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIChildChannel : public nsISupports {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICHILDCHANNEL_IID)
      31                 : 
      32                 :   /* void connectParent (in PRUint32 id); */
      33                 :   NS_SCRIPTABLE NS_IMETHOD ConnectParent(PRUint32 id) = 0;
      34                 : 
      35                 :   /* void completeRedirectSetup (in nsIStreamListener aListener, in nsISupports aContext); */
      36                 :   NS_SCRIPTABLE NS_IMETHOD CompleteRedirectSetup(nsIStreamListener *aListener, nsISupports *aContext) = 0;
      37                 : 
      38                 : };
      39                 : 
      40                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIChildChannel, NS_ICHILDCHANNEL_IID)
      41                 : 
      42                 : /* Use this macro when declaring classes that implement this interface. */
      43                 : #define NS_DECL_NSICHILDCHANNEL \
      44                 :   NS_SCRIPTABLE NS_IMETHOD ConnectParent(PRUint32 id); \
      45                 :   NS_SCRIPTABLE NS_IMETHOD CompleteRedirectSetup(nsIStreamListener *aListener, nsISupports *aContext); 
      46                 : 
      47                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      48                 : #define NS_FORWARD_NSICHILDCHANNEL(_to) \
      49                 :   NS_SCRIPTABLE NS_IMETHOD ConnectParent(PRUint32 id) { return _to ConnectParent(id); } \
      50                 :   NS_SCRIPTABLE NS_IMETHOD CompleteRedirectSetup(nsIStreamListener *aListener, nsISupports *aContext) { return _to CompleteRedirectSetup(aListener, aContext); } 
      51                 : 
      52                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      53                 : #define NS_FORWARD_SAFE_NSICHILDCHANNEL(_to) \
      54                 :   NS_SCRIPTABLE NS_IMETHOD ConnectParent(PRUint32 id) { return !_to ? NS_ERROR_NULL_POINTER : _to->ConnectParent(id); } \
      55                 :   NS_SCRIPTABLE NS_IMETHOD CompleteRedirectSetup(nsIStreamListener *aListener, nsISupports *aContext) { return !_to ? NS_ERROR_NULL_POINTER : _to->CompleteRedirectSetup(aListener, aContext); } 
      56                 : 
      57                 : #if 0
      58                 : /* Use the code below as a template for the implementation class for this interface. */
      59                 : 
      60                 : /* Header file */
      61                 : class nsChildChannel : public nsIChildChannel
      62                 : {
      63                 : public:
      64                 :   NS_DECL_ISUPPORTS
      65                 :   NS_DECL_NSICHILDCHANNEL
      66                 : 
      67                 :   nsChildChannel();
      68                 : 
      69                 : private:
      70                 :   ~nsChildChannel();
      71                 : 
      72                 : protected:
      73                 :   /* additional members */
      74                 : };
      75                 : 
      76                 : /* Implementation file */
      77                 : NS_IMPL_ISUPPORTS1(nsChildChannel, nsIChildChannel)
      78                 : 
      79                 : nsChildChannel::nsChildChannel()
      80                 : {
      81                 :   /* member initializers and constructor code */
      82                 : }
      83                 : 
      84                 : nsChildChannel::~nsChildChannel()
      85                 : {
      86                 :   /* destructor code */
      87                 : }
      88                 : 
      89                 : /* void connectParent (in PRUint32 id); */
      90                 : NS_IMETHODIMP nsChildChannel::ConnectParent(PRUint32 id)
      91                 : {
      92                 :     return NS_ERROR_NOT_IMPLEMENTED;
      93                 : }
      94                 : 
      95                 : /* void completeRedirectSetup (in nsIStreamListener aListener, in nsISupports aContext); */
      96                 : NS_IMETHODIMP nsChildChannel::CompleteRedirectSetup(nsIStreamListener *aListener, nsISupports *aContext)
      97                 : {
      98                 :     return NS_ERROR_NOT_IMPLEMENTED;
      99                 : }
     100                 : 
     101                 : /* End of implementation class template. */
     102                 : #endif
     103                 : 
     104                 : 
     105                 : #endif /* __gen_nsIChildChannel_h__ */

Generated by: LCOV version 1.7