1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/image/public/imgIContainerObserver.idl
3 : */
4 :
5 : #ifndef __gen_imgIContainerObserver_h__
6 : #define __gen_imgIContainerObserver_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : /* For IDL files that don't want to include root IDL files. */
14 : #ifndef NS_NO_VTABLE
15 : #define NS_NO_VTABLE
16 : #endif
17 : #include "nsRect.h"
18 : class imgIContainer; /* forward declaration */
19 :
20 : class imgIRequest; /* forward declaration */
21 :
22 :
23 : /* starting interface: imgIContainerObserver */
24 : #define IMGICONTAINEROBSERVER_IID_STR "f01efdb3-4b20-4313-a636-a2aa01a4ef5d"
25 :
26 : #define IMGICONTAINEROBSERVER_IID \
27 : {0xf01efdb3, 0x4b20, 0x4313, \
28 : { 0xa6, 0x36, 0xa2, 0xaa, 0x01, 0xa4, 0xef, 0x5d }}
29 :
30 9 : class NS_NO_VTABLE NS_SCRIPTABLE imgIContainerObserver : public nsISupports {
31 : public:
32 :
33 : NS_DECLARE_STATIC_IID_ACCESSOR(IMGICONTAINEROBSERVER_IID)
34 :
35 : /* [noscript] void frameChanged (in imgIRequest aRequest, in imgIContainer aContainer, [const] in nsIntRect aDirtyRect); */
36 : NS_IMETHOD FrameChanged(imgIRequest *aRequest, imgIContainer *aContainer, const nsIntRect *aDirtyRect) = 0;
37 :
38 : };
39 :
40 : NS_DEFINE_STATIC_IID_ACCESSOR(imgIContainerObserver, IMGICONTAINEROBSERVER_IID)
41 :
42 : /* Use this macro when declaring classes that implement this interface. */
43 : #define NS_DECL_IMGICONTAINEROBSERVER \
44 : NS_IMETHOD FrameChanged(imgIRequest *aRequest, imgIContainer *aContainer, const nsIntRect *aDirtyRect);
45 :
46 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
47 : #define NS_FORWARD_IMGICONTAINEROBSERVER(_to) \
48 : NS_IMETHOD FrameChanged(imgIRequest *aRequest, imgIContainer *aContainer, const nsIntRect *aDirtyRect) { return _to FrameChanged(aRequest, aContainer, aDirtyRect); }
49 :
50 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
51 : #define NS_FORWARD_SAFE_IMGICONTAINEROBSERVER(_to) \
52 : NS_IMETHOD FrameChanged(imgIRequest *aRequest, imgIContainer *aContainer, const nsIntRect *aDirtyRect) { return !_to ? NS_ERROR_NULL_POINTER : _to->FrameChanged(aRequest, aContainer, aDirtyRect); }
53 :
54 : #if 0
55 : /* Use the code below as a template for the implementation class for this interface. */
56 :
57 : /* Header file */
58 : class _MYCLASS_ : public imgIContainerObserver
59 : {
60 : public:
61 : NS_DECL_ISUPPORTS
62 : NS_DECL_IMGICONTAINEROBSERVER
63 :
64 : _MYCLASS_();
65 :
66 : private:
67 : ~_MYCLASS_();
68 :
69 : protected:
70 : /* additional members */
71 : };
72 :
73 : /* Implementation file */
74 : NS_IMPL_ISUPPORTS1(_MYCLASS_, imgIContainerObserver)
75 :
76 : _MYCLASS_::_MYCLASS_()
77 : {
78 : /* member initializers and constructor code */
79 : }
80 :
81 : _MYCLASS_::~_MYCLASS_()
82 : {
83 : /* destructor code */
84 : }
85 :
86 : /* [noscript] void frameChanged (in imgIRequest aRequest, in imgIContainer aContainer, [const] in nsIntRect aDirtyRect); */
87 : NS_IMETHODIMP _MYCLASS_::FrameChanged(imgIRequest *aRequest, imgIContainer *aContainer, const nsIntRect *aDirtyRect)
88 : {
89 : return NS_ERROR_NOT_IMPLEMENTED;
90 : }
91 :
92 : /* End of implementation class template. */
93 : #endif
94 :
95 :
96 : #endif /* __gen_imgIContainerObserver_h__ */
|