- Timestamp:
- Sep 7, 2015, 12:51:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncmain.cpp
r6569 r7268 35 35 * Created: 24-Dec-2005 36 36 * 37 * Changes: 37 * Changes: 38 38 * 39 39 * -----------------------------------------------------------------------*/ … … 75 75 QString confFileName; 76 76 77 QByteArray printHelp = "Usage: bnc --nw \n" 78 " --display <XXX> \n" 79 " --conf <confFileName> \n" 77 QByteArray printHelp = "Usage: bnc --nw \n" 78 " --version \n" 79 " --display <XXX> \n" 80 " --conf <confFileName> \n" 80 81 " --file <rawFileName> \n" 81 82 " --key <keyName> <keyValue>\n"; … … 88 89 if (QRegExp("--?nw").exactMatch(argv[ii])) { 89 90 interactive = false; 91 } 92 if (QRegExp("--?version").exactMatch(argv[ii])) { 93 cout << BNCPGMNAME << endl; 94 exit(0); 90 95 } 91 96 if (QRegExp("--?display").exactMatch(argv[ii])) { … … 156 161 } 157 162 } 158 163 159 164 app.setWindowIcon(QPixmap(":ntrip-logo.png")); 160 165 … … 164 169 } 165 170 166 // Post-Processing PPP 171 // Post-Processing PPP 167 172 // ------------------- 168 173 else if (settings.value("PPP/dataSource").toString() == "RINEX Files") { … … 204 209 205 210 bncEphUploadCaster* casterEph = new bncEphUploadCaster(); (void) casterEph; 206 211 207 212 bncCaster* caster = new bncCaster(); 208 213 209 214 BNC_CORE->setCaster(caster); 210 215 BNC_CORE->setPortEph(settings.value("outEphPort").toInt()); 211 216 BNC_CORE->setPortCorr(settings.value("corrPort").toInt()); 212 217 BNC_CORE->initCombination(); 213 218 214 219 BNC_CORE->connect(caster, SIGNAL(getThreadsFinished()), &app, SLOT(quit())); 215 220 216 221 BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " ("BNC_OS") ==========", true); 217 222 … … 227 232 } 228 233 } 229 234 230 235 // Special case - data from file 231 236 // -----------------------------
Note:
See TracChangeset
for help on using the changeset viewer.