Changeset 88 in ntrip for trunk/BNC/bncmain.cpp
- Timestamp:
- Aug 31, 2006, 7:20:36 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmain.cpp
r82 r88 46 46 else { 47 47 QSettings settings; 48 QString proxyHost = settings.value("proxyHost").toString();49 int proxyPort = settings.value("proxyPort").toInt();50 QByteArray user = settings.value("user").toString().toAscii();51 QByteArray password = settings.value("password").toString().toAscii();52 53 48 bncCaster* caster = new bncCaster(settings.value("outFile").toString(), 54 49 settings.value("outPort").toInt()); … … 65 60 if (hlp.size() <= 1) continue; 66 61 QUrl url(hlp[0]); 67 QByteArray mountPoint = url.path().mid(1).toAscii(); 68 QByteArray format = hlp[1].toAscii(); 69 70 bncGetThread* getThread = new bncGetThread(url.host(), url.port(), 71 proxyHost, proxyPort, 72 mountPoint, user, password, 73 format); 62 QByteArray format = hlp[1].toAscii(); 63 bncGetThread* getThread = new bncGetThread(url, format); 74 64 app.connect(getThread, SIGNAL(newMessage(const QByteArray&)), 75 65 &app, SLOT(slotMessage(const QByteArray&))); … … 79 69 getThread->start(); 80 70 } 81 if (caster->n MountPoints() == 0) {71 if (caster->numStations() == 0) { 82 72 return 0; 83 73 }
Note:
See TracChangeset
for help on using the changeset viewer.