1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/caps/idl/nsISecurityCheckedComponent.idl
3 : */
4 :
5 : #ifndef __gen_nsISecurityCheckedComponent_h__
6 : #define __gen_nsISecurityCheckedComponent_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: nsISecurityCheckedComponent */
19 : #define NS_ISECURITYCHECKEDCOMPONENT_IID_STR "0dad9e8c-a12d-4dcb-9a6f-7d09839356e1"
20 :
21 : #define NS_ISECURITYCHECKEDCOMPONENT_IID \
22 : {0x0dad9e8c, 0xa12d, 0x4dcb, \
23 : { 0x9a, 0x6f, 0x7d, 0x09, 0x83, 0x93, 0x56, 0xe1 }}
24 :
25 130975 : class NS_NO_VTABLE NS_SCRIPTABLE nsISecurityCheckedComponent : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISECURITYCHECKEDCOMPONENT_IID)
29 :
30 : /* string canCreateWrapper (in nsIIDPtr iid); */
31 : NS_SCRIPTABLE NS_IMETHOD CanCreateWrapper(const nsIID *iid, char * *_retval NS_OUTPARAM) = 0;
32 :
33 : /* string canCallMethod (in nsIIDPtr iid, in wstring methodName); */
34 : NS_SCRIPTABLE NS_IMETHOD CanCallMethod(const nsIID *iid, const PRUnichar * methodName, char * *_retval NS_OUTPARAM) = 0;
35 :
36 : /* string canGetProperty (in nsIIDPtr iid, in wstring propertyName); */
37 : NS_SCRIPTABLE NS_IMETHOD CanGetProperty(const nsIID *iid, const PRUnichar * propertyName, char * *_retval NS_OUTPARAM) = 0;
38 :
39 : /* string canSetProperty (in nsIIDPtr iid, in wstring propertyName); */
40 : NS_SCRIPTABLE NS_IMETHOD CanSetProperty(const nsIID *iid, const PRUnichar * propertyName, char * *_retval NS_OUTPARAM) = 0;
41 :
42 : };
43 :
44 : NS_DEFINE_STATIC_IID_ACCESSOR(nsISecurityCheckedComponent, NS_ISECURITYCHECKEDCOMPONENT_IID)
45 :
46 : /* Use this macro when declaring classes that implement this interface. */
47 : #define NS_DECL_NSISECURITYCHECKEDCOMPONENT \
48 : NS_SCRIPTABLE NS_IMETHOD CanCreateWrapper(const nsIID *iid, char * *_retval NS_OUTPARAM); \
49 : NS_SCRIPTABLE NS_IMETHOD CanCallMethod(const nsIID *iid, const PRUnichar * methodName, char * *_retval NS_OUTPARAM); \
50 : NS_SCRIPTABLE NS_IMETHOD CanGetProperty(const nsIID *iid, const PRUnichar * propertyName, char * *_retval NS_OUTPARAM); \
51 : NS_SCRIPTABLE NS_IMETHOD CanSetProperty(const nsIID *iid, const PRUnichar * propertyName, char * *_retval NS_OUTPARAM);
52 :
53 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
54 : #define NS_FORWARD_NSISECURITYCHECKEDCOMPONENT(_to) \
55 : NS_SCRIPTABLE NS_IMETHOD CanCreateWrapper(const nsIID *iid, char * *_retval NS_OUTPARAM) { return _to CanCreateWrapper(iid, _retval); } \
56 : NS_SCRIPTABLE NS_IMETHOD CanCallMethod(const nsIID *iid, const PRUnichar * methodName, char * *_retval NS_OUTPARAM) { return _to CanCallMethod(iid, methodName, _retval); } \
57 : NS_SCRIPTABLE NS_IMETHOD CanGetProperty(const nsIID *iid, const PRUnichar * propertyName, char * *_retval NS_OUTPARAM) { return _to CanGetProperty(iid, propertyName, _retval); } \
58 : NS_SCRIPTABLE NS_IMETHOD CanSetProperty(const nsIID *iid, const PRUnichar * propertyName, char * *_retval NS_OUTPARAM) { return _to CanSetProperty(iid, propertyName, _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_NSISECURITYCHECKEDCOMPONENT(_to) \
62 : NS_SCRIPTABLE NS_IMETHOD CanCreateWrapper(const nsIID *iid, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CanCreateWrapper(iid, _retval); } \
63 : NS_SCRIPTABLE NS_IMETHOD CanCallMethod(const nsIID *iid, const PRUnichar * methodName, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CanCallMethod(iid, methodName, _retval); } \
64 : NS_SCRIPTABLE NS_IMETHOD CanGetProperty(const nsIID *iid, const PRUnichar * propertyName, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CanGetProperty(iid, propertyName, _retval); } \
65 : NS_SCRIPTABLE NS_IMETHOD CanSetProperty(const nsIID *iid, const PRUnichar * propertyName, char * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->CanSetProperty(iid, propertyName, _retval); }
66 :
67 : #if 0
68 : /* Use the code below as a template for the implementation class for this interface. */
69 :
70 : /* Header file */
71 : class nsSecurityCheckedComponent : public nsISecurityCheckedComponent
72 : {
73 : public:
74 : NS_DECL_ISUPPORTS
75 : NS_DECL_NSISECURITYCHECKEDCOMPONENT
76 :
77 : nsSecurityCheckedComponent();
78 :
79 : private:
80 : ~nsSecurityCheckedComponent();
81 :
82 : protected:
83 : /* additional members */
84 : };
85 :
86 : /* Implementation file */
87 : NS_IMPL_ISUPPORTS1(nsSecurityCheckedComponent, nsISecurityCheckedComponent)
88 :
89 : nsSecurityCheckedComponent::nsSecurityCheckedComponent()
90 : {
91 : /* member initializers and constructor code */
92 : }
93 :
94 : nsSecurityCheckedComponent::~nsSecurityCheckedComponent()
95 : {
96 : /* destructor code */
97 : }
98 :
99 : /* string canCreateWrapper (in nsIIDPtr iid); */
100 : NS_IMETHODIMP nsSecurityCheckedComponent::CanCreateWrapper(const nsIID *iid, char * *_retval NS_OUTPARAM)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* string canCallMethod (in nsIIDPtr iid, in wstring methodName); */
106 : NS_IMETHODIMP nsSecurityCheckedComponent::CanCallMethod(const nsIID *iid, const PRUnichar * methodName, char * *_retval NS_OUTPARAM)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* string canGetProperty (in nsIIDPtr iid, in wstring propertyName); */
112 : NS_IMETHODIMP nsSecurityCheckedComponent::CanGetProperty(const nsIID *iid, const PRUnichar * propertyName, char * *_retval NS_OUTPARAM)
113 : {
114 : return NS_ERROR_NOT_IMPLEMENTED;
115 : }
116 :
117 : /* string canSetProperty (in nsIIDPtr iid, in wstring propertyName); */
118 : NS_IMETHODIMP nsSecurityCheckedComponent::CanSetProperty(const nsIID *iid, const PRUnichar * propertyName, char * *_retval NS_OUTPARAM)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 :
123 : /* End of implementation class template. */
124 : #endif
125 :
126 :
127 : #endif /* __gen_nsISecurityCheckedComponent_h__ */
|