зеркало из https://github.com/mozilla/pjs.git
Added GetSecureJNI
This commit is contained in:
Родитель
192dfaab2b
Коммит
4e2bce6665
|
@ -51,6 +51,7 @@ struct nsJVMInitArgs {
|
|||
*/
|
||||
#define nsJVMInitArgs_Version 0x00010000L
|
||||
|
||||
class nsISecureJNI2;
|
||||
|
||||
class nsIJVMPlugin : public nsIPlugin {
|
||||
public:
|
||||
|
@ -104,6 +105,12 @@ public:
|
|||
NS_IMETHOD_(nsrefcnt)
|
||||
ReleaseJNIEnv(JNIEnv* env) = 0;
|
||||
|
||||
/**
|
||||
* This creates a new secure communication channel with Java.
|
||||
*/
|
||||
NS_IMETHOD
|
||||
GetSecureJNI(JNIEnv* proxyJNI, nsISecureJNI2* *result) = 0;
|
||||
|
||||
/**
|
||||
* Gives time to the JVM from the main event loop of the browser. This is
|
||||
* necessary when there aren't any plugin instances around, but Java threads exist.
|
||||
|
|
Загрузка…
Ссылка в новой задаче