Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIReflowObserver.idl
3 : */
4 :
5 : #ifndef __gen_nsIReflowObserver_h__
6 : #define __gen_nsIReflowObserver_h__
7 :
8 :
9 : #ifndef __gen_domstubs_h__
10 : #include "domstubs.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 :
18 : /* starting interface: nsIReflowObserver */
19 : #define NS_IREFLOWOBSERVER_IID_STR "832e692c-c4a6-11e2-8fd1-dce678957a39"
20 :
21 : #define NS_IREFLOWOBSERVER_IID \
22 : {0x832e692c, 0xc4a6, 0x11e2, \
23 : { 0x8f, 0xd1, 0xdc, 0xe6, 0x78, 0x95, 0x7a, 0x39 }}
24 :
25 0 : class NS_NO_VTABLE nsIReflowObserver : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IREFLOWOBSERVER_IID)
29 :
30 : /* void reflow (in DOMHighResTimeStamp start, in DOMHighResTimeStamp end); */
31 : NS_IMETHOD Reflow(DOMHighResTimeStamp start, DOMHighResTimeStamp end) = 0;
32 :
33 : /* void reflowInterruptible (in DOMHighResTimeStamp start, in DOMHighResTimeStamp end); */
34 : NS_IMETHOD ReflowInterruptible(DOMHighResTimeStamp start, DOMHighResTimeStamp end) = 0;
35 :
36 : };
37 :
38 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIReflowObserver, NS_IREFLOWOBSERVER_IID)
39 :
40 : /* Use this macro when declaring classes that implement this interface. */
41 : #define NS_DECL_NSIREFLOWOBSERVER \
42 : NS_IMETHOD Reflow(DOMHighResTimeStamp start, DOMHighResTimeStamp end) override; \
43 : NS_IMETHOD ReflowInterruptible(DOMHighResTimeStamp start, DOMHighResTimeStamp end) override;
44 :
45 : /* Use this macro when declaring the members of this interface when the
46 : class doesn't implement the interface. This is useful for forwarding. */
47 : #define NS_DECL_NON_VIRTUAL_NSIREFLOWOBSERVER \
48 : nsresult Reflow(DOMHighResTimeStamp start, DOMHighResTimeStamp end); \
49 : nsresult ReflowInterruptible(DOMHighResTimeStamp start, DOMHighResTimeStamp end);
50 :
51 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
52 : #define NS_FORWARD_NSIREFLOWOBSERVER(_to) \
53 : NS_IMETHOD Reflow(DOMHighResTimeStamp start, DOMHighResTimeStamp end) override { return _to Reflow(start, end); } \
54 : NS_IMETHOD ReflowInterruptible(DOMHighResTimeStamp start, DOMHighResTimeStamp end) override { return _to ReflowInterruptible(start, end); }
55 :
56 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
57 : #define NS_FORWARD_SAFE_NSIREFLOWOBSERVER(_to) \
58 : NS_IMETHOD Reflow(DOMHighResTimeStamp start, DOMHighResTimeStamp end) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Reflow(start, end); } \
59 : NS_IMETHOD ReflowInterruptible(DOMHighResTimeStamp start, DOMHighResTimeStamp end) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReflowInterruptible(start, end); }
60 :
61 : #if 0
62 : /* Use the code below as a template for the implementation class for this interface. */
63 :
64 : /* Header file */
65 : class nsReflowObserver : public nsIReflowObserver
66 : {
67 : public:
68 : NS_DECL_ISUPPORTS
69 : NS_DECL_NSIREFLOWOBSERVER
70 :
71 : nsReflowObserver();
72 :
73 : private:
74 : ~nsReflowObserver();
75 :
76 : protected:
77 : /* additional members */
78 : };
79 :
80 : /* Implementation file */
81 : NS_IMPL_ISUPPORTS(nsReflowObserver, nsIReflowObserver)
82 :
83 : nsReflowObserver::nsReflowObserver()
84 : {
85 : /* member initializers and constructor code */
86 : }
87 :
88 : nsReflowObserver::~nsReflowObserver()
89 : {
90 : /* destructor code */
91 : }
92 :
93 : /* void reflow (in DOMHighResTimeStamp start, in DOMHighResTimeStamp end); */
94 : NS_IMETHODIMP nsReflowObserver::Reflow(DOMHighResTimeStamp start, DOMHighResTimeStamp end)
95 : {
96 : return NS_ERROR_NOT_IMPLEMENTED;
97 : }
98 :
99 : /* void reflowInterruptible (in DOMHighResTimeStamp start, in DOMHighResTimeStamp end); */
100 : NS_IMETHODIMP nsReflowObserver::ReflowInterruptible(DOMHighResTimeStamp start, DOMHighResTimeStamp end)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* End of implementation class template. */
106 : #endif
107 :
108 :
109 : #endif /* __gen_nsIReflowObserver_h__ */
|