/* * DO NOT EDIT. THIS FILE IS GENERATED FROM inIFlasher.idl */ #ifndef __gen_inIFlasher_h__ #define __gen_inIFlasher_h__ #ifndef __gen_nsISupports_h__ #include "nsISupports.h" #endif /* For IDL files that don't want to include root IDL files. */ #ifndef NS_NO_VTABLE #define NS_NO_VTABLE #endif class nsIDOMDocument; /* forward declaration */ class nsIDOMElement; /* forward declaration */ class nsIDOMWindowInternal; /* forward declaration */ /* starting interface: inIFlasher */ #define INIFLASHER_IID_STR "7b4a099f-6f6e-4565-977b-fb622adbff49" #define INIFLASHER_IID \ {0x7b4a099f, 0x6f6e, 0x4565, \ { 0x97, 0x7b, 0xfb, 0x62, 0x2a, 0xdb, 0xff, 0x49 }} class NS_NO_VTABLE inIFlasher : public nsISupports { public: NS_DEFINE_STATIC_IID_ACCESSOR(INIFLASHER_IID) /* void drawElementOutline (in nsIDOMElement aElement, in wstring aColor, in long aThickness, in boolean aInvert); */ NS_IMETHOD DrawElementOutline(nsIDOMElement *aElement, const PRUnichar *aColor, PRInt32 aThickness, PRBool aInvert) = 0; /* void repaintElement (in nsIDOMElement aElement); */ NS_IMETHOD RepaintElement(nsIDOMElement *aElement) = 0; }; /* Use this macro when declaring classes that implement this interface. */ #define NS_DECL_INIFLASHER \ NS_IMETHOD DrawElementOutline(nsIDOMElement *aElement, const PRUnichar *aColor, PRInt32 aThickness, PRBool aInvert); \ NS_IMETHOD RepaintElement(nsIDOMElement *aElement); /* Use this macro to declare functions that forward the behavior of this interface to another object. */ #define NS_FORWARD_INIFLASHER(_to) \ NS_IMETHOD DrawElementOutline(nsIDOMElement *aElement, const PRUnichar *aColor, PRInt32 aThickness, PRBool aInvert) { return _to DrawElementOutline(aElement, aColor, aThickness, aInvert); } \ NS_IMETHOD RepaintElement(nsIDOMElement *aElement) { return _to RepaintElement(aElement); } /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */ #define NS_FORWARD_SAFE_INIFLASHER(_to) \ NS_IMETHOD DrawElementOutline(nsIDOMElement *aElement, const PRUnichar *aColor, PRInt32 aThickness, PRBool aInvert) { return !_to ? NS_ERROR_NULL_POINTER : _to->DrawElementOutline(aElement, aColor, aThickness, aInvert); } \ NS_IMETHOD RepaintElement(nsIDOMElement *aElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->RepaintElement(aElement); } #if 0 /* Use the code below as a template for the implementation class for this interface. */ /* Header file */ class inFlasher : public inIFlasher { public: NS_DECL_ISUPPORTS NS_DECL_INIFLASHER inFlasher(); virtual ~inFlasher(); /* additional members */ }; /* Implementation file */ NS_IMPL_ISUPPORTS1(inFlasher, inIFlasher) inFlasher::inFlasher() { NS_INIT_ISUPPORTS(); /* member initializers and constructor code */ } inFlasher::~inFlasher() { /* destructor code */ } /* void drawElementOutline (in nsIDOMElement aElement, in wstring aColor, in long aThickness, in boolean aInvert); */ NS_IMETHODIMP inFlasher::DrawElementOutline(nsIDOMElement *aElement, const PRUnichar *aColor, PRInt32 aThickness, PRBool aInvert) { return NS_ERROR_NOT_IMPLEMENTED; } /* void repaintElement (in nsIDOMElement aElement); */ NS_IMETHODIMP inFlasher::RepaintElement(nsIDOMElement *aElement) { return NS_ERROR_NOT_IMPLEMENTED; } /* End of implementation class template. */ #endif #endif /* __gen_inIFlasher_h__ */ .