added GetJSThread(), to obtain the thread ID to send events to via nsIThreadManager::PostEvent().

git-svn-id: svn://10.0.0.236/trunk@27124 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
beard%netscape.com 1999-04-12 03:14:19 +00:00
parent 13af5e24ac
commit edb049b30e
2 changed files with 18 additions and 0 deletions

View File

@ -45,6 +45,15 @@ public:
*/
NS_IMETHOD
GetJSWindow(JSObject* *outJSWindow) = 0;
/**
* Get the JavaScript execution thread corresponding to this plugin instance.
*
* @param outThreadID - the resulting JavaScript thread
* @result - NS_OK if this operation was successful
*/
NS_IMETHOD
GetJSThread(PRUint32 *outThreadID) = 0;
};
////////////////////////////////////////////////////////////////////////////////

View File

@ -45,6 +45,15 @@ public:
*/
NS_IMETHOD
GetJSWindow(JSObject* *outJSWindow) = 0;
/**
* Get the JavaScript execution thread corresponding to this plugin instance.
*
* @param outThreadID - the resulting JavaScript thread
* @result - NS_OK if this operation was successful
*/
NS_IMETHOD
GetJSThread(PRUint32 *outThreadID) = 0;
};
////////////////////////////////////////////////////////////////////////////////