LCOV - app.info - objdir/dist/include/nsIEncodedChannel.h

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIEncodedChannel.h (source / functions) |  | Found | Hit | Coverage |
| Test: | app.info | Lines: | 1 | 1 | 100.0 %
| Date: | 2012-07-07 | Functions: | 1 | 1 | 100.0 %

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/netwerk/base/public/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                 :
          20                 : /* starting interface:    nsIEncodedChannel */
          21                 : #define NS_IENCODEDCHANNEL_IID_STR "30d7ec3a-f376-4652-9276-3092ec57abb6"
          22                 :
          23                 : #define NS_IENCODEDCHANNEL_IID \
          24                 :   {0x30d7ec3a, 0xf376, 0x4652, \
          25                 :     { 0x92, 0x76, 0x30, 0x92, 0xec, 0x57, 0xab, 0xb6 }}
          26                 :
          27            3513 : class NS_NO_VTABLE NS_SCRIPTABLE nsIEncodedChannel : public nsISupports {
          28                 :  public:
          29                 :
          30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IENCODEDCHANNEL_IID)
          31                 :
          32                 :   /* readonly attribute nsIUTF8StringEnumerator contentEncodings; */
          33                 :   NS_SCRIPTABLE NS_IMETHOD GetContentEncodings(nsIUTF8StringEnumerator * *aContentEncodings) = 0;
          34                 :
          35                 :   /* attribute boolean applyConversion; */
          36                 :   NS_SCRIPTABLE NS_IMETHOD GetApplyConversion(bool *aApplyConversion) = 0;
          37                 :   NS_SCRIPTABLE NS_IMETHOD SetApplyConversion(bool aApplyConversion) = 0;
          38                 :
          39                 : };
          40                 :
          41                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIEncodedChannel, NS_IENCODEDCHANNEL_IID)
          42                 :
          43                 : /* Use this macro when declaring classes that implement this interface. */
          44                 : #define NS_DECL_NSIENCODEDCHANNEL \
          45                 :   NS_SCRIPTABLE NS_IMETHOD GetContentEncodings(nsIUTF8StringEnumerator * *aContentEncodings); \
          46                 :   NS_SCRIPTABLE NS_IMETHOD GetApplyConversion(bool *aApplyConversion); \
          47                 :   NS_SCRIPTABLE NS_IMETHOD SetApplyConversion(bool aApplyConversion);
          48                 :
          49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          50                 : #define NS_FORWARD_NSIENCODEDCHANNEL(_to) \
          51                 :   NS_SCRIPTABLE NS_IMETHOD GetContentEncodings(nsIUTF8StringEnumerator * *aContentEncodings) { return _to GetContentEncodings(aContentEncodings); } \
          52                 :   NS_SCRIPTABLE NS_IMETHOD GetApplyConversion(bool *aApplyConversion) { return _to GetApplyConversion(aApplyConversion); } \
          53                 :   NS_SCRIPTABLE NS_IMETHOD SetApplyConversion(bool aApplyConversion) { return _to SetApplyConversion(aApplyConversion); }
          54                 :
          55                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          56                 : #define NS_FORWARD_SAFE_NSIENCODEDCHANNEL(_to) \
          57                 :   NS_SCRIPTABLE NS_IMETHOD GetContentEncodings(nsIUTF8StringEnumerator * *aContentEncodings) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentEncodings(aContentEncodings); } \
          58                 :   NS_SCRIPTABLE NS_IMETHOD GetApplyConversion(bool *aApplyConversion) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetApplyConversion(aApplyConversion); } \
          59                 :   NS_SCRIPTABLE NS_IMETHOD SetApplyConversion(bool aApplyConversion) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetApplyConversion(aApplyConversion); }
          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 nsEncodedChannel : public nsIEncodedChannel
          66                 : {
          67                 : public:
          68                 :   NS_DECL_ISUPPORTS
          69                 :   NS_DECL_NSIENCODEDCHANNEL
          70                 :
          71                 :   nsEncodedChannel();
          72                 :
          73                 : private:
          74                 :   ~nsEncodedChannel();
          75                 :
          76                 : protected:
          77                 :   /* additional members */
          78                 : };
          79                 :
          80                 : /* Implementation file */
          81                 : NS_IMPL_ISUPPORTS1(nsEncodedChannel, nsIEncodedChannel)
          82                 :
          83                 : nsEncodedChannel::nsEncodedChannel()
          84                 : {
          85                 :   /* member initializers and constructor code */
          86                 : }
          87                 :
          88                 : nsEncodedChannel::~nsEncodedChannel()
          89                 : {
          90                 :   /* destructor code */
          91                 : }
          92                 :
          93                 : /* readonly attribute nsIUTF8StringEnumerator contentEncodings; */
          94                 : NS_IMETHODIMP nsEncodedChannel::GetContentEncodings(nsIUTF8StringEnumerator * *aContentEncodings)
          95                 : {
          96                 :     return NS_ERROR_NOT_IMPLEMENTED;
          97                 : }
          98                 :
          99                 : /* attribute boolean applyConversion; */
         100                 : NS_IMETHODIMP nsEncodedChannel::GetApplyConversion(bool *aApplyConversion)
         101                 : {
         102                 :     return NS_ERROR_NOT_IMPLEMENTED;
         103                 : }
         104                 : NS_IMETHODIMP nsEncodedChannel::SetApplyConversion(bool aApplyConversion)
         105                 : {
         106                 :     return NS_ERROR_NOT_IMPLEMENTED;
         107                 : }
         108                 :
         109                 : /* End of implementation class template. */
         110                 : #endif
         111                 :
         112                 :
         113                 : #endif /* __gen_nsIEncodedChannel_h__ */

Generated by: LCOV version 1.7