LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIArrayBufferInputStream.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/nsIArrayBufferInputStream.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIArrayBufferInputStream_h__
       6             : #define __gen_nsIArrayBufferInputStream_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIInputStream_h__
      10             : #include "nsIInputStream.h"
      11             : #endif
      12             : 
      13             : #include "js/Value.h"
      14             : 
      15             : /* For IDL files that don't want to include root IDL files. */
      16             : #ifndef NS_NO_VTABLE
      17             : #define NS_NO_VTABLE
      18             : #endif
      19             : 
      20             : /* starting interface:    nsIArrayBufferInputStream */
      21             : #define NS_IARRAYBUFFERINPUTSTREAM_IID_STR "3014dde6-aa1c-41db-87d0-48764a3710f6"
      22             : 
      23             : #define NS_IARRAYBUFFERINPUTSTREAM_IID \
      24             :   {0x3014dde6, 0xaa1c, 0x41db, \
      25             :     { 0x87, 0xd0, 0x48, 0x76, 0x4a, 0x37, 0x10, 0xf6 }}
      26             : 
      27           0 : class NS_NO_VTABLE nsIArrayBufferInputStream : public nsIInputStream {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IARRAYBUFFERINPUTSTREAM_IID)
      31             : 
      32             :   /* [implicit_jscontext] void setData (in jsval buffer, in unsigned long byteOffset, in unsigned long byteLen); */
      33             :   NS_IMETHOD SetData(JS::HandleValue buffer, uint32_t byteOffset, uint32_t byteLen, JSContext* cx) = 0;
      34             : 
      35             : };
      36             : 
      37             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIArrayBufferInputStream, NS_IARRAYBUFFERINPUTSTREAM_IID)
      38             : 
      39             : /* Use this macro when declaring classes that implement this interface. */
      40             : #define NS_DECL_NSIARRAYBUFFERINPUTSTREAM \
      41             :   NS_IMETHOD SetData(JS::HandleValue buffer, uint32_t byteOffset, uint32_t byteLen, JSContext* cx) override; 
      42             : 
      43             : /* Use this macro when declaring the members of this interface when the
      44             :    class doesn't implement the interface. This is useful for forwarding. */
      45             : #define NS_DECL_NON_VIRTUAL_NSIARRAYBUFFERINPUTSTREAM \
      46             :   nsresult SetData(JS::HandleValue buffer, uint32_t byteOffset, uint32_t byteLen, JSContext* cx); 
      47             : 
      48             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      49             : #define NS_FORWARD_NSIARRAYBUFFERINPUTSTREAM(_to) \
      50             :   NS_IMETHOD SetData(JS::HandleValue buffer, uint32_t byteOffset, uint32_t byteLen, JSContext* cx) override { return _to SetData(buffer, byteOffset, byteLen, cx); } 
      51             : 
      52             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      53             : #define NS_FORWARD_SAFE_NSIARRAYBUFFERINPUTSTREAM(_to) \
      54             :   NS_IMETHOD SetData(JS::HandleValue buffer, uint32_t byteOffset, uint32_t byteLen, JSContext* cx) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetData(buffer, byteOffset, byteLen, cx); } 
      55             : 
      56             : #if 0
      57             : /* Use the code below as a template for the implementation class for this interface. */
      58             : 
      59             : /* Header file */
      60             : class nsArrayBufferInputStream : public nsIArrayBufferInputStream
      61             : {
      62             : public:
      63             :   NS_DECL_ISUPPORTS
      64             :   NS_DECL_NSIARRAYBUFFERINPUTSTREAM
      65             : 
      66             :   nsArrayBufferInputStream();
      67             : 
      68             : private:
      69             :   ~nsArrayBufferInputStream();
      70             : 
      71             : protected:
      72             :   /* additional members */
      73             : };
      74             : 
      75             : /* Implementation file */
      76             : NS_IMPL_ISUPPORTS(nsArrayBufferInputStream, nsIArrayBufferInputStream)
      77             : 
      78             : nsArrayBufferInputStream::nsArrayBufferInputStream()
      79             : {
      80             :   /* member initializers and constructor code */
      81             : }
      82             : 
      83             : nsArrayBufferInputStream::~nsArrayBufferInputStream()
      84             : {
      85             :   /* destructor code */
      86             : }
      87             : 
      88             : /* [implicit_jscontext] void setData (in jsval buffer, in unsigned long byteOffset, in unsigned long byteLen); */
      89             : NS_IMETHODIMP nsArrayBufferInputStream::SetData(JS::HandleValue buffer, uint32_t byteOffset, uint32_t byteLen, JSContext* cx)
      90             : {
      91             :     return NS_ERROR_NOT_IMPLEMENTED;
      92             : }
      93             : 
      94             : /* End of implementation class template. */
      95             : #endif
      96             : 
      97             : 
      98             : #endif /* __gen_nsIArrayBufferInputStream_h__ */

Generated by: LCOV version 1.13