Changeset 592 in ntrip for trunk/BNC


Ignore:
Timestamp:
Nov 24, 2007, 9:25:35 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncapp.cpp

    r591 r592  
    514514  // ----------------
    515515  if (_ephStreamGPS) {
    516     *_ephStreamGPS << allLines << endl;
     516    *_ephStreamGPS << allLines;
    517517    _ephStreamGPS->flush();
    518518  }
     
    580580  // ----------------
    581581  if (_ephStreamGlonass) {
    582     *_ephStreamGlonass << allLines << endl;
     582    *_ephStreamGlonass << allLines;
    583583    _ephStreamGlonass->flush();
    584584  }
  • trunk/BNC/bncapp.h

    r589 r592  
    3939    virtual ~bncApp(); 
    4040    QString bncVersion() const {return _bncVersion;}
     41    void    setPort(int port);
    4142  public slots:
    4243    void slotMessage(const QByteArray msg);
  • trunk/BNC/bncmain.cpp

    r572 r592  
    103103                                      settings.value("outPort").toInt());
    104104
     105    app.setPort(settings.value("outEphPort").toInt());
     106
    105107    app.connect(caster, SIGNAL(getThreadErrors()), &app, SLOT(quit()));
    106108    app.connect(caster, SIGNAL(newMessage(const QByteArray&)),
  • trunk/BNC/bncwindow.cpp

    r588 r592  
    513513
    514514  _caster = new bncCaster(_outFileLineEdit->text(),
    515                              _outPortLineEdit->text().toInt());
     515                          _outPortLineEdit->text().toInt());
     516
     517  ((bncApp*)qApp)->setPort(_outEphPortLineEdit->text().toInt());
    516518
    517519  connect(_caster, SIGNAL(getThreadErrors()),
Note: See TracChangeset for help on using the changeset viewer.