Changeset 5068 in ntrip for trunk/BNC/src/bncmain.cpp
- Timestamp:
- Mar 30, 2013, 11:39:46 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncmain.cpp
r5066 r5068 122 122 app.setOrganizationName("BKG"); 123 123 app.setOrganizationDomain("www.bkg.bund.de"); 124 PGM_CORE->setConfFileName( confFileName );124 BNC_CORE->setConfFileName( confFileName ); 125 125 126 126 bncSettings settings; … … 138 138 if (interactive) { 139 139 140 PGM_CORE->setMode(t_pgmCore::interactive);140 BNC_CORE->setMode(t_pgmCore::interactive); 141 141 142 142 QString fontString = settings.value("font").toString(); … … 151 151 152 152 bncWindow* bncWin = new bncWindow(); 153 PGM_CORE->setMainWindow(bncWin);153 BNC_CORE->setMainWindow(bncWin); 154 154 bncWin->show(); 155 155 } … … 160 160 // ------------------- 161 161 else if (settings.value("pppSPP").toString() == "Post-Processing") { 162 PGM_CORE->setMode(t_pgmCore::batchPostProcessing);162 BNC_CORE->setMode(t_pgmCore::batchPostProcessing); 163 163 t_postProcessing* postProcessing = new t_postProcessing(0); 164 164 postProcessing->start(); … … 168 168 // ------------------------- 169 169 else if (settings.value("reqcAction").toString() == "Edit/Concatenate") { 170 PGM_CORE->setMode(t_pgmCore::batchPostProcessing);170 BNC_CORE->setMode(t_pgmCore::batchPostProcessing); 171 171 t_reqcEdit* reqcEdit = new t_reqcEdit(0); 172 172 reqcEdit->start(); … … 176 176 // ---------------------------- 177 177 else if (settings.value("reqcAction").toString() == "Analyze") { 178 PGM_CORE->setMode(t_pgmCore::batchPostProcessing);178 BNC_CORE->setMode(t_pgmCore::batchPostProcessing); 179 179 t_reqcAnalyze* reqcAnalyze = new t_reqcAnalyze(0); 180 180 reqcAnalyze->start(); … … 194 194 settings.value("outPort").toInt()); 195 195 196 PGM_CORE->setCaster(caster);197 PGM_CORE->setPort(settings.value("outEphPort").toInt());198 PGM_CORE->setPortCorr(settings.value("corrPort").toInt());199 PGM_CORE->initCombination();200 201 PGM_CORE->connect(caster, SIGNAL(getThreadsFinished()), &app, SLOT(quit()));202 203 PGM_CORE->slotMessage("========== Start BNC v" BNCVERSION " =========", true);196 BNC_CORE->setCaster(caster); 197 BNC_CORE->setPort(settings.value("outEphPort").toInt()); 198 BNC_CORE->setPortCorr(settings.value("corrPort").toInt()); 199 BNC_CORE->initCombination(); 200 201 BNC_CORE->connect(caster, SIGNAL(getThreadsFinished()), &app, SLOT(quit())); 202 203 BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " =========", true); 204 204 205 205 // Normal case - data from Internet 206 206 // -------------------------------- 207 207 if ( rawFileName.isEmpty() ) { 208 PGM_CORE->setMode(t_pgmCore::nonInteractive);208 BNC_CORE->setMode(t_pgmCore::nonInteractive); 209 209 caster->readMountPoints(); 210 210 if (caster->numStations() == 0) { … … 216 216 // ----------------------------- 217 217 else { 218 PGM_CORE->setMode(t_pgmCore::batchPostProcessing);218 BNC_CORE->setMode(t_pgmCore::batchPostProcessing); 219 219 bncRawFile* rawFile = new bncRawFile(rawFileName, "", 220 220 bncRawFile::input);
Note:
See TracChangeset
for help on using the changeset viewer.