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,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