LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIEncodedChannel.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/nsIEncodedChannel.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIEncodedChannel_h__
       6             : #define __gen_nsIEncodedChannel_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 nsIUTF8StringEnumerator; /* forward declaration */
      18             : 
      19             : class nsIStreamListener; /* forward declaration */
      20             : 
      21             : class nsISupports; /* forward declaration */
      22             : 
      23             : 
      24             : /* starting interface:    nsIEncodedChannel */
      25             : #define NS_IENCODEDCHANNEL_IID_STR "29c29ce6-8ce4-45e6-8d60-36c8fa3e255b"
      26             : 
      27             : #define NS_IENCODEDCHANNEL_IID \
      28             :   {0x29c29ce6, 0x8ce4, 0x45e6, \
      29             :     { 0x8d, 0x60, 0x36, 0xc8, 0xfa, 0x3e, 0x25, 0x5b }}
      30             : 
      31          10 : class NS_NO_VTABLE nsIEncodedChannel : public nsISupports {
      32             :  public:
      33             : 
      34             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IENCODEDCHANNEL_IID)
      35             : 
      36             :   /* readonly attribute nsIUTF8StringEnumerator contentEncodings; */
      37             :   NS_IMETHOD GetContentEncodings(nsIUTF8StringEnumerator * *aContentEncodings) = 0;
      38             : 
      39             :   /* attribute boolean applyConversion; */
      40             :   NS_IMETHOD GetApplyConversion(bool *aApplyConversion) = 0;
      41             :   NS_IMETHOD SetApplyConversion(bool aApplyConversion) = 0;
      42             : 
      43             :   /* void doApplyContentConversions (in nsIStreamListener aNextListener, out nsIStreamListener aNewNextListener, in nsISupports aCtxt); */
      44             :   NS_IMETHOD DoApplyContentConversions(nsIStreamListener *aNextListener, nsIStreamListener * *aNewNextListener, nsISupports *aCtxt) = 0;
      45             : 
      46             : };
      47             : 
      48             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIEncodedChannel, NS_IENCODEDCHANNEL_IID)
      49             : 
      50             : /* Use this macro when declaring classes that implement this interface. */
      51             : #define NS_DECL_NSIENCODEDCHANNEL \
      52             :   NS_IMETHOD GetContentEncodings(nsIUTF8StringEnumerator * *aContentEncodings) override; \
      53             :   NS_IMETHOD GetApplyConversion(bool *aApplyConversion) override; \
      54             :   NS_IMETHOD SetApplyConversion(bool aApplyConversion) override; \
      55             :   NS_IMETHOD DoApplyContentConversions(nsIStreamListener *aNextListener, nsIStreamListener * *aNewNextListener, nsISupports *aCtxt) override; 
      56             : 
      57             : /* Use this macro when declaring the members of this interface when the
      58             :    class doesn't implement the interface. This is useful for forwarding. */
      59             : #define NS_DECL_NON_VIRTUAL_NSIENCODEDCHANNEL \
      60             :   nsresult GetContentEncodings(nsIUTF8StringEnumerator * *aContentEncodings); \
      61             :   nsresult GetApplyConversion(bool *aApplyConversion); \
      62             :   nsresult SetApplyConversion(bool aApplyConversion); \
      63             :   nsresult DoApplyContentConversions(nsIStreamListener *aNextListener, nsIStreamListener * *aNewNextListener, nsISupports *aCtxt); 
      64             : 
      65             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      66             : #define NS_FORWARD_NSIENCODEDCHANNEL(_to) \
      67             :   NS_IMETHOD GetContentEncodings(nsIUTF8StringEnumerator * *aContentEncodings) override { return _to GetContentEncodings(aContentEncodings); } \
      68             :   NS_IMETHOD GetApplyConversion(bool *aApplyConversion) override { return _to GetApplyConversion(aApplyConversion); } \
      69             :   NS_IMETHOD SetApplyConversion(bool aApplyConversion) override { return _to SetApplyConversion(aApplyConversion); } \
      70             :   NS_IMETHOD DoApplyContentConversions(nsIStreamListener *aNextListener, nsIStreamListener * *aNewNextListener, nsISupports *aCtxt) override { return _to DoApplyContentConversions(aNextListener, aNewNextListener, aCtxt); } 
      71             : 
      72             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      73             : #define NS_FORWARD_SAFE_NSIENCODEDCHANNEL(_to) \
      74             :   NS_IMETHOD GetContentEncodings(nsIUTF8StringEnumerator * *aContentEncodings) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentEncodings(aContentEncodings); } \
      75             :   NS_IMETHOD GetApplyConversion(bool *aApplyConversion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetApplyConversion(aApplyConversion); } \
      76             :   NS_IMETHOD SetApplyConversion(bool aApplyConversion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetApplyConversion(aApplyConversion); } \
      77             :   NS_IMETHOD DoApplyContentConversions(nsIStreamListener *aNextListener, nsIStreamListener * *aNewNextListener, nsISupports *aCtxt) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DoApplyContentConversions(aNextListener, aNewNextListener, aCtxt); } 
      78             : 
      79             : #if 0
      80             : /* Use the code below as a template for the implementation class for this interface. */
      81             : 
      82             : /* Header file */
      83             : class nsEncodedChannel : public nsIEncodedChannel
      84             : {
      85             : public:
      86             :   NS_DECL_ISUPPORTS
      87             :   NS_DECL_NSIENCODEDCHANNEL
      88             : 
      89             :   nsEncodedChannel();
      90             : 
      91             : private:
      92             :   ~nsEncodedChannel();
      93             : 
      94             : protected:
      95             :   /* additional members */
      96             : };
      97             : 
      98             : /* Implementation file */
      99             : NS_IMPL_ISUPPORTS(nsEncodedChannel, nsIEncodedChannel)
     100             : 
     101             : nsEncodedChannel::nsEncodedChannel()
     102             : {
     103             :   /* member initializers and constructor code */
     104             : }
     105             : 
     106             : nsEncodedChannel::~nsEncodedChannel()
     107             : {
     108             :   /* destructor code */
     109             : }
     110             : 
     111             : /* readonly attribute nsIUTF8StringEnumerator contentEncodings; */
     112             : NS_IMETHODIMP nsEncodedChannel::GetContentEncodings(nsIUTF8StringEnumerator * *aContentEncodings)
     113             : {
     114             :     return NS_ERROR_NOT_IMPLEMENTED;
     115             : }
     116             : 
     117             : /* attribute boolean applyConversion; */
     118             : NS_IMETHODIMP nsEncodedChannel::GetApplyConversion(bool *aApplyConversion)
     119             : {
     120             :     return NS_ERROR_NOT_IMPLEMENTED;
     121             : }
     122             : NS_IMETHODIMP nsEncodedChannel::SetApplyConversion(bool aApplyConversion)
     123             : {
     124             :     return NS_ERROR_NOT_IMPLEMENTED;
     125             : }
     126             : 
     127             : /* void doApplyContentConversions (in nsIStreamListener aNextListener, out nsIStreamListener aNewNextListener, in nsISupports aCtxt); */
     128             : NS_IMETHODIMP nsEncodedChannel::DoApplyContentConversions(nsIStreamListener *aNextListener, nsIStreamListener * *aNewNextListener, nsISupports *aCtxt)
     129             : {
     130             :     return NS_ERROR_NOT_IMPLEMENTED;
     131             : }
     132             : 
     133             : /* End of implementation class template. */
     134             : #endif
     135             : 
     136             : 
     137             : #endif /* __gen_nsIEncodedChannel_h__ */

Generated by: LCOV version 1.13