1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/security/manager/ssl/public/nsIGenKeypairInfoDlg.idl
3 : */
4 :
5 : #ifndef __gen_nsIGenKeypairInfoDlg_h__
6 : #define __gen_nsIGenKeypairInfoDlg_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 nsIInterfaceRequestor; /* forward declaration */
18 :
19 : class nsIKeygenThread; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsIGeneratingKeypairInfoDialogs */
23 : #define NS_IGENERATINGKEYPAIRINFODIALOGS_IID_STR "11bf5cdc-1dd2-11b2-ba6a-c76afb326fa1"
24 :
25 : #define NS_IGENERATINGKEYPAIRINFODIALOGS_IID \
26 : {0x11bf5cdc, 0x1dd2, 0x11b2, \
27 : { 0xba, 0x6a, 0xc7, 0x6a, 0xfb, 0x32, 0x6f, 0xa1 }}
28 :
29 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIGeneratingKeypairInfoDialogs : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IGENERATINGKEYPAIRINFODIALOGS_IID)
33 :
34 : /* void displayGeneratingKeypairInfo (in nsIInterfaceRequestor ctx, in nsIKeygenThread runnable); */
35 : NS_SCRIPTABLE NS_IMETHOD DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable) = 0;
36 :
37 : };
38 :
39 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIGeneratingKeypairInfoDialogs, NS_IGENERATINGKEYPAIRINFODIALOGS_IID)
40 :
41 : /* Use this macro when declaring classes that implement this interface. */
42 : #define NS_DECL_NSIGENERATINGKEYPAIRINFODIALOGS \
43 : NS_SCRIPTABLE NS_IMETHOD DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable);
44 :
45 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
46 : #define NS_FORWARD_NSIGENERATINGKEYPAIRINFODIALOGS(_to) \
47 : NS_SCRIPTABLE NS_IMETHOD DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable) { return _to DisplayGeneratingKeypairInfo(ctx, runnable); }
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
50 : #define NS_FORWARD_SAFE_NSIGENERATINGKEYPAIRINFODIALOGS(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable) { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplayGeneratingKeypairInfo(ctx, runnable); }
52 :
53 : #if 0
54 : /* Use the code below as a template for the implementation class for this interface. */
55 :
56 : /* Header file */
57 : class nsGeneratingKeypairInfoDialogs : public nsIGeneratingKeypairInfoDialogs
58 : {
59 : public:
60 : NS_DECL_ISUPPORTS
61 : NS_DECL_NSIGENERATINGKEYPAIRINFODIALOGS
62 :
63 : nsGeneratingKeypairInfoDialogs();
64 :
65 : private:
66 : ~nsGeneratingKeypairInfoDialogs();
67 :
68 : protected:
69 : /* additional members */
70 : };
71 :
72 : /* Implementation file */
73 : NS_IMPL_ISUPPORTS1(nsGeneratingKeypairInfoDialogs, nsIGeneratingKeypairInfoDialogs)
74 :
75 : nsGeneratingKeypairInfoDialogs::nsGeneratingKeypairInfoDialogs()
76 : {
77 : /* member initializers and constructor code */
78 : }
79 :
80 : nsGeneratingKeypairInfoDialogs::~nsGeneratingKeypairInfoDialogs()
81 : {
82 : /* destructor code */
83 : }
84 :
85 : /* void displayGeneratingKeypairInfo (in nsIInterfaceRequestor ctx, in nsIKeygenThread runnable); */
86 : NS_IMETHODIMP nsGeneratingKeypairInfoDialogs::DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable)
87 : {
88 : return NS_ERROR_NOT_IMPLEMENTED;
89 : }
90 :
91 : /* End of implementation class template. */
92 : #endif
93 :
94 : /**
95 : * This component is to be implemented by the embeddor. It is used to show
96 : * feedback to the user while a private key is being generated.
97 : *
98 : * This component is only ever used on the UI thread.
99 : *
100 : * INTERFACES THAT NEED TO BE IMPLEMENTED:
101 : * nsIGeneratingKeypairInfoDialogs
102 : */
103 : #define NS_GENERATINGKEYPAIRINFODIALOGS_CONTRACTID \
104 : "@mozilla.org/nsGeneratingKeypairInfoDialogs;1"
105 :
106 : #endif /* __gen_nsIGenKeypairInfoDlg_h__ */
|