1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/base/nsIDOMModalContentWindow.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMModalContentWindow_h__
6 : #define __gen_nsIDOMModalContentWindow_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 : class nsIVariant; /* forward declaration */
18 :
19 : class nsIArray; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsIDOMModalContentWindow */
23 : #define NS_IDOMMODALCONTENTWINDOW_IID_STR "51aebd45-b979-4ec6-9d11-3a3fd3d5d59e"
24 :
25 : #define NS_IDOMMODALCONTENTWINDOW_IID \
26 : {0x51aebd45, 0xb979, 0x4ec6, \
27 : { 0x9d, 0x11, 0x3a, 0x3f, 0xd3, 0xd5, 0xd5, 0x9e }}
28 :
29 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMModalContentWindow : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMODALCONTENTWINDOW_IID)
33 :
34 : /* readonly attribute nsIArray dialogArguments; */
35 : NS_SCRIPTABLE NS_IMETHOD GetDialogArguments(nsIArray * *aDialogArguments) = 0;
36 :
37 : /* attribute nsIVariant returnValue; */
38 : NS_SCRIPTABLE NS_IMETHOD GetReturnValue(nsIVariant * *aReturnValue) = 0;
39 : NS_SCRIPTABLE NS_IMETHOD SetReturnValue(nsIVariant *aReturnValue) = 0;
40 :
41 : };
42 :
43 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMModalContentWindow, NS_IDOMMODALCONTENTWINDOW_IID)
44 :
45 : /* Use this macro when declaring classes that implement this interface. */
46 : #define NS_DECL_NSIDOMMODALCONTENTWINDOW \
47 : NS_SCRIPTABLE NS_IMETHOD GetDialogArguments(nsIArray * *aDialogArguments); \
48 : NS_SCRIPTABLE NS_IMETHOD GetReturnValue(nsIVariant * *aReturnValue); \
49 : NS_SCRIPTABLE NS_IMETHOD SetReturnValue(nsIVariant *aReturnValue);
50 :
51 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
52 : #define NS_FORWARD_NSIDOMMODALCONTENTWINDOW(_to) \
53 : NS_SCRIPTABLE NS_IMETHOD GetDialogArguments(nsIArray * *aDialogArguments) { return _to GetDialogArguments(aDialogArguments); } \
54 : NS_SCRIPTABLE NS_IMETHOD GetReturnValue(nsIVariant * *aReturnValue) { return _to GetReturnValue(aReturnValue); } \
55 : NS_SCRIPTABLE NS_IMETHOD SetReturnValue(nsIVariant *aReturnValue) { return _to SetReturnValue(aReturnValue); }
56 :
57 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
58 : #define NS_FORWARD_SAFE_NSIDOMMODALCONTENTWINDOW(_to) \
59 : NS_SCRIPTABLE NS_IMETHOD GetDialogArguments(nsIArray * *aDialogArguments) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDialogArguments(aDialogArguments); } \
60 : NS_SCRIPTABLE NS_IMETHOD GetReturnValue(nsIVariant * *aReturnValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetReturnValue(aReturnValue); } \
61 : NS_SCRIPTABLE NS_IMETHOD SetReturnValue(nsIVariant *aReturnValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetReturnValue(aReturnValue); }
62 :
63 : #if 0
64 : /* Use the code below as a template for the implementation class for this interface. */
65 :
66 : /* Header file */
67 : class nsDOMModalContentWindow : public nsIDOMModalContentWindow
68 : {
69 : public:
70 : NS_DECL_ISUPPORTS
71 : NS_DECL_NSIDOMMODALCONTENTWINDOW
72 :
73 : nsDOMModalContentWindow();
74 :
75 : private:
76 : ~nsDOMModalContentWindow();
77 :
78 : protected:
79 : /* additional members */
80 : };
81 :
82 : /* Implementation file */
83 : NS_IMPL_ISUPPORTS1(nsDOMModalContentWindow, nsIDOMModalContentWindow)
84 :
85 : nsDOMModalContentWindow::nsDOMModalContentWindow()
86 : {
87 : /* member initializers and constructor code */
88 : }
89 :
90 : nsDOMModalContentWindow::~nsDOMModalContentWindow()
91 : {
92 : /* destructor code */
93 : }
94 :
95 : /* readonly attribute nsIArray dialogArguments; */
96 : NS_IMETHODIMP nsDOMModalContentWindow::GetDialogArguments(nsIArray * *aDialogArguments)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* attribute nsIVariant returnValue; */
102 : NS_IMETHODIMP nsDOMModalContentWindow::GetReturnValue(nsIVariant * *aReturnValue)
103 : {
104 : return NS_ERROR_NOT_IMPLEMENTED;
105 : }
106 : NS_IMETHODIMP nsDOMModalContentWindow::SetReturnValue(nsIVariant *aReturnValue)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* End of implementation class template. */
112 : #endif
113 :
114 :
115 : #endif /* __gen_nsIDOMModalContentWindow_h__ */
|