Changeset 3531 in ntrip
- Timestamp:
- Dec 16, 2011, 5:51:37 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmain.cpp
r3524 r3531 64 64 bool GUIenabled = true; 65 65 QByteArray rawFileName; 66 QByteArray staID;67 66 QString confFileName; 68 67 … … 78 77 GUIenabled = false; 79 78 rawFileName = QByteArray(argv[ii+1]); 80 }81 if (QByteArray(argv[ii]).indexOf("-mountpoint") != -1) {82 staID = QByteArray(argv[ii+1]);83 79 } 84 80 } … … 157 153 else { 158 154 app.setMode(bncApp::batchPostProcessing); 159 160 if ( staID.isEmpty() ) { 161 cout << printHelp.toAscii().data() << endl; 162 exit(0); 163 } 164 165 bncRawFile* rawFile = new bncRawFile(rawFileName, staID, 166 bncRawFile::input); 167 155 bncRawFile* rawFile = new bncRawFile(rawFileName, "", 156 bncRawFile::input); 168 157 bncGetThread* getThread = new bncGetThread(rawFile); 169 158 caster->addGetThread(getThread, true);
Note:
See TracChangeset
for help on using the changeset viewer.