Changeset 2226 in ntrip for trunk/BNC/bncpppclient.cpp


Ignore:
Timestamp:
Jan 12, 2010, 9:40:34 AM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.cpp

    r2225 r2226  
    4444#include "bncconst.h"
    4545#include "bncmodel.h"
     46#include "bncsettings.h"
    4647
    4748extern "C" {
     
    5455////////////////////////////////////////////////////////////////////////////
    5556bncPPPclient::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  }
    5666
    5767  connect(((bncApp*)qApp), SIGNAL(newEphGPS(gpsephemeris)),
     
    99109  t_obsInternal* obs = &(pp->_o);
    100110
    101   if (obs->satSys != 'G') {
     111  if (obs->satSys != 'G' && !_useGlonass) {
    102112    return;
    103113  }
Note: See TracChangeset for help on using the changeset viewer.