Changeset 3531 in ntrip


Ignore:
Timestamp:
Dec 16, 2011, 5:51:37 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmain.cpp

    r3524 r3531  
    6464  bool       GUIenabled  = true;
    6565  QByteArray rawFileName;
    66   QByteArray staID;
    6766  QString    confFileName;
    6867
     
    7877        GUIenabled = false;
    7978        rawFileName = QByteArray(argv[ii+1]);
    80       }
    81       if (QByteArray(argv[ii]).indexOf("-mountpoint") != -1) {
    82         staID = QByteArray(argv[ii+1]);
    8379      }
    8480    }
     
    157153    else {
    158154      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);
    168157      bncGetThread* getThread = new bncGetThread(rawFile);
    169158      caster->addGetThread(getThread, true);
Note: See TracChangeset for help on using the changeset viewer.