Generated file

Copy as Markdown

Other Tools

/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/components/url-classifier/nsIUrlClassifierRealTimeKeyService.idl
*/
#ifndef __gen_nsIUrlClassifierRealTimeKeyService_h__
#define __gen_nsIUrlClassifierRealTimeKeyService_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: nsIUrlClassifierRealTimeKeyService */
#define NS_IURLCLASSIFIERREALTIMEKEYSERVICE_IID_STR "00250d15-4576-4e5e-b9ed-4ccb7420204c"
#define NS_IURLCLASSIFIERREALTIMEKEYSERVICE_IID \
{0x00250d15, 0x4576, 0x4e5e, \
{ 0xb9, 0xed, 0x4c, 0xcb, 0x74, 0x20, 0x20, 0x4c }}
class NS_NO_VTABLE MOZ_BINDING(binding_to, idl, class, XPIDL_nsIUrlClassifierRealTimeKeyService) nsIUrlClassifierRealTimeKeyService : public nsISupports {
public:
NS_INLINE_DECL_STATIC_IID(NS_IURLCLASSIFIERREALTIMEKEYSERVICE_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsIUrlClassifierRealTimeKeyService;
/* Promise getKeyConfig (); */
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIUrlClassifierRealTimeKeyService_getKeyConfig)
JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetKeyConfig(::mozilla::dom::Promise * * _retval) = 0;
};
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIURLCLASSIFIERREALTIMEKEYSERVICE \
NS_IMETHOD GetKeyConfig(::mozilla::dom::Promise * * _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_NSIURLCLASSIFIERREALTIMEKEYSERVICE \
MOZ_BINDING(binding_to, idl, method, XPIDL_nsIUrlClassifierRealTimeKeyService_getKeyConfig)\
nsresult GetKeyConfig(::mozilla::dom::Promise * * _retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIURLCLASSIFIERREALTIMEKEYSERVICE(_to) \
NS_IMETHOD GetKeyConfig(::mozilla::dom::Promise * * _retval) override { return _to GetKeyConfig(_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_NSIURLCLASSIFIERREALTIMEKEYSERVICE(_to) \
NS_IMETHOD GetKeyConfig(::mozilla::dom::Promise * * _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetKeyConfig(_retval); }
#endif /* __gen_nsIUrlClassifierRealTimeKeyService_h__ */