Added SpendTime to nsIJVMPlugin. Only turned on for XP_MAC, to avoid breaking other's plugins.

This commit is contained in:
beard%netscape.com 1998-09-21 20:41:19 +00:00
parent c766d6662c
commit 087273a195

View File

@ -104,6 +104,15 @@ public:
NS_IMETHOD_(nsrefcnt)
ReleaseJNIEnv(JNIEnv* env) = 0;
#ifdef XP_MAC
// beard: since only my plugin has implemented this so far, I'll leave it conditional for now.
/**
* 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.
*/
NS_IMETHOD
SpendTime(PRUint32 timeMillis) = 0;
#endif
};
#define NS_IJVMPLUGIN_IID \