//Auto-generated by kalyptus. DO NOT EDIT. #include #include #include #include class KSSLCertificateFactoryJBridge : public KSSLCertificateFactory { public: KSSLCertificateFactoryJBridge() : KSSLCertificateFactory() {}; ~KSSLCertificateFactoryJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateFactory_dispose(JNIEnv* env, jobject obj) { Java_org_kde_koala_KSSLCertificateFactory_finalize(env, obj); return; } JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateFactory_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { delete (KSSLCertificateFactory*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; } JNIEXPORT jobject JNICALL Java_org_kde_koala_KSSLCertificateFactory_generateSelfSigned(JNIEnv* env, jclass cls, jint keytype) { (void) cls; jobject xret = QtSupport::objectForQtKey(env, (void*)KSSLCertificateFactoryJBridge::generateSelfSigned((KSSLKeyType) keytype), "org.kde.koala.KSSLCertificate"); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_koala_KSSLCertificateFactory_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT void JNICALL Java_org_kde_koala_KSSLCertificateFactory_newKSSLCertificateFactory(JNIEnv* env, jobject obj) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new KSSLCertificateFactoryJBridge()); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; }