21259
PlugletManager.getValue removed git-svn-id: svn://10.0.0.236/trunk@55884 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user