jlong Java_org_dvb_si_SIDatabaseRequest_ScheduledEventsRequest(JNIEnv* env, jobject obj, jobject nativeDatabase, jshort retrieveMode, jint tid, jint sid) {
jobject Java_org_dvb_si_SIDatabaseRequest_ScheduledEventsRequest(JNIEnv* env, jobject obj, jobject nativeDatabase, jshort retrieveMode, jint tid, jint sid) {
jlong Java_org_dvb_si_SIDatabaseRequest_ScheduledEventsRequest(JNIEnv* env, jobject obj, jobject nativeDatabase, jshort retrieveMode, jint tid, jint sid) {   JNI::JNIEnvProvider::SetJavaEnv(env);   DvbSi::Database::Ptr db=NativeDvbsiDatabaseData(nativeDatabase);   EventRequestWrapper *wrapper=new EventRequestWrapper(obj);   wrapper->req=db->retrieveScheduledEvents(wrapper, tid, sid, (DvbSi::RetrieveMode)retrieveMode);   return (jlong)wrapper;}