Changeset 1354 in ntrip for trunk/BNC/bncsocket.cpp
- Timestamp:
- Dec 27, 2008, 2:18:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncsocket.cpp
r1353 r1354 19 19 20 20 #include "bncsocket.h" 21 #include "bncapp.h" 21 22 22 23 using namespace std; … … 27 28 //////////////////////////////////////////////////////////////////////////// 28 29 bncSocket::bncSocket() { 30 bncApp* app = (bncApp*) qApp; 31 app->connect(this, SIGNAL(newMessage(QByteArray,bool)), 32 app, SLOT(slotMessage(const QByteArray,bool))); 29 33 _socket = 0; 30 34 } … … 158 162 const QByteArray& ntripVersion, 159 163 int timeOut, QString& msg) { 164 165 if (ntripVersion == "AUTO") { 166 emit newMessage("NTRIP Version AUTO not yet implemented", "true"); 167 return failure; 168 } 169 else if (ntripVersion == "2") { 170 171 } 172 else if (ntripVersion != "1") { 173 emit newMessage("Unknown NTRIP Version " + ntripVersion, "true"); 174 return failure; 175 } 160 176 161 177 delete _socket;
Note:
See TracChangeset
for help on using the changeset viewer.