Merge duplicate code.

git-svn-id: svn://10.0.0.236/trunk@168087 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pedemont%us.ibm.com
2005-01-20 22:07:26 +00:00
parent 07472dabed
commit 7eda29fd91
6 changed files with 144 additions and 231 deletions

View File

@@ -39,12 +39,14 @@
#define _nsJavaWrapper_h_
#include "jni.h"
#include "nsISupports.h"
void CallXPCOMMethod(JNIEnv *env, jclass that, jobject aJavaObject,
jint aMethodIndex, jobjectArray aParams, jvalue &aResult);
// Creates a Java stub for an XPCOM object of type aClassName
jobject CreateJavaWrapper(JNIEnv* env, const char* aClassName);
// Creates a Java proxy for the given XPCOM object.
nsresult CreateJavaProxy(JNIEnv* env, nsISupports* aXPCOMObject,
const nsIID& aIID, jobject* aResult);
#endif // _nsJavaWrapper_h_