- Timestamp:
- Apr 20, 2012, 8:23:05 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmain.cpp
r3972 r3974 123 123 } 124 124 125 // Non-Interactive (Batch) Mode 126 // ---------------------------- 125 // Post-Processing reqc edit 126 // ------------------------- 127 else if (settings.value("reqcAction").toString() == "Edit/Concatenate") { 128 app.setMode(bncApp::batchPostProcessing); 129 t_reqcEdit* reqcEdit = new t_reqcEdit(0); 130 reqcEdit->start(); 131 } 132 133 // Non-Interactive (data gathering) 134 // -------------------------------- 127 135 else { 128 136 … … 130 138 131 139 bncEphUploadCaster* casterEph = new bncEphUploadCaster(); (void) casterEph; 132 140 133 141 bncCaster* caster = new bncCaster(settings.value("outFile").toString(), 134 142 settings.value("outPort").toInt()); … … 138 146 app.setPortCorr(settings.value("corrPort").toInt()); 139 147 app.initCombination(); 140 148 141 149 app.connect(caster, SIGNAL(getThreadsFinished()), &app, SLOT(quit())); 142 150 143 151 ((bncApp*)qApp)->slotMessage("========== Start BNC v" BNCVERSION " =========", true); 144 145 // Post-Processing reqc edit 146 // ------------------------- 147 if (settings.value("reqcAction").toString() == "Edit/Concatenate") { 148 app.setMode(bncApp::batchPostProcessing); 149 t_reqcEdit* reqcEdit = new t_reqcEdit(0); 150 reqcEdit->start(); 151 } 152 152 153 153 // Normal case - data from Internet 154 154 // -------------------------------- 155 elseif ( rawFileName.isEmpty() ) {155 if ( rawFileName.isEmpty() ) { 156 156 app.setMode(bncApp::nonInteractive); 157 157 caster->slotReadMountPoints(); … … 160 160 } 161 161 } 162 162 163 163 // Special case - data from file 164 164 // ----------------------------- … … 170 170 caster->addGetThread(getThread, true); 171 171 } 172 173 172 } 174 173
Note:
See TracChangeset
for help on using the changeset viewer.