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

This commit is contained in:
beard%netscape.com 1999-04-12 03:14:19 +00:00
Родитель 45969d01c6
Коммит 96d0939cb4
2 изменённых файлов: 18 добавлений и 0 удалений

Просмотреть файл

@ -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;
};
////////////////////////////////////////////////////////////////////////////////

Просмотреть файл

@ -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;
};
////////////////////////////////////////////////////////////////////////////////