Copy as Markdown

Other Tools

/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/protocol/data/nsIDataChannel.idl
*/
#ifndef __gen_nsIDataChannel_h__
#define __gen_nsIDataChannel_h__
#include "nsISupports.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsIDataChannel */
#define NS_IDATACHANNEL_IID_STR "4da142b1-10e4-42e5-8b61-c28a49b06635"
#define NS_IDATACHANNEL_IID \
{0x4da142b1, 0x10e4, 0x42e5, \
{ 0x8b, 0x61, 0xc2, 0x8a, 0x49, 0xb0, 0x66, 0x35 }}
class NS_NO_VTABLE nsIDataChannel : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDATACHANNEL_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsIDataChannel;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDataChannel, NS_IDATACHANNEL_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDATACHANNEL \
/* no methods! */
/* 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_NSIDATACHANNEL \
/* no methods! */
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDATACHANNEL(_to) \
/* no methods! */
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDATACHANNEL(_to) \
/* no methods! */
#endif /* __gen_nsIDataChannel_h__ */