EventWinRecurrence::EventWinRecurrence(QWidget* parent, const char* name, bool todo) : QFrame( parent, name, 0 ) { isTodo = todo; resize( 600,400 ); initMain(); initDaily(); initWeekly(); initMonthly(); initYearly(); initExceptions(); }
/* * Class: org_emmef_sndfile_SoundFile * Method: getSndFileVersion0 * Signature: ()Ljava/lang/String; */ JNIEXPORT jstring JNICALL Java_org_emmef_sndfile_SoundFileType_getSndFileVersion0(JNIEnv *env, jclass) { initExceptions(env); try { int size= 4; char *walk = 0; bool doContinue = true; while (doContinue) { if (walk != 0) { delete walk; } walk = new char[size]; sf_command(0, SFC_GET_LIB_VERSION, walk, size); int length = 0; while (length < size && walk[length] != '\0') { length++; } if ((size < 1024) && (length == 0 || length + 1 >= size)) { size *= 2; } else { doContinue = false; } } jstring version = env->NewStringUTF(walk); delete walk; return version; } catch (...) { } return 0; }
/* * Class: org_emmef_sndfile_SoundFileType * Method: initLibSoundFile * Signature: ()Z */ JNIEXPORT jboolean JNICALL Java_org_emmef_sndfile_SoundFileType_initLibSoundFile (JNIEnv *env, jclass) { return initExceptions(env); }