Changeset 2226 in ntrip for trunk/BNC/bncpppclient.cpp
- Timestamp:
- Jan 12, 2010, 9:40:34 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2225 r2226 44 44 #include "bncconst.h" 45 45 #include "bncmodel.h" 46 #include "bncsettings.h" 46 47 47 48 extern "C" { … … 54 55 //////////////////////////////////////////////////////////////////////////// 55 56 bncPPPclient::bncPPPclient(QByteArray staID) { 57 58 bncSettings settings; 59 60 if ( Qt::CheckState(settings.value("pppGLONASS").toInt()) == Qt::Checked) { 61 _useGlonass = true; 62 } 63 else { 64 _useGlonass = false; 65 } 56 66 57 67 connect(((bncApp*)qApp), SIGNAL(newEphGPS(gpsephemeris)), … … 99 109 t_obsInternal* obs = &(pp->_o); 100 110 101 if (obs->satSys != 'G' ) {111 if (obs->satSys != 'G' && !_useGlonass) { 102 112 return; 103 113 }
Note:
See TracChangeset
for help on using the changeset viewer.