Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/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 nsIASN1Sequence : public nsIASN1Object {
32 : public:
33 :
34 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IASN1SEQUENCE_IID)
35 :
36 : /* attribute nsIMutableArray ASN1Objects; */
37 : NS_IMETHOD GetASN1Objects(nsIMutableArray * *aASN1Objects) = 0;
38 : NS_IMETHOD SetASN1Objects(nsIMutableArray *aASN1Objects) = 0;
39 :
40 : /* attribute boolean isValidContainer; */
41 : NS_IMETHOD GetIsValidContainer(bool *aIsValidContainer) = 0;
42 : NS_IMETHOD SetIsValidContainer(bool aIsValidContainer) = 0;
43 :
44 : /* attribute boolean isExpanded; */
45 : NS_IMETHOD GetIsExpanded(bool *aIsExpanded) = 0;
46 : 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_IMETHOD GetASN1Objects(nsIMutableArray * *aASN1Objects) override; \
55 : NS_IMETHOD SetASN1Objects(nsIMutableArray *aASN1Objects) override; \
56 : NS_IMETHOD GetIsValidContainer(bool *aIsValidContainer) override; \
57 : NS_IMETHOD SetIsValidContainer(bool aIsValidContainer) override; \
58 : NS_IMETHOD GetIsExpanded(bool *aIsExpanded) override; \
59 : NS_IMETHOD SetIsExpanded(bool aIsExpanded) override;
60 :
61 : /* Use this macro when declaring the members of this interface when the
62 : class doesn't implement the interface. This is useful for forwarding. */
63 : #define NS_DECL_NON_VIRTUAL_NSIASN1SEQUENCE \
64 : nsresult GetASN1Objects(nsIMutableArray * *aASN1Objects); \
65 : nsresult SetASN1Objects(nsIMutableArray *aASN1Objects); \
66 : nsresult GetIsValidContainer(bool *aIsValidContainer); \
67 : nsresult SetIsValidContainer(bool aIsValidContainer); \
68 : nsresult GetIsExpanded(bool *aIsExpanded); \
69 : nsresult SetIsExpanded(bool aIsExpanded);
70 :
71 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
72 : #define NS_FORWARD_NSIASN1SEQUENCE(_to) \
73 : NS_IMETHOD GetASN1Objects(nsIMutableArray * *aASN1Objects) override { return _to GetASN1Objects(aASN1Objects); } \
74 : NS_IMETHOD SetASN1Objects(nsIMutableArray *aASN1Objects) override { return _to SetASN1Objects(aASN1Objects); } \
75 : NS_IMETHOD GetIsValidContainer(bool *aIsValidContainer) override { return _to GetIsValidContainer(aIsValidContainer); } \
76 : NS_IMETHOD SetIsValidContainer(bool aIsValidContainer) override { return _to SetIsValidContainer(aIsValidContainer); } \
77 : NS_IMETHOD GetIsExpanded(bool *aIsExpanded) override { return _to GetIsExpanded(aIsExpanded); } \
78 : NS_IMETHOD SetIsExpanded(bool aIsExpanded) override { return _to SetIsExpanded(aIsExpanded); }
79 :
80 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
81 : #define NS_FORWARD_SAFE_NSIASN1SEQUENCE(_to) \
82 : NS_IMETHOD GetASN1Objects(nsIMutableArray * *aASN1Objects) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetASN1Objects(aASN1Objects); } \
83 : NS_IMETHOD SetASN1Objects(nsIMutableArray *aASN1Objects) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetASN1Objects(aASN1Objects); } \
84 : NS_IMETHOD GetIsValidContainer(bool *aIsValidContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsValidContainer(aIsValidContainer); } \
85 : NS_IMETHOD SetIsValidContainer(bool aIsValidContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsValidContainer(aIsValidContainer); } \
86 : NS_IMETHOD GetIsExpanded(bool *aIsExpanded) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsExpanded(aIsExpanded); } \
87 : NS_IMETHOD SetIsExpanded(bool aIsExpanded) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetIsExpanded(aIsExpanded); }
88 :
89 : #if 0
90 : /* Use the code below as a template for the implementation class for this interface. */
91 :
92 : /* Header file */
93 : class nsASN1Sequence : public nsIASN1Sequence
94 : {
95 : public:
96 : NS_DECL_ISUPPORTS
97 : NS_DECL_NSIASN1SEQUENCE
98 :
99 : nsASN1Sequence();
100 :
101 : private:
102 : ~nsASN1Sequence();
103 :
104 : protected:
105 : /* additional members */
106 : };
107 :
108 : /* Implementation file */
109 : NS_IMPL_ISUPPORTS(nsASN1Sequence, nsIASN1Sequence)
110 :
111 : nsASN1Sequence::nsASN1Sequence()
112 : {
113 : /* member initializers and constructor code */
114 : }
115 :
116 : nsASN1Sequence::~nsASN1Sequence()
117 : {
118 : /* destructor code */
119 : }
120 :
121 : /* attribute nsIMutableArray ASN1Objects; */
122 : NS_IMETHODIMP nsASN1Sequence::GetASN1Objects(nsIMutableArray * *aASN1Objects)
123 : {
124 : return NS_ERROR_NOT_IMPLEMENTED;
125 : }
126 : NS_IMETHODIMP nsASN1Sequence::SetASN1Objects(nsIMutableArray *aASN1Objects)
127 : {
128 : return NS_ERROR_NOT_IMPLEMENTED;
129 : }
130 :
131 : /* attribute boolean isValidContainer; */
132 : NS_IMETHODIMP nsASN1Sequence::GetIsValidContainer(bool *aIsValidContainer)
133 : {
134 : return NS_ERROR_NOT_IMPLEMENTED;
135 : }
136 : NS_IMETHODIMP nsASN1Sequence::SetIsValidContainer(bool aIsValidContainer)
137 : {
138 : return NS_ERROR_NOT_IMPLEMENTED;
139 : }
140 :
141 : /* attribute boolean isExpanded; */
142 : NS_IMETHODIMP nsASN1Sequence::GetIsExpanded(bool *aIsExpanded)
143 : {
144 : return NS_ERROR_NOT_IMPLEMENTED;
145 : }
146 : NS_IMETHODIMP nsASN1Sequence::SetIsExpanded(bool aIsExpanded)
147 : {
148 : return NS_ERROR_NOT_IMPLEMENTED;
149 : }
150 :
151 : /* End of implementation class template. */
152 : #endif
153 :
154 :
155 : #endif /* __gen_nsIASN1Sequence_h__ */
|