/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/toolkit/crashreporter/test/test_utils/nsICrashReporterTestUtils.idl
*/
#ifndef __gen_nsICrashReporterTestUtils_h__
#define __gen_nsICrashReporterTestUtils_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: nsICrashReporterTestUtils */
#define NS_ICRASHREPORTERTESTUTILS_IID_STR "9e3b262e-1731-46b4-a96d-e7b0b4201ff7"
#define NS_ICRASHREPORTERTESTUTILS_IID \
{0x9e3b262e, 0x1731, 0x46b4, \
{ 0xa9, 0x6d, 0xe7, 0xb0, 0xb4, 0x20, 0x1f, 0xf7 }}
class NS_NO_VTABLE nsICrashReporterTestUtils : public nsISupports {
public:
NS_INLINE_DECL_STATIC_IID(NS_ICRASHREPORTERTESTUTILS_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsICrashReporterTestUtils;
/* unsigned long getCrashHelperPid (); */
NS_IMETHOD GetCrashHelperPid(uint32_t *_retval) = 0;
};
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSICRASHREPORTERTESTUTILS \
NS_IMETHOD GetCrashHelperPid(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_NSICRASHREPORTERTESTUTILS \
nsresult GetCrashHelperPid(uint32_t *_retval);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSICRASHREPORTERTESTUTILS(_to) \
NS_IMETHOD GetCrashHelperPid(uint32_t *_retval) override { return _to GetCrashHelperPid(_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_NSICRASHREPORTERTESTUTILS(_to) \
NS_IMETHOD GetCrashHelperPid(uint32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCrashHelperPid(_retval); }
#endif /* __gen_nsICrashReporterTestUtils_h__ */