Changeset 760 in ntrip for trunk/BNS/bns.cpp


Ignore:
Timestamp:
Mar 30, 2008, 6:25:06 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r758 r760  
    2424////////////////////////////////////////////////////////////////////////////
    2525t_bns::t_bns(QObject* parent) : QThread(parent) {
     26
    2627  _bnseph = new t_bnseph(parent);
     28
    2729  connect(_bnseph, SIGNAL(newMessage(QByteArray)),
    2830          this, SLOT(slotMessage(const QByteArray)));
     31
     32  connect(_bnseph, SIGNAL(error(QByteArray)),
     33          this, SLOT(slotError(const QByteArray)));
    2934}
    3035
     
    4247}
    4348
     49// Write a Program Message
     50////////////////////////////////////////////////////////////////////////////
     51void t_bns::slotError(const QByteArray msg) {
     52  cerr << msg.data() << endl;
     53  emit(error(msg));
     54}
     55
    4456// Start
    4557////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.