Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/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 nsIGeneratingKeypairInfoDialogs : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IGENERATINGKEYPAIRINFODIALOGS_IID)
33 :
34 : /* [must_use] void displayGeneratingKeypairInfo (in nsIInterfaceRequestor ctx, in nsIKeygenThread runnable); */
35 : MOZ_MUST_USE 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 : MOZ_MUST_USE NS_IMETHOD DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable) override;
44 :
45 : /* Use this macro when declaring the members of this interface when the
46 : class doesn't implement the interface. This is useful for forwarding. */
47 : #define NS_DECL_NON_VIRTUAL_NSIGENERATINGKEYPAIRINFODIALOGS \
48 : MOZ_MUST_USE nsresult DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable);
49 :
50 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
51 : #define NS_FORWARD_NSIGENERATINGKEYPAIRINFODIALOGS(_to) \
52 : MOZ_MUST_USE NS_IMETHOD DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable) override { return _to DisplayGeneratingKeypairInfo(ctx, runnable); }
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_NSIGENERATINGKEYPAIRINFODIALOGS(_to) \
56 : MOZ_MUST_USE NS_IMETHOD DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DisplayGeneratingKeypairInfo(ctx, runnable); }
57 :
58 : #if 0
59 : /* Use the code below as a template for the implementation class for this interface. */
60 :
61 : /* Header file */
62 : class nsGeneratingKeypairInfoDialogs : public nsIGeneratingKeypairInfoDialogs
63 : {
64 : public:
65 : NS_DECL_ISUPPORTS
66 : NS_DECL_NSIGENERATINGKEYPAIRINFODIALOGS
67 :
68 : nsGeneratingKeypairInfoDialogs();
69 :
70 : private:
71 : ~nsGeneratingKeypairInfoDialogs();
72 :
73 : protected:
74 : /* additional members */
75 : };
76 :
77 : /* Implementation file */
78 : NS_IMPL_ISUPPORTS(nsGeneratingKeypairInfoDialogs, nsIGeneratingKeypairInfoDialogs)
79 :
80 : nsGeneratingKeypairInfoDialogs::nsGeneratingKeypairInfoDialogs()
81 : {
82 : /* member initializers and constructor code */
83 : }
84 :
85 : nsGeneratingKeypairInfoDialogs::~nsGeneratingKeypairInfoDialogs()
86 : {
87 : /* destructor code */
88 : }
89 :
90 : /* [must_use] void displayGeneratingKeypairInfo (in nsIInterfaceRequestor ctx, in nsIKeygenThread runnable); */
91 : MOZ_MUST_USE NS_IMETHODIMP nsGeneratingKeypairInfoDialogs::DisplayGeneratingKeypairInfo(nsIInterfaceRequestor *ctx, nsIKeygenThread *runnable)
92 : {
93 : return NS_ERROR_NOT_IMPLEMENTED;
94 : }
95 :
96 : /* End of implementation class template. */
97 : #endif
98 :
99 : /**
100 : * This component is to be implemented by the embeddor. It is used to show
101 : * feedback to the user while a private key is being generated.
102 : *
103 : * This component is only ever used on the UI thread.
104 : *
105 : * INTERFACES THAT NEED TO BE IMPLEMENTED:
106 : * nsIGeneratingKeypairInfoDialogs
107 : */
108 : #define NS_GENERATINGKEYPAIRINFODIALOGS_CONTRACTID \
109 : "@mozilla.org/nsGeneratingKeypairInfoDialogs;1"
110 :
111 : #endif /* __gen_nsIGenKeypairInfoDlg_h__ */
|