Changeset 2509 in ntrip for trunk/BNS


Ignore:
Timestamp:
Jul 8, 2010, 8:55:38 PM (14 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNS
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.pro

    r2493 r2509  
    3333          bnseph.h    bnsutils.h bnsrinex.h bnssp3.h bnsoutf.h        \
    3434          bnscaster.h clock_and_orbit/clock_orbit_rtcm.h bnssettings.h bnsapp.h  \
    35           bnscustomtrafo.h rtcm3torinex/rtcm3torinex.h bnctime.h timeutils.h
     35          bnscustomtrafo.h rtcm3torinex/rtcm3torinex.h bnctime.h timeutils.h \
     36          bnsversion.h
    3637
    3738HEADERS += newmat/controlw.h newmat/include.h newmat/myexcept.h  \
  • trunk/BNS/bnscaster.cpp

    r2374 r2509  
    1818#include "bnscaster.h"
    1919#include "bnssettings.h"
     20#include "bnsversion.h"
    2021
    2122using namespace std;
     
    194195  QByteArray msg = "SOURCE " + password.toAscii() + " /" +
    195196                   _mountpoint.toAscii() + "\r\n" +
    196                    "Source-Agent: NTRIP BNS/1.1\r\n\r\n";
     197                   "Source-Agent: NTRIP BNS/" BNSVERSION "\r\n\r\n";
    197198
    198199  _outSocket->write(msg);
  • trunk/BNS/bnswindow.cpp

    r2359 r2509  
    2222#include "bnssettings.h"
    2323#include "bnscustomtrafo.h"
     24#include "bnsversion.h"
    2425
    2526using namespace std;
     
    4445  img->setPixmap(QPixmap(":ntrip-logo.png"));
    4546  dlgLayout->addWidget(img, 0,0);
    46   dlgLayout->addWidget(new QLabel("BKG Ntrip State Space Server (BNS) Version 1.1"), 0,1);
     47  dlgLayout->addWidget(new QLabel("BKG Ntrip State Space Server (BNS) Version " BNSVERSION), 0,1);
    4748  dlgLayout->addWidget(tb,1,0,1,2);
    4849  dlgLayout->addWidget(_closeButton,2,1,Qt::AlignRight); 
     
    101102  int ww = QFontMetrics(this->font()).width('w');
    102103  setMinimumSize(77*ww, 65*ww);
    103   setWindowTitle(tr("BKG Ntrip State Space Server (BNS) Version 1.1"));
     104  setWindowTitle(tr("BKG Ntrip State Space Server (BNS) Version " BNSVERSION));
    104105  setWindowIcon(QPixmap(":ntrip-logo.png"));
    105106
Note: See TracChangeset for help on using the changeset viewer.