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"
#include "js/GCAnnotations.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_DECLARE_STATIC_IID_ACCESSOR(NS_IRFPTARGETSETIDL_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsIRFPTargetSetIDL;
/* attribute uint64_t low; */
JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetLow(uint64_t *aLow) = 0;
JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetLow(uint64_t aLow) = 0;
/* attribute uint64_t high; */
JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetHigh(uint64_t *aHigh) = 0;
JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetHigh(uint64_t aHigh) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIRFPTargetSetIDL, NS_IRFPTARGETSETIDL_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIRFPTARGETSETIDL \
NS_IMETHOD GetLow(uint64_t *aLow) override; \
NS_IMETHOD SetLow(uint64_t aLow) override; \
NS_IMETHOD GetHigh(uint64_t *aHigh) override; \
NS_IMETHOD SetHigh(uint64_t aHigh) 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 GetLow(uint64_t *aLow); \
nsresult SetLow(uint64_t aLow); \
nsresult GetHigh(uint64_t *aHigh); \
nsresult SetHigh(uint64_t aHigh);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIRFPTARGETSETIDL(_to) \
NS_IMETHOD GetLow(uint64_t *aLow) override { return _to GetLow(aLow); } \
NS_IMETHOD SetLow(uint64_t aLow) override { return _to SetLow(aLow); } \
NS_IMETHOD GetHigh(uint64_t *aHigh) override { return _to GetHigh(aHigh); } \
NS_IMETHOD SetHigh(uint64_t aHigh) override { return _to SetHigh(aHigh); }
/* 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 GetLow(uint64_t *aLow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLow(aLow); } \
NS_IMETHOD SetLow(uint64_t aLow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLow(aLow); } \
NS_IMETHOD GetHigh(uint64_t *aHigh) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHigh(aHigh); } \
NS_IMETHOD SetHigh(uint64_t aHigh) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetHigh(aHigh); }
#endif /* __gen_nsIRFPTargetSetIDL_h__ */