Changeset 2125 in ntrip
- Timestamp:
- Dec 28, 2009, 9:20:56 AM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r2124 r2125 160 160 _QQ(5,5) = sig_trp_0 * sig_trp_0; 161 161 } 162 163 // NMEA Output 164 // ----------- 165 QString nmeaFileName = settings.value("nmeaFile").toString(); 166 if (nmeaFileName.isEmpty()) { 167 _nmeaFile = 0; 168 _nmeaStream = 0; 169 } 170 else { 171 expandEnvVar(nmeaFileName); 172 _nmeaFile = new QFile(nmeaFileName); 173 if ( Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked) { 174 _nmeaFile->open(QIODevice::WriteOnly | QIODevice::Append); 175 } 176 else { 177 _nmeaFile->open(QIODevice::WriteOnly); 178 } 179 _nmeaStream = new QTextStream(); 180 _nmeaStream->setDevice(_nmeaFile); 181 } 162 182 } 163 183 -
trunk/BNC/bncmodel.h
r2124 r2125 83 83 bool _estTropo; 84 84 QByteArray _log; 85 QFile* _nmeaFile; 86 QTextStream* _nmeaStream; 85 87 }; 86 88
Note:
See TracChangeset
for help on using the changeset viewer.