From b6aa1f6695ecdbe7e505ab1b73ca795ed1c546f9 Mon Sep 17 00:00:00 2001 From: "pollmann%netscape.com" Date: Tue, 10 Oct 2000 21:01:14 +0000 Subject: [PATCH] Bug 48483: Unix default plugin, fix for OpenVMS bustage r=av@netscape.com a=brendan@mozilla.org git-svn-id: svn://10.0.0.236/trunk@80848 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/plugin/default/unix/npshell.c | 12 ++++++++++++ .../modules/plugin/samples/default/unix/npshell.c | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/mozilla/modules/plugin/default/unix/npshell.c b/mozilla/modules/plugin/default/unix/npshell.c index 2871dd8e2d6..0bd2034a613 100644 --- a/mozilla/modules/plugin/default/unix/npshell.c +++ b/mozilla/modules/plugin/default/unix/npshell.c @@ -308,6 +308,18 @@ NPP_StreamAsFile(NPP instance, NPStream *stream, const char* fname) } +void +NPP_URLNotify(NPP instance, const char* url, + NPReason reason, void* notifyData) +{ + /***** Insert NPP_URLNotify code here *****\ + PluginInstance* This; + if (instance != NULL) + This = (PluginInstance*) instance->pdata; + \*********************************************/ +} + + void NPP_Print(NPP instance, NPPrint* printInfo) { diff --git a/mozilla/modules/plugin/samples/default/unix/npshell.c b/mozilla/modules/plugin/samples/default/unix/npshell.c index 2871dd8e2d6..0bd2034a613 100644 --- a/mozilla/modules/plugin/samples/default/unix/npshell.c +++ b/mozilla/modules/plugin/samples/default/unix/npshell.c @@ -308,6 +308,18 @@ NPP_StreamAsFile(NPP instance, NPStream *stream, const char* fname) } +void +NPP_URLNotify(NPP instance, const char* url, + NPReason reason, void* notifyData) +{ + /***** Insert NPP_URLNotify code here *****\ + PluginInstance* This; + if (instance != NULL) + This = (PluginInstance*) instance->pdata; + \*********************************************/ +} + + void NPP_Print(NPP instance, NPPrint* printInfo) {