1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/toolkit/devtools/debugger/nsIJSInspector.idl
3 : */
4 :
5 : #ifndef __gen_nsIJSInspector_h__
6 : #define __gen_nsIJSInspector_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 :
18 : /* starting interface: nsIJSInspector */
19 : #define NS_IJSINSPECTOR_IID_STR "dbf84113-506a-4fd3-9183-a0348c6fa9cc"
20 :
21 : #define NS_IJSINSPECTOR_IID \
22 : {0xdbf84113, 0x506a, 0x4fd3, \
23 : { 0x91, 0x83, 0xa0, 0x34, 0x8c, 0x6f, 0xa9, 0xcc }}
24 :
25 46 : class NS_NO_VTABLE NS_SCRIPTABLE nsIJSInspector : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IJSINSPECTOR_IID)
29 :
30 : /* unsigned long enterNestedEventLoop (); */
31 : NS_SCRIPTABLE NS_IMETHOD EnterNestedEventLoop(PRUint32 *_retval NS_OUTPARAM) = 0;
32 :
33 : /* unsigned long exitNestedEventLoop (); */
34 : NS_SCRIPTABLE NS_IMETHOD ExitNestedEventLoop(PRUint32 *_retval NS_OUTPARAM) = 0;
35 :
36 : /* readonly attribute unsigned long eventLoopNestLevel; */
37 : NS_SCRIPTABLE NS_IMETHOD GetEventLoopNestLevel(PRUint32 *aEventLoopNestLevel) = 0;
38 :
39 : };
40 :
41 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIJSInspector, NS_IJSINSPECTOR_IID)
42 :
43 : /* Use this macro when declaring classes that implement this interface. */
44 : #define NS_DECL_NSIJSINSPECTOR \
45 : NS_SCRIPTABLE NS_IMETHOD EnterNestedEventLoop(PRUint32 *_retval NS_OUTPARAM); \
46 : NS_SCRIPTABLE NS_IMETHOD ExitNestedEventLoop(PRUint32 *_retval NS_OUTPARAM); \
47 : NS_SCRIPTABLE NS_IMETHOD GetEventLoopNestLevel(PRUint32 *aEventLoopNestLevel);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIJSINSPECTOR(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD EnterNestedEventLoop(PRUint32 *_retval NS_OUTPARAM) { return _to EnterNestedEventLoop(_retval); } \
52 : NS_SCRIPTABLE NS_IMETHOD ExitNestedEventLoop(PRUint32 *_retval NS_OUTPARAM) { return _to ExitNestedEventLoop(_retval); } \
53 : NS_SCRIPTABLE NS_IMETHOD GetEventLoopNestLevel(PRUint32 *aEventLoopNestLevel) { return _to GetEventLoopNestLevel(aEventLoopNestLevel); }
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
56 : #define NS_FORWARD_SAFE_NSIJSINSPECTOR(_to) \
57 : NS_SCRIPTABLE NS_IMETHOD EnterNestedEventLoop(PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->EnterNestedEventLoop(_retval); } \
58 : NS_SCRIPTABLE NS_IMETHOD ExitNestedEventLoop(PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ExitNestedEventLoop(_retval); } \
59 : NS_SCRIPTABLE NS_IMETHOD GetEventLoopNestLevel(PRUint32 *aEventLoopNestLevel) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEventLoopNestLevel(aEventLoopNestLevel); }
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 nsJSInspector : public nsIJSInspector
66 : {
67 : public:
68 : NS_DECL_ISUPPORTS
69 : NS_DECL_NSIJSINSPECTOR
70 :
71 : nsJSInspector();
72 :
73 : private:
74 : ~nsJSInspector();
75 :
76 : protected:
77 : /* additional members */
78 : };
79 :
80 : /* Implementation file */
81 : NS_IMPL_ISUPPORTS1(nsJSInspector, nsIJSInspector)
82 :
83 : nsJSInspector::nsJSInspector()
84 : {
85 : /* member initializers and constructor code */
86 : }
87 :
88 : nsJSInspector::~nsJSInspector()
89 : {
90 : /* destructor code */
91 : }
92 :
93 : /* unsigned long enterNestedEventLoop (); */
94 : NS_IMETHODIMP nsJSInspector::EnterNestedEventLoop(PRUint32 *_retval NS_OUTPARAM)
95 : {
96 : return NS_ERROR_NOT_IMPLEMENTED;
97 : }
98 :
99 : /* unsigned long exitNestedEventLoop (); */
100 : NS_IMETHODIMP nsJSInspector::ExitNestedEventLoop(PRUint32 *_retval NS_OUTPARAM)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* readonly attribute unsigned long eventLoopNestLevel; */
106 : NS_IMETHODIMP nsJSInspector::GetEventLoopNestLevel(PRUint32 *aEventLoopNestLevel)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* End of implementation class template. */
112 : #endif
113 :
114 :
115 : #endif /* __gen_nsIJSInspector_h__ */
|