- Timestamp:
- Oct 21, 2007, 6:47:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncapp.cpp
r535 r536 246 246 247 247 QFlags<QIODevice::OpenModeFlag> appendFlagGPS; 248 QFlags<QIODevice::OpenModeFlag> appendFlagGlonass; 249 248 250 if ( Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked && 249 251 QFile::exists(ephFileNameGPS) ) { … … 268 270 delete _ephFileGlonass; 269 271 270 QFlags<QIODevice::OpenModeFlag> appendFlagGlonass;271 272 if ( Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked && 272 273 QFile::exists(ephFileNameGlonass) ) { … … 303 304 } 304 305 305 // Header - RINEX Version 2306 // ------------------------ 306 // Headers - RINEX Version 2 307 // ------------------------- 307 308 else if (_rinexVers == 2) { 308 309 if (! (appendFlagGPS & QIODevice::Append)) { 310 QString line; 311 line.sprintf( 312 "%9.2f%11sN: GPS NAV DATA%25sRINEX VERSION / TYPE\n", 2.1, "", ""); 313 *_ephStreamGPS << line; 314 315 char buffer[100]; 316 HandleRunBy(buffer, sizeof(buffer), 0, 0); 317 line.sprintf("%s\n%60sEND OF HEADER\n", buffer, ""); 318 *_ephStreamGPS << line; 319 } 320 if (! (appendFlagGlonass & QIODevice::Append)) { 321 QString line; 322 line.sprintf( 323 "%9.2f%11sG: GLONASS NAV DATA%21sRINEX VERSION / TYPE\n",2.1,"",""); 324 *_ephStreamGlonass << line; 325 326 char buffer[100]; 327 HandleRunBy(buffer, sizeof(buffer), 0, 0); 328 line.sprintf("%s\n%60sEND OF HEADER\n", buffer, ""); 329 *_ephStreamGlonass << line; 330 } 309 331 } 310 332 }
Note:
See TracChangeset
for help on using the changeset viewer.