LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIConverterInputStream.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/nsIConverterInputStream.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIConverterInputStream_h__
       6             : #define __gen_nsIConverterInputStream_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIUnicharInputStream_h__
      10             : #include "nsIUnicharInputStream.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 nsIInputStream; /* forward declaration */
      18             : 
      19             : 
      20             : /* starting interface:    nsIConverterInputStream */
      21             : #define NS_ICONVERTERINPUTSTREAM_IID_STR "fc66ffb6-5404-4908-a4a3-27f92fa0579d"
      22             : 
      23             : #define NS_ICONVERTERINPUTSTREAM_IID \
      24             :   {0xfc66ffb6, 0x5404, 0x4908, \
      25             :     { 0xa4, 0xa3, 0x27, 0xf9, 0x2f, 0xa0, 0x57, 0x9d }}
      26             : 
      27           3 : class NS_NO_VTABLE nsIConverterInputStream : public nsIUnicharInputStream {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICONVERTERINPUTSTREAM_IID)
      31             : 
      32             :   enum {
      33             :     DEFAULT_REPLACEMENT_CHARACTER = 65533U
      34             :   };
      35             : 
      36             :   /* void init (in nsIInputStream aStream, in string aCharset, in long aBufferSize, in char16_t aReplacementChar); */
      37             :   NS_IMETHOD Init(nsIInputStream *aStream, const char * aCharset, int32_t aBufferSize, char16_t aReplacementChar) = 0;
      38             : 
      39             : };
      40             : 
      41             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIConverterInputStream, NS_ICONVERTERINPUTSTREAM_IID)
      42             : 
      43             : /* Use this macro when declaring classes that implement this interface. */
      44             : #define NS_DECL_NSICONVERTERINPUTSTREAM \
      45             :   NS_IMETHOD Init(nsIInputStream *aStream, const char * aCharset, int32_t aBufferSize, char16_t aReplacementChar) override; 
      46             : 
      47             : /* Use this macro when declaring the members of this interface when the
      48             :    class doesn't implement the interface. This is useful for forwarding. */
      49             : #define NS_DECL_NON_VIRTUAL_NSICONVERTERINPUTSTREAM \
      50             :   nsresult Init(nsIInputStream *aStream, const char * aCharset, int32_t aBufferSize, char16_t aReplacementChar); 
      51             : 
      52             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      53             : #define NS_FORWARD_NSICONVERTERINPUTSTREAM(_to) \
      54             :   NS_IMETHOD Init(nsIInputStream *aStream, const char * aCharset, int32_t aBufferSize, char16_t aReplacementChar) override { return _to Init(aStream, aCharset, aBufferSize, aReplacementChar); } 
      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_NSICONVERTERINPUTSTREAM(_to) \
      58             :   NS_IMETHOD Init(nsIInputStream *aStream, const char * aCharset, int32_t aBufferSize, char16_t aReplacementChar) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aStream, aCharset, aBufferSize, aReplacementChar); } 
      59             : 
      60             : #if 0
      61             : /* Use the code below as a template for the implementation class for this interface. */
      62             : 
      63             : /* Header file */
      64             : class nsConverterInputStream : public nsIConverterInputStream
      65             : {
      66             : public:
      67             :   NS_DECL_ISUPPORTS
      68             :   NS_DECL_NSICONVERTERINPUTSTREAM
      69             : 
      70             :   nsConverterInputStream();
      71             : 
      72             : private:
      73             :   ~nsConverterInputStream();
      74             : 
      75             : protected:
      76             :   /* additional members */
      77             : };
      78             : 
      79             : /* Implementation file */
      80             : NS_IMPL_ISUPPORTS(nsConverterInputStream, nsIConverterInputStream)
      81             : 
      82             : nsConverterInputStream::nsConverterInputStream()
      83             : {
      84             :   /* member initializers and constructor code */
      85             : }
      86             : 
      87             : nsConverterInputStream::~nsConverterInputStream()
      88             : {
      89             :   /* destructor code */
      90             : }
      91             : 
      92             : /* void init (in nsIInputStream aStream, in string aCharset, in long aBufferSize, in char16_t aReplacementChar); */
      93             : NS_IMETHODIMP nsConverterInputStream::Init(nsIInputStream *aStream, const char * aCharset, int32_t aBufferSize, char16_t aReplacementChar)
      94             : {
      95             :     return NS_ERROR_NOT_IMPLEMENTED;
      96             : }
      97             : 
      98             : /* End of implementation class template. */
      99             : #endif
     100             : 
     101             : 
     102             : #endif /* __gen_nsIConverterInputStream_h__ */

Generated by: LCOV version 1.13