Copy as Markdown

Other Tools

/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/image/imgIContainerDebug.idl
*/
#ifndef __gen_imgIContainerDebug_h__
#define __gen_imgIContainerDebug_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: imgIContainerDebug */
#define IMGICONTAINERDEBUG_IID_STR "52cbb839-6e63-4a70-b21a-1db4ca706c49"
#define IMGICONTAINERDEBUG_IID \
{0x52cbb839, 0x6e63, 0x4a70, \
{ 0xb2, 0x1a, 0x1d, 0xb4, 0xca, 0x70, 0x6c, 0x49 }}
class NS_NO_VTABLE imgIContainerDebug : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(IMGICONTAINERDEBUG_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = imgIContainerDebug;
/* readonly attribute uint32_t framesNotified; */
NS_IMETHOD GetFramesNotified(uint32_t *aFramesNotified) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(imgIContainerDebug, IMGICONTAINERDEBUG_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_IMGICONTAINERDEBUG \
NS_IMETHOD GetFramesNotified(uint32_t *aFramesNotified) 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_IMGICONTAINERDEBUG \
nsresult GetFramesNotified(uint32_t *aFramesNotified);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_IMGICONTAINERDEBUG(_to) \
NS_IMETHOD GetFramesNotified(uint32_t *aFramesNotified) override { return _to GetFramesNotified(aFramesNotified); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_IMGICONTAINERDEBUG(_to) \
NS_IMETHOD GetFramesNotified(uint32_t *aFramesNotified) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFramesNotified(aFramesNotified); }
#endif /* __gen_imgIContainerDebug_h__ */