From 4e2bce66658f72a97ef6fd424b0b9772ad6fd728 Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Tue, 13 Oct 1998 21:39:15 +0000 Subject: [PATCH] Added GetSecureJNI --- modules/oji/public/nsIJVMPlugin.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/oji/public/nsIJVMPlugin.h b/modules/oji/public/nsIJVMPlugin.h index 59898556ea5..835f63e1d9f 100644 --- a/modules/oji/public/nsIJVMPlugin.h +++ b/modules/oji/public/nsIJVMPlugin.h @@ -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.