Changeset 760 in ntrip for trunk/BNS/bns.cpp
- Timestamp:
- Mar 30, 2008, 6:25:06 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r758 r760 24 24 //////////////////////////////////////////////////////////////////////////// 25 25 t_bns::t_bns(QObject* parent) : QThread(parent) { 26 26 27 _bnseph = new t_bnseph(parent); 28 27 29 connect(_bnseph, SIGNAL(newMessage(QByteArray)), 28 30 this, SLOT(slotMessage(const QByteArray))); 31 32 connect(_bnseph, SIGNAL(error(QByteArray)), 33 this, SLOT(slotError(const QByteArray))); 29 34 } 30 35 … … 42 47 } 43 48 49 // Write a Program Message 50 //////////////////////////////////////////////////////////////////////////// 51 void t_bns::slotError(const QByteArray msg) { 52 cerr << msg.data() << endl; 53 emit(error(msg)); 54 } 55 44 56 // Start 45 57 ////////////////////////////////////////////////////////////////////////////
Note:
See TracChangeset
for help on using the changeset viewer.