jlong Java_org_dvb_si_SIDatabaseRequest_NetworksRequest(JNIEnv* env, jobject obj, jlong nativeDatabase, jshort retrieveMode, jint networkId) {
jlong Java_org_dvb_si_SIDatabaseRequest_NetworksRequest(JNIEnv* env, jobject obj, jobject nativeDatabase, jshort retrieveMode, jint networkId) {
jlong Java_org_dvb_si_SIDatabaseRequest_NetworksRequest(JNIEnv* env, jobject obj, jlong nativeDatabase, jshort retrieveMode, jint networkId) {   JNI::JNIEnvProvider::SetJavaEnv(env);   DvbSi::Database *db=(DvbSi::Database *)nativeDatabase;   NetworksRequestWrapper *wrapper=new NetworksRequestWrapper(obj);   if (networkId==-1)      wrapper->req=db->retrieveNetworks(wrapper, (DvbSi::RetrieveMode)retrieveMode);   else      wrapper->req=db->retrieveNetworks(wrapper, new DvbSi::IdTracker(networkId), (DvbSi::RetrieveMode)retrieveMode);   return (jlong)wrapper;}