Copy as Markdown

Other Tools

/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/resistfingerprinting/nsIRFPTargetSetIDL.idl
*/
#ifndef __gen_nsIRFPTargetSetIDL_h__
#define __gen_nsIRFPTargetSetIDL_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: nsIRFPTargetSetIDL */
#define NS_IRFPTARGETSETIDL_IID_STR "6c072f47-f25c-484f-add8-051b07789593"
#define NS_IRFPTARGETSETIDL_IID \
{0x6c072f47, 0xf25c, 0x484f, \
{ 0xad, 0xd8, 0x05, 0x1b, 0x07, 0x78, 0x95, 0x93 }}
class NS_NO_VTABLE nsIRFPTargetSetIDL : public nsISupports {
public:
NS_INLINE_DECL_STATIC_IID(NS_IRFPTARGETSETIDL_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsIRFPTargetSetIDL;
/* uint32_t getNth32BitSet (in unsigned long aPart); */
NS_IMETHOD GetNth32BitSet(uint32_t aPart, uint32_t *_retval) = 0;
};
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIRFPTARGETSETIDL \
NS_IMETHOD GetNth32BitSet(uint32_t aPart, uint32_t *_retval) 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_NSIRFPTARGETSETIDL \
nsresult GetNth32BitSet(uint32_t aPart, uint32_t *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIRFPTARGETSETIDL(_to) \
NS_IMETHOD GetNth32BitSet(uint32_t aPart, uint32_t *_retval) override { return _to GetNth32BitSet(aPart, _retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIRFPTARGETSETIDL(_to) \
NS_IMETHOD GetNth32BitSet(uint32_t aPart, uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNth32BitSet(aPart, _retval); }
#endif /* __gen_nsIRFPTargetSetIDL_h__ */