LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIHTTPHeaderListener.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/dom/plugins/base/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 NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD NewResponseHeader(const char * headerName, const char * headerValue) = 0;
      32                 : 
      33                 :   /* void statusLine (in string line); */
      34                 :   NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD NewResponseHeader(const char * headerName, const char * headerValue); \
      43                 :   NS_SCRIPTABLE NS_IMETHOD StatusLine(const char * line); 
      44                 : 
      45                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      46                 : #define NS_FORWARD_NSIHTTPHEADERLISTENER(_to) \
      47                 :   NS_SCRIPTABLE NS_IMETHOD NewResponseHeader(const char * headerName, const char * headerValue) { return _to NewResponseHeader(headerName, headerValue); } \
      48                 :   NS_SCRIPTABLE NS_IMETHOD StatusLine(const char * line) { return _to StatusLine(line); } 
      49                 : 
      50                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      51                 : #define NS_FORWARD_SAFE_NSIHTTPHEADERLISTENER(_to) \
      52                 :   NS_SCRIPTABLE NS_IMETHOD NewResponseHeader(const char * headerName, const char * headerValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->NewResponseHeader(headerName, headerValue); } \
      53                 :   NS_SCRIPTABLE NS_IMETHOD StatusLine(const char * line) { return !_to ? NS_ERROR_NULL_POINTER : _to->StatusLine(line); } 
      54                 : 
      55                 : #if 0
      56                 : /* Use the code below as a template for the implementation class for this interface. */
      57                 : 
      58                 : /* Header file */
      59                 : class nsHTTPHeaderListener : public nsIHTTPHeaderListener
      60                 : {
      61                 : public:
      62                 :   NS_DECL_ISUPPORTS
      63                 :   NS_DECL_NSIHTTPHEADERLISTENER
      64                 : 
      65                 :   nsHTTPHeaderListener();
      66                 : 
      67                 : private:
      68                 :   ~nsHTTPHeaderListener();
      69                 : 
      70                 : protected:
      71                 :   /* additional members */
      72                 : };
      73                 : 
      74                 : /* Implementation file */
      75                 : NS_IMPL_ISUPPORTS1(nsHTTPHeaderListener, nsIHTTPHeaderListener)
      76                 : 
      77                 : nsHTTPHeaderListener::nsHTTPHeaderListener()
      78                 : {
      79                 :   /* member initializers and constructor code */
      80                 : }
      81                 : 
      82                 : nsHTTPHeaderListener::~nsHTTPHeaderListener()
      83                 : {
      84                 :   /* destructor code */
      85                 : }
      86                 : 
      87                 : /* void newResponseHeader (in string headerName, in string headerValue); */
      88                 : NS_IMETHODIMP nsHTTPHeaderListener::NewResponseHeader(const char * headerName, const char * headerValue)
      89                 : {
      90                 :     return NS_ERROR_NOT_IMPLEMENTED;
      91                 : }
      92                 : 
      93                 : /* void statusLine (in string line); */
      94                 : NS_IMETHODIMP nsHTTPHeaderListener::StatusLine(const char * line)
      95                 : {
      96                 :     return NS_ERROR_NOT_IMPLEMENTED;
      97                 : }
      98                 : 
      99                 : /* End of implementation class template. */
     100                 : #endif
     101                 : 
     102                 : 
     103                 : #endif /* __gen_nsIHTTPHeaderListener_h__ */

Generated by: LCOV version 1.7