PlugletManager.getValue removed


git-svn-id: svn://10.0.0.236/trunk@55884 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
idk%eng.sun.com 1999-12-11 00:35:20 +00:00
parent 0c869fbdc6
commit 63871c1621
4 changed files with 0 additions and 41 deletions

View File

@ -22,15 +22,6 @@ package org.mozilla.pluglet.mozilla;
import org.mozilla.pluglet.*;
import java.net.URL;
public interface PlugletManager {
public static final int APPCONTEXT = 2;
public static final int DISPLAY = 1;
/**
* Returns the value of a variable associated with the pluglet manager.
*
* @param variable the pluglet manager variable to get
*/
public String getValue(int variable);
/**
* Causes the pluglets directory to be searched again for new pluglet
* libraries.

View File

@ -27,13 +27,6 @@ public class PlugletManagerImpl implements PlugletManager {
peer = _peer;
nativeInitialize();
}
/**
* Returns the value of a variable associated with the pluglet manager.
*
* @param variable the pluglet manager variable to get
*/
public native String getValue(int variable);
/**
* Causes the pluglets directory to be searched again for new pluglet
* libraries.

View File

@ -22,23 +22,6 @@
#include "org_mozilla_pluglet_mozilla_PlugletManagerImpl.h"
static jfieldID peerFID = NULL;
/*
* Class: org_mozilla_pluglet_mozilla_PlugletManagerImpl
* Method: getValue
* Signature: (I)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_pluglet_mozilla_PlugletManagerImpl_getValue
(JNIEnv *env, jobject jthis, jint param) {
nsIPluginManager * manager = (nsIPluginManager*)env->GetLongField(jthis, peerFID);
char *res = NULL;
if (NS_FAILED(manager->GetValue((nsPluginManagerVariable)param,&res))
|| !res) {
return NULL;
} else {
return env->NewStringUTF(res);
}
}
/*
* Class: org_mozilla_pluglet_mozilla_PlugletManagerImpl
* Method: reloadPluglets

View File

@ -27,14 +27,6 @@
#ifdef __cplusplus
extern "C" {
#endif
/*
* Class: org_mozilla_pluglet_mozilla_PlugletManagerImpl
* Method: getValue
* Signature: (I)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_mozilla_pluglet_mozilla_PlugletManagerImpl_getValue
(JNIEnv *, jobject, jint);
/*
* Class: org_mozilla_pluglet_mozilla_PlugletManagerImpl
* Method: reloadPluglets