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.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/o3d/gpu_plugin/np_utils/np_browser.h b/o3d/gpu_plugin/np_utils/np_browser.h
index b2b129a..5e71aac 100644
--- a/o3d/gpu_plugin/np_utils/np_browser.h
+++ b/o3d/gpu_plugin/np_utils/np_browser.h
@@ -75,9 +75,13 @@ class NPBrowser {
PluginThreadAsyncCallProc callback,
void* data);
- virtual void* MapMemory(NPP npp,
- NPObject* object,
- size_t* size);
+ typedef void (*TimerProc)(NPP npp, uint32 timer_id);
+ virtual uint32 ScheduleTimer(NPP npp,
+ uint32 interval,
+ bool repeat,
+ TimerProc callback);
+
+ virtual void UnscheduleTimer(NPP npp, uint32 timer_id);
private:
static NPBrowser* browser_;