/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/media/bridge/IPeerConnection.idl
*/
#ifndef __gen_IPeerConnection_h__
#define __gen_IPeerConnection_h__
#include "nsIThread.h"
#include "nsIDOMWindow.h"
#include "nsIPropertyBag2.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: IPeerConnectionObserver */
#define IPEERCONNECTIONOBSERVER_IID_STR "d7dfe148-0416-446b-a128-66a7c71ae8d3"
#define IPEERCONNECTIONOBSERVER_IID \
{0xd7dfe148, 0x0416, 0x446b, \
{ 0xa1, 0x28, 0x66, 0xa7, 0xc7, 0x1a, 0xe8, 0xd3 }}
class NS_NO_VTABLE MOZ_BINDING(binding_to, idl, class, XPIDL_IPeerConnectionObserver) IPeerConnectionObserver : public nsISupports {
public:
NS_INLINE_DECL_STATIC_IID(IPEERCONNECTIONOBSERVER_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = IPeerConnectionObserver;
};
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_IPEERCONNECTIONOBSERVER \
/* 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_IPEERCONNECTIONOBSERVER \
/* no methods! */
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_IPEERCONNECTIONOBSERVER(_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_IPEERCONNECTIONOBSERVER(_to) \
/* no methods! */
/* starting interface: IPeerConnection */
#define IPEERCONNECTION_IID_STR "14afc8e7-e421-4d0c-99a5-69308d871481"
#define IPEERCONNECTION_IID \
{0x14afc8e7, 0xe421, 0x4d0c, \
{ 0x99, 0xa5, 0x69, 0x30, 0x8d, 0x87, 0x14, 0x81 }}
class NS_NO_VTABLE MOZ_BINDING(binding_to, idl, class, XPIDL_IPeerConnection) IPeerConnection : public nsISupports {
public:
NS_INLINE_DECL_STATIC_IID(IPEERCONNECTION_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = IPeerConnection;
enum {
kHintAudio MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kHintAudio) = 1U,
kHintVideo MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kHintVideo) = 2U,
kActionNone MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kActionNone) = -1,
kActionOffer MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kActionOffer) = 0,
kActionAnswer MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kActionAnswer) = 1,
kActionPRAnswer MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kActionPRAnswer) = 2,
kActionRollback MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kActionRollback) = 3,
kIceGathering MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kIceGathering) = 0,
kIceWaiting MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kIceWaiting) = 1,
kIceChecking MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kIceChecking) = 2,
kIceConnected MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kIceConnected) = 3,
kIceFailed MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kIceFailed) = 4,
kNew MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kNew) = 0,
kNegotiating MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kNegotiating) = 1,
kActive MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kActive) = 2,
kClosing MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kClosing) = 3,
kClosed MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kClosed) = 4,
kDataChannelReliable MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kDataChannelReliable) = 0U,
kDataChannelPartialReliableRexmit MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kDataChannelPartialReliableRexmit) = 1U,
kDataChannelPartialReliableTimed MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kDataChannelPartialReliableTimed) = 2U,
kNoError MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kNoError) = 0U,
kInvalidCandidate MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kInvalidCandidate) = 2U,
kInvalidMediastreamTrack MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kInvalidMediastreamTrack) = 3U,
kInvalidState MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kInvalidState) = 4U,
kInvalidSessionDescription MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kInvalidSessionDescription) = 5U,
kIncompatibleSessionDescription MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kIncompatibleSessionDescription) = 6U,
kIncompatibleMediaStreamTrack MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kIncompatibleMediaStreamTrack) = 8U,
kInternalError MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kInternalError) = 9U,
kTypeError MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kTypeError) = 10U,
kOperationError MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kOperationError) = 11U,
kMaxErrorType MOZ_BINDING(binding_to, idl, const, XPIDL_IPeerConnection_kMaxErrorType) = 11U
};
};
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_IPEERCONNECTION \
/* 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_IPEERCONNECTION \
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_IPEERCONNECTION(_to) \
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_IPEERCONNECTION(_to) \
#endif /* __gen_IPeerConnection_h__ */