1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/security/manager/pki/public/nsIASN1Tree.idl
3 : */
4 :
5 : #ifndef __gen_nsIASN1Tree_h__
6 : #define __gen_nsIASN1Tree_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #ifndef __gen_nsITreeView_h__
14 : #include "nsITreeView.h"
15 : #endif
16 :
17 : #ifndef __gen_nsIX509Cert_h__
18 : #include "nsIX509Cert.h"
19 : #endif
20 :
21 : /* For IDL files that don't want to include root IDL files. */
22 : #ifndef NS_NO_VTABLE
23 : #define NS_NO_VTABLE
24 : #endif
25 :
26 : /* starting interface: nsIASN1Tree */
27 : #define NS_IASN1TREE_IID_STR "de142307-7b88-4e0a-b232-250f310e25d8"
28 :
29 : #define NS_IASN1TREE_IID \
30 : {0xde142307, 0x7b88, 0x4e0a, \
31 : { 0xb2, 0x32, 0x25, 0x0f, 0x31, 0x0e, 0x25, 0xd8 }}
32 :
33 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIASN1Tree : public nsITreeView {
34 : public:
35 :
36 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IASN1TREE_IID)
37 :
38 : /* void loadASN1Structure (in nsIASN1Object asn1Object); */
39 : NS_SCRIPTABLE NS_IMETHOD LoadASN1Structure(nsIASN1Object *asn1Object) = 0;
40 :
41 : /* AString getDisplayData (in unsigned long index); */
42 : NS_SCRIPTABLE NS_IMETHOD GetDisplayData(PRUint32 index, nsAString & _retval NS_OUTPARAM) = 0;
43 :
44 : };
45 :
46 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIASN1Tree, NS_IASN1TREE_IID)
47 :
48 : /* Use this macro when declaring classes that implement this interface. */
49 : #define NS_DECL_NSIASN1TREE \
50 : NS_SCRIPTABLE NS_IMETHOD LoadASN1Structure(nsIASN1Object *asn1Object); \
51 : NS_SCRIPTABLE NS_IMETHOD GetDisplayData(PRUint32 index, nsAString & _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_NSIASN1TREE(_to) \
55 : NS_SCRIPTABLE NS_IMETHOD LoadASN1Structure(nsIASN1Object *asn1Object) { return _to LoadASN1Structure(asn1Object); } \
56 : NS_SCRIPTABLE NS_IMETHOD GetDisplayData(PRUint32 index, nsAString & _retval NS_OUTPARAM) { return _to GetDisplayData(index, _retval); }
57 :
58 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
59 : #define NS_FORWARD_SAFE_NSIASN1TREE(_to) \
60 : NS_SCRIPTABLE NS_IMETHOD LoadASN1Structure(nsIASN1Object *asn1Object) { return !_to ? NS_ERROR_NULL_POINTER : _to->LoadASN1Structure(asn1Object); } \
61 : NS_SCRIPTABLE NS_IMETHOD GetDisplayData(PRUint32 index, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplayData(index, _retval); }
62 :
63 : #if 0
64 : /* Use the code below as a template for the implementation class for this interface. */
65 :
66 : /* Header file */
67 : class nsASN1Tree : public nsIASN1Tree
68 : {
69 : public:
70 : NS_DECL_ISUPPORTS
71 : NS_DECL_NSIASN1TREE
72 :
73 : nsASN1Tree();
74 :
75 : private:
76 : ~nsASN1Tree();
77 :
78 : protected:
79 : /* additional members */
80 : };
81 :
82 : /* Implementation file */
83 : NS_IMPL_ISUPPORTS1(nsASN1Tree, nsIASN1Tree)
84 :
85 : nsASN1Tree::nsASN1Tree()
86 : {
87 : /* member initializers and constructor code */
88 : }
89 :
90 : nsASN1Tree::~nsASN1Tree()
91 : {
92 : /* destructor code */
93 : }
94 :
95 : /* void loadASN1Structure (in nsIASN1Object asn1Object); */
96 : NS_IMETHODIMP nsASN1Tree::LoadASN1Structure(nsIASN1Object *asn1Object)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* AString getDisplayData (in unsigned long index); */
102 : NS_IMETHODIMP nsASN1Tree::GetDisplayData(PRUint32 index, nsAString & _retval NS_OUTPARAM)
103 : {
104 : return NS_ERROR_NOT_IMPLEMENTED;
105 : }
106 :
107 : /* End of implementation class template. */
108 : #endif
109 :
110 :
111 : #define NS_ASN1TREE_CONTRACTID "@mozilla.org/security/nsASN1Tree;1"
112 :
113 : #endif /* __gen_nsIASN1Tree_h__ */
|