|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 #include "nsISupports.idl" |
|
6 |
|
7 interface nsIInterfaceRequestor; |
|
8 interface nsIKeygenThread; |
|
9 |
|
10 /** |
|
11 * nsIGeneratingKeypairInfoDialogs |
|
12 * This is the interface for giving feedback to the user |
|
13 * while generating a key pair. |
|
14 */ |
|
15 [scriptable, uuid(11bf5cdc-1dd2-11b2-ba6a-c76afb326fa1)] |
|
16 interface nsIGeneratingKeypairInfoDialogs : nsISupports |
|
17 { |
|
18 void displayGeneratingKeypairInfo(in nsIInterfaceRequestor ctx, |
|
19 in nsIKeygenThread runnable); |
|
20 }; |
|
21 |
|
22 %{C++ |
|
23 /** |
|
24 * This component is to be implemented by the embeddor. It is used to show |
|
25 * feedback to the user while a private key is being generated. |
|
26 * |
|
27 * This component is only ever used on the UI thread. |
|
28 * |
|
29 * INTERFACES THAT NEED TO BE IMPLEMENTED: |
|
30 * nsIGeneratingKeypairInfoDialogs |
|
31 */ |
|
32 #define NS_GENERATINGKEYPAIRINFODIALOGS_CONTRACTID \ |
|
33 "@mozilla.org/nsGeneratingKeypairInfoDialogs;1" |
|
34 %} |