Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIXULOverlayProvider.idl
3 : */
4 :
5 : #ifndef __gen_nsIXULOverlayProvider_h__
6 : #define __gen_nsIXULOverlayProvider_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 nsISimpleEnumerator; /* forward declaration */
18 :
19 : class nsIURI; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsIXULOverlayProvider */
23 : #define NS_IXULOVERLAYPROVIDER_IID_STR "1d5b5b94-dc47-4050-93b7-ac092e383cad"
24 :
25 : #define NS_IXULOVERLAYPROVIDER_IID \
26 : {0x1d5b5b94, 0xdc47, 0x4050, \
27 : { 0x93, 0xb7, 0xac, 0x09, 0x2e, 0x38, 0x3c, 0xad }}
28 :
29 3 : class NS_NO_VTABLE nsIXULOverlayProvider : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IXULOVERLAYPROVIDER_IID)
33 :
34 : /* nsISimpleEnumerator getXULOverlays (in nsIURI aURI); */
35 : NS_IMETHOD GetXULOverlays(nsIURI *aURI, nsISimpleEnumerator * *_retval) = 0;
36 :
37 : /* nsISimpleEnumerator getStyleOverlays (in nsIURI aURI); */
38 : NS_IMETHOD GetStyleOverlays(nsIURI *aURI, nsISimpleEnumerator * *_retval) = 0;
39 :
40 : };
41 :
42 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIXULOverlayProvider, NS_IXULOVERLAYPROVIDER_IID)
43 :
44 : /* Use this macro when declaring classes that implement this interface. */
45 : #define NS_DECL_NSIXULOVERLAYPROVIDER \
46 : NS_IMETHOD GetXULOverlays(nsIURI *aURI, nsISimpleEnumerator * *_retval) override; \
47 : NS_IMETHOD GetStyleOverlays(nsIURI *aURI, nsISimpleEnumerator * *_retval) override;
48 :
49 : /* Use this macro when declaring the members of this interface when the
50 : class doesn't implement the interface. This is useful for forwarding. */
51 : #define NS_DECL_NON_VIRTUAL_NSIXULOVERLAYPROVIDER \
52 : nsresult GetXULOverlays(nsIURI *aURI, nsISimpleEnumerator * *_retval); \
53 : nsresult GetStyleOverlays(nsIURI *aURI, nsISimpleEnumerator * *_retval);
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
56 : #define NS_FORWARD_NSIXULOVERLAYPROVIDER(_to) \
57 : NS_IMETHOD GetXULOverlays(nsIURI *aURI, nsISimpleEnumerator * *_retval) override { return _to GetXULOverlays(aURI, _retval); } \
58 : NS_IMETHOD GetStyleOverlays(nsIURI *aURI, nsISimpleEnumerator * *_retval) override { return _to GetStyleOverlays(aURI, _retval); }
59 :
60 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
61 : #define NS_FORWARD_SAFE_NSIXULOVERLAYPROVIDER(_to) \
62 : NS_IMETHOD GetXULOverlays(nsIURI *aURI, nsISimpleEnumerator * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetXULOverlays(aURI, _retval); } \
63 : NS_IMETHOD GetStyleOverlays(nsIURI *aURI, nsISimpleEnumerator * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStyleOverlays(aURI, _retval); }
64 :
65 : #if 0
66 : /* Use the code below as a template for the implementation class for this interface. */
67 :
68 : /* Header file */
69 : class nsXULOverlayProvider : public nsIXULOverlayProvider
70 : {
71 : public:
72 : NS_DECL_ISUPPORTS
73 : NS_DECL_NSIXULOVERLAYPROVIDER
74 :
75 : nsXULOverlayProvider();
76 :
77 : private:
78 : ~nsXULOverlayProvider();
79 :
80 : protected:
81 : /* additional members */
82 : };
83 :
84 : /* Implementation file */
85 : NS_IMPL_ISUPPORTS(nsXULOverlayProvider, nsIXULOverlayProvider)
86 :
87 : nsXULOverlayProvider::nsXULOverlayProvider()
88 : {
89 : /* member initializers and constructor code */
90 : }
91 :
92 : nsXULOverlayProvider::~nsXULOverlayProvider()
93 : {
94 : /* destructor code */
95 : }
96 :
97 : /* nsISimpleEnumerator getXULOverlays (in nsIURI aURI); */
98 : NS_IMETHODIMP nsXULOverlayProvider::GetXULOverlays(nsIURI *aURI, nsISimpleEnumerator * *_retval)
99 : {
100 : return NS_ERROR_NOT_IMPLEMENTED;
101 : }
102 :
103 : /* nsISimpleEnumerator getStyleOverlays (in nsIURI aURI); */
104 : NS_IMETHODIMP nsXULOverlayProvider::GetStyleOverlays(nsIURI *aURI, nsISimpleEnumerator * *_retval)
105 : {
106 : return NS_ERROR_NOT_IMPLEMENTED;
107 : }
108 :
109 : /* End of implementation class template. */
110 : #endif
111 :
112 :
113 : #endif /* __gen_nsIXULOverlayProvider_h__ */
|