Changeset 4495 in ntrip for trunk/BNC/src/bncrinex.cpp
- Timestamp:
- Aug 4, 2012, 9:43:21 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncrinex.cpp
r4489 r4495 380 380 // -------------------- 381 381 readSkeleton(); 382 if (_header._markerName.isEmpty()) { 383 _header._markerName = _statID; 384 } 385 386 // A few additional comments 387 // ------------------------- 388 QMap<QString, QString> txtMap; 389 QStringList addComments; 390 391 addComments << format.left(6) + " " + _mountPoint.host() + _mountPoint.path(); 392 393 if (_nmea == "yes") { 394 addComments << "NMEA LAT=" + _latitude + " " + "LONG=" + _longitude; 395 } 396 397 txtMap["COMMENT"] = addComments.join("\\n"); 382 398 383 399 QByteArray headerLines; 384 400 QTextStream outHlp(&headerLines); 385 _header.write(&outHlp );401 _header.write(&outHlp, &txtMap); 386 402 outHlp.flush(); 387 403 _out << headerLines.data();
Note:
See TracChangeset
for help on using the changeset viewer.