/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM $SRCDIR/netwerk/base/nsIAndroidContentInputStream.idl
 */

#ifndef __gen_nsIAndroidContentInputStream_h__
#define __gen_nsIAndroidContentInputStream_h__


#include "nsIInputStream.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIURI; /* forward declaration */


/* starting interface:    nsIAndroidContentInputStream */
#define NS_IANDROIDCONTENTINPUTSTREAM_IID_STR "6187e14f-a137-486c-9c31-8eefe645f26b"

#define NS_IANDROIDCONTENTINPUTSTREAM_IID \
  {0x6187e14f, 0xa137, 0x486c, \
    { 0x9c, 0x31, 0x8e, 0xef, 0xe6, 0x45, 0xf2, 0x6b }}

class NS_NO_VTABLE MOZ_BINDING(binding_to, idl, class, XPIDL_nsIAndroidContentInputStream) nsIAndroidContentInputStream : public nsIInputStream {
 public:

  NS_INLINE_DECL_STATIC_IID(NS_IANDROIDCONTENTINPUTSTREAM_IID)

  /* Used by ToJSValue to check which scriptable interface is implemented. */
  using ScriptableInterfaceType = nsIAndroidContentInputStream;

  /* void init (in nsIURI uri); */
  MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAndroidContentInputStream_init)
  NS_IMETHOD Init(nsIURI *uri) = 0;

};


/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIANDROIDCONTENTINPUTSTREAM \
  NS_IMETHOD Init(nsIURI *uri) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIANDROIDCONTENTINPUTSTREAM \
  MOZ_BINDING(binding_to, idl, method, XPIDL_nsIAndroidContentInputStream_init)\
  nsresult Init(nsIURI *uri); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIANDROIDCONTENTINPUTSTREAM(_to) \
  NS_IMETHOD Init(nsIURI *uri) override { return _to Init(uri); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIANDROIDCONTENTINPUTSTREAM(_to) \
  NS_IMETHOD Init(nsIURI *uri) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(uri); } 


#endif /* __gen_nsIAndroidContentInputStream_h__ */
