Copy as Markdown

Other Tools

/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/netwerk/base/nsIAsyncVerifyRedirectCallback.idl
*/
#ifndef __gen_nsIAsyncVerifyRedirectCallback_h__
#define __gen_nsIAsyncVerifyRedirectCallback_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: nsIAsyncVerifyRedirectCallback */
#define NS_IASYNCVERIFYREDIRECTCALLBACK_IID_STR "8d171460-a716-41f1-92be-8c659db39b45"
#define NS_IASYNCVERIFYREDIRECTCALLBACK_IID \
{0x8d171460, 0xa716, 0x41f1, \
{ 0x92, 0xbe, 0x8c, 0x65, 0x9d, 0xb3, 0x9b, 0x45 }}
class NS_NO_VTABLE nsIAsyncVerifyRedirectCallback : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IASYNCVERIFYREDIRECTCALLBACK_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsIAsyncVerifyRedirectCallback;
/* void onRedirectVerifyCallback (in nsresult result); */
JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD OnRedirectVerifyCallback(nsresult result) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIAsyncVerifyRedirectCallback, NS_IASYNCVERIFYREDIRECTCALLBACK_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIASYNCVERIFYREDIRECTCALLBACK \
NS_IMETHOD OnRedirectVerifyCallback(nsresult result) 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_NSIASYNCVERIFYREDIRECTCALLBACK \
nsresult OnRedirectVerifyCallback(nsresult result);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIASYNCVERIFYREDIRECTCALLBACK(_to) \
NS_IMETHOD OnRedirectVerifyCallback(nsresult result) override { return _to OnRedirectVerifyCallback(result); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIASYNCVERIFYREDIRECTCALLBACK(_to) \
NS_IMETHOD OnRedirectVerifyCallback(nsresult result) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnRedirectVerifyCallback(result); }
#endif /* __gen_nsIAsyncVerifyRedirectCallback_h__ */