LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIChannelWithDivertableParentListener.h (source / functions) Hit Total Coverage
Test: output.info Lines: 1 1 100.0 %
Date: 2017-07-14 16:53:18 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIChannelWithDivertableParentListener.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIChannelWithDivertableParentListener_h__
       6             : #define __gen_nsIChannelWithDivertableParentListener_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             : namespace mozilla {
      18             : namespace net {
      19             : class ADivertableParentChannel;
      20             : }
      21             : }
      22             : 
      23             : /* starting interface:    nsIChannelWithDivertableParentListener */
      24             : #define NS_ICHANNELWITHDIVERTABLEPARENTLISTENER_IID_STR "c073d79f-2503-4dff-ba87-d3071f8b433b"
      25             : 
      26             : #define NS_ICHANNELWITHDIVERTABLEPARENTLISTENER_IID \
      27             :   {0xc073d79f, 0x2503, 0x4dff, \
      28             :     { 0xba, 0x87, 0xd3, 0x07, 0x1f, 0x8b, 0x43, 0x3b }}
      29             : 
      30           7 : class NS_NO_VTABLE nsIChannelWithDivertableParentListener : public nsISupports {
      31             :  public:
      32             : 
      33             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICHANNELWITHDIVERTABLEPARENTLISTENER_IID)
      34             : 
      35             :   /* void MessageDiversionStarted (in ADivertableParentChannelPtr aParentChannel); */
      36             :   NS_IMETHOD MessageDiversionStarted(mozilla::net::ADivertableParentChannel *aParentChannel) = 0;
      37             : 
      38             :   /* void MessageDiversionStop (); */
      39             :   NS_IMETHOD MessageDiversionStop(void) = 0;
      40             : 
      41             :   /* void SuspendInternal (); */
      42             :   NS_IMETHOD SuspendInternal(void) = 0;
      43             : 
      44             :   /* void ResumeInternal (); */
      45             :   NS_IMETHOD ResumeInternal(void) = 0;
      46             : 
      47             : };
      48             : 
      49             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIChannelWithDivertableParentListener, NS_ICHANNELWITHDIVERTABLEPARENTLISTENER_IID)
      50             : 
      51             : /* Use this macro when declaring classes that implement this interface. */
      52             : #define NS_DECL_NSICHANNELWITHDIVERTABLEPARENTLISTENER \
      53             :   NS_IMETHOD MessageDiversionStarted(mozilla::net::ADivertableParentChannel *aParentChannel) override; \
      54             :   NS_IMETHOD MessageDiversionStop(void) override; \
      55             :   NS_IMETHOD SuspendInternal(void) override; \
      56             :   NS_IMETHOD ResumeInternal(void) override; 
      57             : 
      58             : /* Use this macro when declaring the members of this interface when the
      59             :    class doesn't implement the interface. This is useful for forwarding. */
      60             : #define NS_DECL_NON_VIRTUAL_NSICHANNELWITHDIVERTABLEPARENTLISTENER \
      61             :   nsresult MessageDiversionStarted(mozilla::net::ADivertableParentChannel *aParentChannel); \
      62             :   nsresult MessageDiversionStop(void); \
      63             :   nsresult SuspendInternal(void); \
      64             :   nsresult ResumeInternal(void); 
      65             : 
      66             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      67             : #define NS_FORWARD_NSICHANNELWITHDIVERTABLEPARENTLISTENER(_to) \
      68             :   NS_IMETHOD MessageDiversionStarted(mozilla::net::ADivertableParentChannel *aParentChannel) override { return _to MessageDiversionStarted(aParentChannel); } \
      69             :   NS_IMETHOD MessageDiversionStop(void) override { return _to MessageDiversionStop(); } \
      70             :   NS_IMETHOD SuspendInternal(void) override { return _to SuspendInternal(); } \
      71             :   NS_IMETHOD ResumeInternal(void) override { return _to ResumeInternal(); } 
      72             : 
      73             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      74             : #define NS_FORWARD_SAFE_NSICHANNELWITHDIVERTABLEPARENTLISTENER(_to) \
      75             :   NS_IMETHOD MessageDiversionStarted(mozilla::net::ADivertableParentChannel *aParentChannel) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MessageDiversionStarted(aParentChannel); } \
      76             :   NS_IMETHOD MessageDiversionStop(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MessageDiversionStop(); } \
      77             :   NS_IMETHOD SuspendInternal(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SuspendInternal(); } \
      78             :   NS_IMETHOD ResumeInternal(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ResumeInternal(); } 
      79             : 
      80             : #if 0
      81             : /* Use the code below as a template for the implementation class for this interface. */
      82             : 
      83             : /* Header file */
      84             : class nsChannelWithDivertableParentListener : public nsIChannelWithDivertableParentListener
      85             : {
      86             : public:
      87             :   NS_DECL_ISUPPORTS
      88             :   NS_DECL_NSICHANNELWITHDIVERTABLEPARENTLISTENER
      89             : 
      90             :   nsChannelWithDivertableParentListener();
      91             : 
      92             : private:
      93             :   ~nsChannelWithDivertableParentListener();
      94             : 
      95             : protected:
      96             :   /* additional members */
      97             : };
      98             : 
      99             : /* Implementation file */
     100             : NS_IMPL_ISUPPORTS(nsChannelWithDivertableParentListener, nsIChannelWithDivertableParentListener)
     101             : 
     102             : nsChannelWithDivertableParentListener::nsChannelWithDivertableParentListener()
     103             : {
     104             :   /* member initializers and constructor code */
     105             : }
     106             : 
     107             : nsChannelWithDivertableParentListener::~nsChannelWithDivertableParentListener()
     108             : {
     109             :   /* destructor code */
     110             : }
     111             : 
     112             : /* void MessageDiversionStarted (in ADivertableParentChannelPtr aParentChannel); */
     113             : NS_IMETHODIMP nsChannelWithDivertableParentListener::MessageDiversionStarted(mozilla::net::ADivertableParentChannel *aParentChannel)
     114             : {
     115             :     return NS_ERROR_NOT_IMPLEMENTED;
     116             : }
     117             : 
     118             : /* void MessageDiversionStop (); */
     119             : NS_IMETHODIMP nsChannelWithDivertableParentListener::MessageDiversionStop()
     120             : {
     121             :     return NS_ERROR_NOT_IMPLEMENTED;
     122             : }
     123             : 
     124             : /* void SuspendInternal (); */
     125             : NS_IMETHODIMP nsChannelWithDivertableParentListener::SuspendInternal()
     126             : {
     127             :     return NS_ERROR_NOT_IMPLEMENTED;
     128             : }
     129             : 
     130             : /* void ResumeInternal (); */
     131             : NS_IMETHODIMP nsChannelWithDivertableParentListener::ResumeInternal()
     132             : {
     133             :     return NS_ERROR_NOT_IMPLEMENTED;
     134             : }
     135             : 
     136             : /* End of implementation class template. */
     137             : #endif
     138             : 
     139             : 
     140             : #endif /* __gen_nsIChannelWithDivertableParentListener_h__ */

Generated by: LCOV version 1.13