Change JAVA ifdef's to OJI to distinguish between OJI and tightly integrated JAVA

This commit is contained in:
hshaw 1998-04-21 06:47:20 +00:00
Родитель b5a3a9124e
Коммит ef10043270
1 изменённых файлов: 3 добавлений и 3 удалений

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

@ -25,7 +25,7 @@
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
#include "npglue.h" #include "npglue.h"
#ifdef JAVA #ifdef OJI
#include "jvmmgr.h" #include "jvmmgr.h"
#endif #endif
#include "xp_mem.h" #include "xp_mem.h"
@ -154,7 +154,7 @@ NPIJVMPluginManager*
nsPluginManager::GetJVMMgr(const nsIID& aIID) nsPluginManager::GetJVMMgr(const nsIID& aIID)
{ {
NPIJVMPluginManager* result = NULL; NPIJVMPluginManager* result = NULL;
#ifdef JAVA #ifdef OJI
if (fJVMMgr == NULL) { if (fJVMMgr == NULL) {
// The plugin manager is the outer of the JVM manager // The plugin manager is the outer of the JVM manager
if (JVMMgr::Create(this, kISupportsIID, (void**)&fJVMMgr) != NS_OK) if (JVMMgr::Create(this, kISupportsIID, (void**)&fJVMMgr) != NS_OK)
@ -197,7 +197,7 @@ nsPluginInstancePeer::AggregatedQueryInterface(const nsIID& aIID, void** aInstan
AddRef(); AddRef();
return NS_OK; return NS_OK;
} }
#ifdef JAVA #ifdef OJI
// Aggregates... // Aggregates...
if (fJVMInstancePeer == NULL) { if (fJVMInstancePeer == NULL) {
np_instance* instance = (np_instance*) npp->ndata; np_instance* instance = (np_instance*) npp->ndata;