Copy as Markdown
Other Tools
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/dom/quota/nsIQuotaUtilsService.idl
*/
#ifndef __gen_nsIQuotaUtilsService_h__
#define __gen_nsIQuotaUtilsService_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: nsIQuotaUtilsService */
#define NS_IQUOTAUTILSSERVICE_IID_STR "cdeca40d-74f4-44a2-beb3-84cd0bbc7785"
#define NS_IQUOTAUTILSSERVICE_IID \
{0xcdeca40d, 0x74f4, 0x44a2, \
{ 0xbe, 0xb3, 0x84, 0xcd, 0x0b, 0xbc, 0x77, 0x85 }}
class NS_NO_VTABLE nsIQuotaUtilsService : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IQUOTAUTILSSERVICE_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsIQuotaUtilsService;
/* unsigned long getPrivateIdentityId (in AString aName); */
JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetPrivateIdentityId(const nsAString& aName, uint32_t *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIQuotaUtilsService, NS_IQUOTAUTILSSERVICE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIQUOTAUTILSSERVICE \
NS_IMETHOD GetPrivateIdentityId(const nsAString& aName, 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_NSIQUOTAUTILSSERVICE \
nsresult GetPrivateIdentityId(const nsAString& aName, uint32_t *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIQUOTAUTILSSERVICE(_to) \
NS_IMETHOD GetPrivateIdentityId(const nsAString& aName, uint32_t *_retval) override { return _to GetPrivateIdentityId(aName, _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_NSIQUOTAUTILSSERVICE(_to) \
NS_IMETHOD GetPrivateIdentityId(const nsAString& aName, uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrivateIdentityId(aName, _retval); }
#endif /* __gen_nsIQuotaUtilsService_h__ */