Changeset 1353 in ntrip for trunk/BNC/bnctabledlg.cpp


Ignore:
Timestamp:
Dec 27, 2008, 1:59:46 PM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnctabledlg.cpp

    r1351 r1353  
    146146////////////////////////////////////////////////////////////////////////////
    147147t_irc bncTableDlg::getFullTable(const QString& casterHost,
    148                                 int casterPort, QStringList& allLines,
    149                                 bool alwaysRead) {
     148                                int casterPort, const QByteArray& ntripVersion,
     149                                QStringList& allLines, bool alwaysRead) {
    150150
    151151  static QMutex mutex;
     
    169169  const int timeOut = 10*1000;
    170170  QString msg;
    171   QByteArray _latitude;
    172   QByteArray _longitude;
    173   QByteArray _nmea;
    174171  bncSocket* socket = new bncSocket();
    175   if (socket->request(url, _latitude, _longitude,
    176                       _nmea, timeOut, msg) != success) {
     172  if (socket->request(url, "", "", "", ntripVersion, timeOut, msg) != success) {
    177173    delete socket;
    178174    return failure;
     
    239235  if ( getFullTable(_casterHostLineEdit->currentText(),
    240236                    _casterPortLineEdit->text().toInt(),
     237                    _ntripVersionComboBox->currentText().toAscii(),
    241238                    _allLines) != success ) {
    242239    QMessageBox::warning(0, "BNC", "Cannot retrieve table of data");
Note: See TracChangeset for help on using the changeset viewer.