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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIHTTPHeaderListener.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIHTTPHeaderListener_h__
       6             : #define __gen_nsIHTTPHeaderListener_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             : /* starting interface:    nsIHTTPHeaderListener */
      19             : #define NS_IHTTPHEADERLISTENER_IID_STR "ea51e0b8-871c-4b85-92da-6f400394c5ec"
      20             : 
      21             : #define NS_IHTTPHEADERLISTENER_IID \
      22             :   {0xea51e0b8, 0x871c, 0x4b85, \
      23             :     { 0x92, 0xda, 0x6f, 0x40, 0x03, 0x94, 0xc5, 0xec }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIHTTPHeaderListener : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IHTTPHEADERLISTENER_IID)
      29             : 
      30             :   /* void newResponseHeader (in string headerName, in string headerValue); */
      31             :   NS_IMETHOD NewResponseHeader(const char * headerName, const char * headerValue) = 0;
      32             : 
      33             :   /* void statusLine (in string line); */
      34             :   NS_IMETHOD StatusLine(const char * line) = 0;
      35             : 
      36             : };
      37             : 
      38             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIHTTPHeaderListener, NS_IHTTPHEADERLISTENER_IID)
      39             : 
      40             : /* Use this macro when declaring classes that implement this interface. */
      41             : #define NS_DECL_NSIHTTPHEADERLISTENER \
      42             :   NS_IMETHOD NewResponseHeader(const char * headerName, const char * headerValue) override; \
      43             :   NS_IMETHOD StatusLine(const char * line) override; 
      44             : 
      45             : /* Use this macro when declaring the members of this interface when the
      46             :    class doesn't implement the interface. This is useful for forwarding. */
      47             : #define NS_DECL_NON_VIRTUAL_NSIHTTPHEADERLISTENER \
      48             :   nsresult NewResponseHeader(const char * headerName, const char * headerValue); \
      49             :   nsresult StatusLine(const char * line); 
      50             : 
      51             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      52             : #define NS_FORWARD_NSIHTTPHEADERLISTENER(_to) \
      53             :   NS_IMETHOD NewResponseHeader(const char * headerName, const char * headerValue) override { return _to NewResponseHeader(headerName, headerValue); } \
      54             :   NS_IMETHOD StatusLine(const char * line) override { return _to StatusLine(line); } 
      55             : 
      56             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      57             : #define NS_FORWARD_SAFE_NSIHTTPHEADERLISTENER(_to) \
      58             :   NS_IMETHOD NewResponseHeader(const char * headerName, const char * headerValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NewResponseHeader(headerName, headerValue); } \
      59             :   NS_IMETHOD StatusLine(const char * line) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StatusLine(line); } 
      60             : 
      61             : #if 0
      62             : /* Use the code below as a template for the implementation class for this interface. */
      63             : 
      64             : /* Header file */
      65             : class nsHTTPHeaderListener : public nsIHTTPHeaderListener
      66             : {
      67             : public:
      68             :   NS_DECL_ISUPPORTS
      69             :   NS_DECL_NSIHTTPHEADERLISTENER
      70             : 
      71             :   nsHTTPHeaderListener();
      72             : 
      73             : private:
      74             :   ~nsHTTPHeaderListener();
      75             : 
      76             : protected:
      77             :   /* additional members */
      78             : };
      79             : 
      80             : /* Implementation file */
      81             : NS_IMPL_ISUPPORTS(nsHTTPHeaderListener, nsIHTTPHeaderListener)
      82             : 
      83             : nsHTTPHeaderListener::nsHTTPHeaderListener()
      84             : {
      85             :   /* member initializers and constructor code */
      86             : }
      87             : 
      88             : nsHTTPHeaderListener::~nsHTTPHeaderListener()
      89             : {
      90             :   /* destructor code */
      91             : }
      92             : 
      93             : /* void newResponseHeader (in string headerName, in string headerValue); */
      94             : NS_IMETHODIMP nsHTTPHeaderListener::NewResponseHeader(const char * headerName, const char * headerValue)
      95             : {
      96             :     return NS_ERROR_NOT_IMPLEMENTED;
      97             : }
      98             : 
      99             : /* void statusLine (in string line); */
     100             : NS_IMETHODIMP nsHTTPHeaderListener::StatusLine(const char * line)
     101             : {
     102             :     return NS_ERROR_NOT_IMPLEMENTED;
     103             : }
     104             : 
     105             : /* End of implementation class template. */
     106             : #endif
     107             : 
     108             : 
     109             : #endif /* __gen_nsIHTTPHeaderListener_h__ */

Generated by: LCOV version 1.13