1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/security/manager/boot/public/nsIBufEntropyCollector.idl
3 : */
4 :
5 : #ifndef __gen_nsIBufEntropyCollector_h__
6 : #define __gen_nsIBufEntropyCollector_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #ifndef __gen_nsIEntropyCollector_h__
14 : #include "nsIEntropyCollector.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 :
22 : /* starting interface: nsIBufEntropyCollector */
23 : #define NS_IBUFENTROPYCOLLECTOR_IID_STR "485b87a8-5dd7-4b8d-8ea8-dee53201f899"
24 :
25 : #define NS_IBUFENTROPYCOLLECTOR_IID \
26 : {0x485b87a8, 0x5dd7, 0x4b8d, \
27 : { 0x8e, 0xa8, 0xde, 0xe5, 0x32, 0x01, 0xf8, 0x99 }}
28 :
29 1404 : class NS_NO_VTABLE nsIBufEntropyCollector : public nsIEntropyCollector {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IBUFENTROPYCOLLECTOR_IID)
33 :
34 : /* void forwardTo (in nsIEntropyCollector collector); */
35 : NS_IMETHOD ForwardTo(nsIEntropyCollector *collector) = 0;
36 :
37 : /* void dontForward (); */
38 : NS_IMETHOD DontForward(void) = 0;
39 :
40 : };
41 :
42 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIBufEntropyCollector, NS_IBUFENTROPYCOLLECTOR_IID)
43 :
44 : /* Use this macro when declaring classes that implement this interface. */
45 : #define NS_DECL_NSIBUFENTROPYCOLLECTOR \
46 : NS_IMETHOD ForwardTo(nsIEntropyCollector *collector); \
47 : NS_IMETHOD DontForward(void);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIBUFENTROPYCOLLECTOR(_to) \
51 : NS_IMETHOD ForwardTo(nsIEntropyCollector *collector) { return _to ForwardTo(collector); } \
52 : NS_IMETHOD DontForward(void) { return _to DontForward(); }
53 :
54 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
55 : #define NS_FORWARD_SAFE_NSIBUFENTROPYCOLLECTOR(_to) \
56 : NS_IMETHOD ForwardTo(nsIEntropyCollector *collector) { return !_to ? NS_ERROR_NULL_POINTER : _to->ForwardTo(collector); } \
57 : NS_IMETHOD DontForward(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->DontForward(); }
58 :
59 : #if 0
60 : /* Use the code below as a template for the implementation class for this interface. */
61 :
62 : /* Header file */
63 : class nsBufEntropyCollector : public nsIBufEntropyCollector
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIBUFENTROPYCOLLECTOR
68 :
69 : nsBufEntropyCollector();
70 :
71 : private:
72 : ~nsBufEntropyCollector();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS1(nsBufEntropyCollector, nsIBufEntropyCollector)
80 :
81 : nsBufEntropyCollector::nsBufEntropyCollector()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsBufEntropyCollector::~nsBufEntropyCollector()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* void forwardTo (in nsIEntropyCollector collector); */
92 : NS_IMETHODIMP nsBufEntropyCollector::ForwardTo(nsIEntropyCollector *collector)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 :
97 : /* void dontForward (); */
98 : NS_IMETHODIMP nsBufEntropyCollector::DontForward()
99 : {
100 : return NS_ERROR_NOT_IMPLEMENTED;
101 : }
102 :
103 : /* End of implementation class template. */
104 : #endif
105 :
106 :
107 : #endif /* __gen_nsIBufEntropyCollector_h__ */
|