summaryrefslogtreecommitdiffstats
path: root/o3d/gpu_plugin/np_utils/np_browser.h
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/gpu_plugin/np_utils/np_browser.h')
-rw-r--r--o3d/gpu_plugin/np_utils/np_browser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/o3d/gpu_plugin/np_utils/np_browser.h b/o3d/gpu_plugin/np_utils/np_browser.h
index 21b6133..3f11fa1 100644
--- a/o3d/gpu_plugin/np_utils/np_browser.h
+++ b/o3d/gpu_plugin/np_utils/np_browser.h
@@ -71,6 +71,11 @@ class NPBrowser {
virtual NPObject* GetWindowNPObject(NPP npp);
+ typedef void (*PluginThreadAsyncCallProc)(void* data);
+ virtual void PluginThreadAsyncCall(NPP npp,
+ PluginThreadAsyncCallProc callback,
+ void* data);
+
private:
static NPBrowser* browser_;
NPBrowser* previous_browser_;