1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/embedding/base/nsIWindowCreator2.idl
3 : */
4 :
5 : #ifndef __gen_nsIWindowCreator2_h__
6 : #define __gen_nsIWindowCreator2_h__
7 :
8 :
9 : #ifndef __gen_nsIWindowCreator_h__
10 : #include "nsIWindowCreator.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 nsIURI; /* forward declaration */
18 :
19 : class nsIWebBrowserChrome; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsIWindowCreator2 */
23 : #define NS_IWINDOWCREATOR2_IID_STR "f673ec81-a4b0-11d6-964b-eb5a2bf216fc"
24 :
25 : #define NS_IWINDOWCREATOR2_IID \
26 : {0xf673ec81, 0xa4b0, 0x11d6, \
27 : { 0x96, 0x4b, 0xeb, 0x5a, 0x2b, 0xf2, 0x16, 0xfc }}
28 :
29 16 : class NS_NO_VTABLE NS_SCRIPTABLE nsIWindowCreator2 : public nsIWindowCreator {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWINDOWCREATOR2_IID)
33 :
34 : enum {
35 : PARENT_IS_LOADING_OR_RUNNING_TIMEOUT = 1U
36 : };
37 :
38 : /* nsIWebBrowserChrome createChromeWindow2 (in nsIWebBrowserChrome parent, in PRUint32 chromeFlags, in PRUint32 contextFlags, in nsIURI uri, out boolean cancel); */
39 : NS_SCRIPTABLE NS_IMETHOD CreateChromeWindow2(nsIWebBrowserChrome *parent, PRUint32 chromeFlags, PRUint32 contextFlags, nsIURI *uri, bool *cancel NS_OUTPARAM, nsIWebBrowserChrome * *_retval NS_OUTPARAM) = 0;
40 :
41 : };
42 :
43 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIWindowCreator2, NS_IWINDOWCREATOR2_IID)
44 :
45 : /* Use this macro when declaring classes that implement this interface. */
46 : #define NS_DECL_NSIWINDOWCREATOR2 \
47 : NS_SCRIPTABLE NS_IMETHOD CreateChromeWindow2(nsIWebBrowserChrome *parent, PRUint32 chromeFlags, PRUint32 contextFlags, nsIURI *uri, bool *cancel NS_OUTPARAM, nsIWebBrowserChrome * *_retval NS_OUTPARAM);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIWINDOWCREATOR2(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD CreateChromeWindow2(nsIWebBrowserChrome *parent, PRUint32 chromeFlags, PRUint32 contextFlags, nsIURI *uri, bool *cancel NS_OUTPARAM, nsIWebBrowserChrome * *_retval NS_OUTPARAM) { return _to CreateChromeWindow2(parent, chromeFlags, contextFlags, uri, cancel, _retval); }
52 :
53 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
54 : #define NS_FORWARD_SAFE_NSIWINDOWCREATOR2(_to) \
55 : NS_SCRIPTABLE NS_IMETHOD CreateChromeWindow2(nsIWebBrowserChrome *parent, PRUint32 chromeFlags, PRUint32 contextFlags, nsIURI *uri, bool *cancel NS_OUTPARAM, nsIWebBrowserChrome * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateChromeWindow2(parent, chromeFlags, contextFlags, uri, cancel, _retval); }
56 :
57 : #if 0
58 : /* Use the code below as a template for the implementation class for this interface. */
59 :
60 : /* Header file */
61 : class nsWindowCreator2 : public nsIWindowCreator2
62 : {
63 : public:
64 : NS_DECL_ISUPPORTS
65 : NS_DECL_NSIWINDOWCREATOR2
66 :
67 : nsWindowCreator2();
68 :
69 : private:
70 : ~nsWindowCreator2();
71 :
72 : protected:
73 : /* additional members */
74 : };
75 :
76 : /* Implementation file */
77 : NS_IMPL_ISUPPORTS1(nsWindowCreator2, nsIWindowCreator2)
78 :
79 : nsWindowCreator2::nsWindowCreator2()
80 : {
81 : /* member initializers and constructor code */
82 : }
83 :
84 : nsWindowCreator2::~nsWindowCreator2()
85 : {
86 : /* destructor code */
87 : }
88 :
89 : /* nsIWebBrowserChrome createChromeWindow2 (in nsIWebBrowserChrome parent, in PRUint32 chromeFlags, in PRUint32 contextFlags, in nsIURI uri, out boolean cancel); */
90 : NS_IMETHODIMP nsWindowCreator2::CreateChromeWindow2(nsIWebBrowserChrome *parent, PRUint32 chromeFlags, PRUint32 contextFlags, nsIURI *uri, bool *cancel NS_OUTPARAM, nsIWebBrowserChrome * *_retval NS_OUTPARAM)
91 : {
92 : return NS_ERROR_NOT_IMPLEMENTED;
93 : }
94 :
95 : /* End of implementation class template. */
96 : #endif
97 :
98 :
99 : #endif /* __gen_nsIWindowCreator2_h__ */
|