1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/security/manager/ssl/public/nsIASN1Sequence.idl
3 : */
4 :
5 : #ifndef __gen_nsIASN1Sequence_h__
6 : #define __gen_nsIASN1Sequence_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #ifndef __gen_nsIASN1Object_h__
14 : #include "nsIASN1Object.h"
15 : #endif
16 :
17 : /* For IDL files that don't want to include root IDL files. */
18 : #ifndef NS_NO_VTABLE
19 : #define NS_NO_VTABLE
20 : #endif
21 : class nsIMutableArray; /* forward declaration */
22 :
23 :
24 : /* starting interface: nsIASN1Sequence */
25 : #define NS_IASN1SEQUENCE_IID_STR "b6b957e6-1dd1-11b2-89d7-e30624f50b00"
26 :
27 : #define NS_IASN1SEQUENCE_IID \
28 : {0xb6b957e6, 0x1dd1, 0x11b2, \
29 : { 0x89, 0xd7, 0xe3, 0x06, 0x24, 0xf5, 0x0b, 0x00 }}
30 :
31 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIASN1Sequence : public nsIASN1Object {
32 : public:
33 :
34 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IASN1SEQUENCE_IID)
35 :
36 : /* attribute nsIMutableArray ASN1Objects; */
37 : NS_SCRIPTABLE NS_IMETHOD GetASN1Objects(nsIMutableArray * *aASN1Objects) = 0;
38 : NS_SCRIPTABLE NS_IMETHOD SetASN1Objects(nsIMutableArray *aASN1Objects) = 0;
39 :
40 : /* attribute boolean isValidContainer; */
41 : NS_SCRIPTABLE NS_IMETHOD GetIsValidContainer(bool *aIsValidContainer) = 0;
42 : NS_SCRIPTABLE NS_IMETHOD SetIsValidContainer(bool aIsValidContainer) = 0;
43 :
44 : /* attribute boolean isExpanded; */
45 : NS_SCRIPTABLE NS_IMETHOD GetIsExpanded(bool *aIsExpanded) = 0;
46 : NS_SCRIPTABLE NS_IMETHOD SetIsExpanded(bool aIsExpanded) = 0;
47 :
48 : };
49 :
50 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIASN1Sequence, NS_IASN1SEQUENCE_IID)
51 :
52 : /* Use this macro when declaring classes that implement this interface. */
53 : #define NS_DECL_NSIASN1SEQUENCE \
54 : NS_SCRIPTABLE NS_IMETHOD GetASN1Objects(nsIMutableArray * *aASN1Objects); \
55 : NS_SCRIPTABLE NS_IMETHOD SetASN1Objects(nsIMutableArray *aASN1Objects); \
56 : NS_SCRIPTABLE NS_IMETHOD GetIsValidContainer(bool *aIsValidContainer); \
57 : NS_SCRIPTABLE NS_IMETHOD SetIsValidContainer(bool aIsValidContainer); \
58 : NS_SCRIPTABLE NS_IMETHOD GetIsExpanded(bool *aIsExpanded); \
59 : NS_SCRIPTABLE NS_IMETHOD SetIsExpanded(bool aIsExpanded);
60 :
61 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
62 : #define NS_FORWARD_NSIASN1SEQUENCE(_to) \
63 : NS_SCRIPTABLE NS_IMETHOD GetASN1Objects(nsIMutableArray * *aASN1Objects) { return _to GetASN1Objects(aASN1Objects); } \
64 : NS_SCRIPTABLE NS_IMETHOD SetASN1Objects(nsIMutableArray *aASN1Objects) { return _to SetASN1Objects(aASN1Objects); } \
65 : NS_SCRIPTABLE NS_IMETHOD GetIsValidContainer(bool *aIsValidContainer) { return _to GetIsValidContainer(aIsValidContainer); } \
66 : NS_SCRIPTABLE NS_IMETHOD SetIsValidContainer(bool aIsValidContainer) { return _to SetIsValidContainer(aIsValidContainer); } \
67 : NS_SCRIPTABLE NS_IMETHOD GetIsExpanded(bool *aIsExpanded) { return _to GetIsExpanded(aIsExpanded); } \
68 : NS_SCRIPTABLE NS_IMETHOD SetIsExpanded(bool aIsExpanded) { return _to SetIsExpanded(aIsExpanded); }
69 :
70 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
71 : #define NS_FORWARD_SAFE_NSIASN1SEQUENCE(_to) \
72 : NS_SCRIPTABLE NS_IMETHOD GetASN1Objects(nsIMutableArray * *aASN1Objects) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetASN1Objects(aASN1Objects); } \
73 : NS_SCRIPTABLE NS_IMETHOD SetASN1Objects(nsIMutableArray *aASN1Objects) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetASN1Objects(aASN1Objects); } \
74 : NS_SCRIPTABLE NS_IMETHOD GetIsValidContainer(bool *aIsValidContainer) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsValidContainer(aIsValidContainer); } \
75 : NS_SCRIPTABLE NS_IMETHOD SetIsValidContainer(bool aIsValidContainer) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsValidContainer(aIsValidContainer); } \
76 : NS_SCRIPTABLE NS_IMETHOD GetIsExpanded(bool *aIsExpanded) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsExpanded(aIsExpanded); } \
77 : NS_SCRIPTABLE NS_IMETHOD SetIsExpanded(bool aIsExpanded) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsExpanded(aIsExpanded); }
78 :
79 : #if 0
80 : /* Use the code below as a template for the implementation class for this interface. */
81 :
82 : /* Header file */
83 : class nsASN1Sequence : public nsIASN1Sequence
84 : {
85 : public:
86 : NS_DECL_ISUPPORTS
87 : NS_DECL_NSIASN1SEQUENCE
88 :
89 : nsASN1Sequence();
90 :
91 : private:
92 : ~nsASN1Sequence();
93 :
94 : protected:
95 : /* additional members */
96 : };
97 :
98 : /* Implementation file */
99 : NS_IMPL_ISUPPORTS1(nsASN1Sequence, nsIASN1Sequence)
100 :
101 : nsASN1Sequence::nsASN1Sequence()
102 : {
103 : /* member initializers and constructor code */
104 : }
105 :
106 : nsASN1Sequence::~nsASN1Sequence()
107 : {
108 : /* destructor code */
109 : }
110 :
111 : /* attribute nsIMutableArray ASN1Objects; */
112 : NS_IMETHODIMP nsASN1Sequence::GetASN1Objects(nsIMutableArray * *aASN1Objects)
113 : {
114 : return NS_ERROR_NOT_IMPLEMENTED;
115 : }
116 : NS_IMETHODIMP nsASN1Sequence::SetASN1Objects(nsIMutableArray *aASN1Objects)
117 : {
118 : return NS_ERROR_NOT_IMPLEMENTED;
119 : }
120 :
121 : /* attribute boolean isValidContainer; */
122 : NS_IMETHODIMP nsASN1Sequence::GetIsValidContainer(bool *aIsValidContainer)
123 : {
124 : return NS_ERROR_NOT_IMPLEMENTED;
125 : }
126 : NS_IMETHODIMP nsASN1Sequence::SetIsValidContainer(bool aIsValidContainer)
127 : {
128 : return NS_ERROR_NOT_IMPLEMENTED;
129 : }
130 :
131 : /* attribute boolean isExpanded; */
132 : NS_IMETHODIMP nsASN1Sequence::GetIsExpanded(bool *aIsExpanded)
133 : {
134 : return NS_ERROR_NOT_IMPLEMENTED;
135 : }
136 : NS_IMETHODIMP nsASN1Sequence::SetIsExpanded(bool aIsExpanded)
137 : {
138 : return NS_ERROR_NOT_IMPLEMENTED;
139 : }
140 :
141 : /* End of implementation class template. */
142 : #endif
143 :
144 :
145 : #endif /* __gen_nsIASN1Sequence_h__ */
|