1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/layout/xul/base/public/nsIContainerBoxObject.idl
3 : */
4 :
5 : #ifndef __gen_nsIContainerBoxObject_h__
6 : #define __gen_nsIContainerBoxObject_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 nsIDocShell; /* forward declaration */
18 :
19 : class nsIBoxObject; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsIContainerBoxObject */
23 : #define NS_ICONTAINERBOXOBJECT_IID_STR "35d4c04b-3bd3-4375-92e2-a818b4b4acb6"
24 :
25 : #define NS_ICONTAINERBOXOBJECT_IID \
26 : {0x35d4c04b, 0x3bd3, 0x4375, \
27 : { 0x92, 0xe2, 0xa8, 0x18, 0xb4, 0xb4, 0xac, 0xb6 }}
28 :
29 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIContainerBoxObject : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICONTAINERBOXOBJECT_IID)
33 :
34 : /* readonly attribute nsIDocShell docShell; */
35 : NS_SCRIPTABLE NS_IMETHOD GetDocShell(nsIDocShell * *aDocShell) = 0;
36 :
37 : };
38 :
39 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIContainerBoxObject, NS_ICONTAINERBOXOBJECT_IID)
40 :
41 : /* Use this macro when declaring classes that implement this interface. */
42 : #define NS_DECL_NSICONTAINERBOXOBJECT \
43 : NS_SCRIPTABLE NS_IMETHOD GetDocShell(nsIDocShell * *aDocShell);
44 :
45 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
46 : #define NS_FORWARD_NSICONTAINERBOXOBJECT(_to) \
47 : NS_SCRIPTABLE NS_IMETHOD GetDocShell(nsIDocShell * *aDocShell) { return _to GetDocShell(aDocShell); }
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
50 : #define NS_FORWARD_SAFE_NSICONTAINERBOXOBJECT(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD GetDocShell(nsIDocShell * *aDocShell) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocShell(aDocShell); }
52 :
53 : #if 0
54 : /* Use the code below as a template for the implementation class for this interface. */
55 :
56 : /* Header file */
57 : class nsContainerBoxObject : public nsIContainerBoxObject
58 : {
59 : public:
60 : NS_DECL_ISUPPORTS
61 : NS_DECL_NSICONTAINERBOXOBJECT
62 :
63 : nsContainerBoxObject();
64 :
65 : private:
66 : ~nsContainerBoxObject();
67 :
68 : protected:
69 : /* additional members */
70 : };
71 :
72 : /* Implementation file */
73 : NS_IMPL_ISUPPORTS1(nsContainerBoxObject, nsIContainerBoxObject)
74 :
75 : nsContainerBoxObject::nsContainerBoxObject()
76 : {
77 : /* member initializers and constructor code */
78 : }
79 :
80 : nsContainerBoxObject::~nsContainerBoxObject()
81 : {
82 : /* destructor code */
83 : }
84 :
85 : /* readonly attribute nsIDocShell docShell; */
86 : NS_IMETHODIMP nsContainerBoxObject::GetDocShell(nsIDocShell * *aDocShell)
87 : {
88 : return NS_ERROR_NOT_IMPLEMENTED;
89 : }
90 :
91 : /* End of implementation class template. */
92 : #endif
93 :
94 : nsresult
95 : NS_NewContainerBoxObject(nsIBoxObject** aResult);
96 :
97 : #endif /* __gen_nsIContainerBoxObject_h__ */
|