Changeset 356 in ntrip for trunk/BNC/bncrinex.cpp
- Timestamp:
- Dec 21, 2006, 3:38:51 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncrinex.cpp
r355 r356 73 73 74 74 _pgmName = ((bncApp*)qApp)->bncVersion().leftJustified(20, ' ', true); 75 // Start Ergaenzung Perlt76 75 #ifdef WIN32 77 76 _userName = QString("${USERNAME}"); … … 79 78 _userName = QString("${USER}"); 80 79 #endif 81 //Ende Ergaenzung Perlt82 80 expandEnvVar(_userName); 83 81 _userName = _userName.leftJustified(20, ' ', true); … … 295 293 const QDateTime& datTimNom) { 296 294 295 QSettings settings; 296 // double lat, lon; 297 // int vrsstream = 0; 298 // lat = settings.value("approxLat", 0).toDouble(); 299 // lon = settings.value("approxLon", 0).toDouble(); 300 // if ((lat != 0.0) && (lon != 0.0)) {vrsstream=1;} 301 297 302 // Open the Output File 298 303 // -------------------- … … 302 307 // ---------------------------------- 303 308 if ( QFile::exists(_fName) ) { 304 QSettings settings;309 // QSettings settings; 305 310 if ( Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked) { 306 311 _out.open(_fName.data(), ios::app); … … 337 342 _mountPoint.path())).leftJustified(60, ' ', true); 338 343 _out << hlp.toAscii().data() << "COMMENT" << endl; 344 // hlp = QString("Approx VRS Position %1%2").arg(lat, -20, 'f', 4).arg(lon, -20, 'f', 4); 345 // _out << hlp.toAscii().data() << "COMMENT" << endl; 339 346 } 340 347 else { … … 380 387 _mountPoint.path())).leftJustified(60, ' ', true); 381 388 _out << hlp.toAscii().data() << "COMMENT" << endl; 389 // hlp = QString("Approx VRS Position %1%2").arg(lat, -20, 'f', 4).arg(lon, -20, 'f', 4); 390 // _out << hlp.toAscii().data() << "COMMENT" << endl; 382 391 _out << " END OF HEADER" << endl; 383 392 }
Note:
See TracChangeset
for help on using the changeset viewer.