1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/security/manager/ssl/public/nsIKeygenThread.idl
3 : */
4 :
5 : #ifndef __gen_nsIKeygenThread_h__
6 : #define __gen_nsIKeygenThread_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 : class nsIObserver; /* forward declaration */
18 :
19 :
20 : /* starting interface: nsIKeygenThread */
21 : #define NS_IKEYGENTHREAD_IID_STR "8712a243-5539-447c-9f47-8653f40c3a09"
22 :
23 : #define NS_IKEYGENTHREAD_IID \
24 : {0x8712a243, 0x5539, 0x447c, \
25 : { 0x9f, 0x47, 0x86, 0x53, 0xf4, 0x0c, 0x3a, 0x09 }}
26 :
27 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIKeygenThread : public nsISupports {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IKEYGENTHREAD_IID)
31 :
32 : /* void startKeyGeneration (in nsIObserver observer); */
33 : NS_SCRIPTABLE NS_IMETHOD StartKeyGeneration(nsIObserver *observer) = 0;
34 :
35 : /* void userCanceled (out boolean threadAlreadyClosedDialog); */
36 : NS_SCRIPTABLE NS_IMETHOD UserCanceled(bool *threadAlreadyClosedDialog NS_OUTPARAM) = 0;
37 :
38 : };
39 :
40 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIKeygenThread, NS_IKEYGENTHREAD_IID)
41 :
42 : /* Use this macro when declaring classes that implement this interface. */
43 : #define NS_DECL_NSIKEYGENTHREAD \
44 : NS_SCRIPTABLE NS_IMETHOD StartKeyGeneration(nsIObserver *observer); \
45 : NS_SCRIPTABLE NS_IMETHOD UserCanceled(bool *threadAlreadyClosedDialog NS_OUTPARAM);
46 :
47 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
48 : #define NS_FORWARD_NSIKEYGENTHREAD(_to) \
49 : NS_SCRIPTABLE NS_IMETHOD StartKeyGeneration(nsIObserver *observer) { return _to StartKeyGeneration(observer); } \
50 : NS_SCRIPTABLE NS_IMETHOD UserCanceled(bool *threadAlreadyClosedDialog NS_OUTPARAM) { return _to UserCanceled(threadAlreadyClosedDialog); }
51 :
52 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
53 : #define NS_FORWARD_SAFE_NSIKEYGENTHREAD(_to) \
54 : NS_SCRIPTABLE NS_IMETHOD StartKeyGeneration(nsIObserver *observer) { return !_to ? NS_ERROR_NULL_POINTER : _to->StartKeyGeneration(observer); } \
55 : NS_SCRIPTABLE NS_IMETHOD UserCanceled(bool *threadAlreadyClosedDialog NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->UserCanceled(threadAlreadyClosedDialog); }
56 :
57 : #if 0
58 : /* Use the code below as a template for the implementation class for this interface. */
59 :
60 : /* Header file */
61 : class nsKeygenThread : public nsIKeygenThread
62 : {
63 : public:
64 : NS_DECL_ISUPPORTS
65 : NS_DECL_NSIKEYGENTHREAD
66 :
67 : nsKeygenThread();
68 :
69 : private:
70 : ~nsKeygenThread();
71 :
72 : protected:
73 : /* additional members */
74 : };
75 :
76 : /* Implementation file */
77 : NS_IMPL_ISUPPORTS1(nsKeygenThread, nsIKeygenThread)
78 :
79 : nsKeygenThread::nsKeygenThread()
80 : {
81 : /* member initializers and constructor code */
82 : }
83 :
84 : nsKeygenThread::~nsKeygenThread()
85 : {
86 : /* destructor code */
87 : }
88 :
89 : /* void startKeyGeneration (in nsIObserver observer); */
90 : NS_IMETHODIMP nsKeygenThread::StartKeyGeneration(nsIObserver *observer)
91 : {
92 : return NS_ERROR_NOT_IMPLEMENTED;
93 : }
94 :
95 : /* void userCanceled (out boolean threadAlreadyClosedDialog); */
96 : NS_IMETHODIMP nsKeygenThread::UserCanceled(bool *threadAlreadyClosedDialog NS_OUTPARAM)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 :
101 : /* End of implementation class template. */
102 : #endif
103 :
104 : // {195763b8-1dd2-11b2-a843-eb44e44aaa37}
105 : #define NS_KEYGENTHREAD_CID \
106 : { 0x195763b8, 0x1dd2, 0x11b2, { 0xa8, 0x43, 0xeb, 0x44, 0xe4, 0x4a, 0xaa, 0x37 } }
107 : #define NS_KEYGENTHREAD_CONTRACTID "@mozilla.org/security/keygenthread;1"
108 :
109 : #endif /* __gen_nsIKeygenThread_h__ */
|