Copy as Markdown
Other Tools
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM $SRCDIR/widget/nsITaskbarOverlayIconController.idl
*/
#ifndef __gen_nsITaskbarOverlayIconController_h__
#define __gen_nsITaskbarOverlayIconController_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
class imgIContainer; /* forward declaration */
class nsIURI; /* forward declaration */
class nsISVGPaintContext; /* forward declaration */
/* starting interface: nsITaskbarOverlayIconController */
#define NS_ITASKBAROVERLAYICONCONTROLLER_IID_STR "b1858889-a698-428a-a14b-b5d60cff6de2"
#define NS_ITASKBAROVERLAYICONCONTROLLER_IID \
{0xb1858889, 0xa698, 0x428a, \
{ 0xa1, 0x4b, 0xb5, 0xd6, 0x0c, 0xff, 0x6d, 0xe2 }}
class NS_NO_VTABLE nsITaskbarOverlayIconController : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITASKBAROVERLAYICONCONTROLLER_IID)
/* Used by ToJSValue to check which scriptable interface is implemented. */
using ScriptableInterfaceType = nsITaskbarOverlayIconController;
/* void setOverlayIcon (in imgIContainer statusIcon, in AString statusDescription, [optional] in nsISVGPaintContext paintContext); */
JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD SetOverlayIcon(imgIContainer *statusIcon, const nsAString& statusDescription, nsISVGPaintContext *paintContext) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsITaskbarOverlayIconController, NS_ITASKBAROVERLAYICONCONTROLLER_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSITASKBAROVERLAYICONCONTROLLER \
NS_IMETHOD SetOverlayIcon(imgIContainer *statusIcon, const nsAString& statusDescription, nsISVGPaintContext *paintContext) 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_NSITASKBAROVERLAYICONCONTROLLER \
nsresult SetOverlayIcon(imgIContainer *statusIcon, const nsAString& statusDescription, nsISVGPaintContext *paintContext);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSITASKBAROVERLAYICONCONTROLLER(_to) \
NS_IMETHOD SetOverlayIcon(imgIContainer *statusIcon, const nsAString& statusDescription, nsISVGPaintContext *paintContext) override { return _to SetOverlayIcon(statusIcon, statusDescription, paintContext); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSITASKBAROVERLAYICONCONTROLLER(_to) \
NS_IMETHOD SetOverlayIcon(imgIContainer *statusIcon, const nsAString& statusDescription, nsISVGPaintContext *paintContext) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOverlayIcon(statusIcon, statusDescription, paintContext); }
#endif /* __gen_nsITaskbarOverlayIconController_h__ */