Changeset 3972 in ntrip


Ignore:
Timestamp:
Apr 20, 2012, 7:57:07 PM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmain.cpp

    r3548 r3972  
    5050#include "bncversion.h"
    5151#include "upload/bncephuploadcaster.h"
     52#ifdef USE_POSTPROCESSING
     53#  include "rinex/bncpostprocess.h"
     54#  include "rinex/reqcedit.h"
     55#  include "rinex/reqcanalyze.h"
     56#endif
    5257
    5358using namespace std;
     
    138143    ((bncApp*)qApp)->slotMessage("========== Start BNC v" BNCVERSION " =========", true);
    139144
     145    // Post-Processing reqc edit
     146    // -------------------------
     147    if      (settings.value("reqcAction").toString() == "Edit/Concatenate") {
     148      app.setMode(bncApp::batchPostProcessing);
     149      t_reqcEdit* reqcEdit = new t_reqcEdit(0);
     150      reqcEdit->start();
     151    }
     152
    140153    // Normal case - data from Internet
    141154    // --------------------------------
    142     if ( rawFileName.isEmpty() ) {
     155     else if ( rawFileName.isEmpty() ) {
    143156      app.setMode(bncApp::nonInteractive);
    144157      caster->slotReadMountPoints();
  • trunk/BNC/rinex/reqcedit.cpp

    r3956 r3972  
    4141#include <iostream>
    4242#include "reqcedit.h"
     43#include "bncapp.h"
    4344#include "bncsettings.h"
    4445
     
    9798  }
    9899
    99   emit finished();
    100   deleteLater();
     100  bncApp* app = (bncApp*) qApp;
     101  if ( app->mode() != bncApp::interactive) {
     102    app->exit(0);
     103  }
     104  else {
     105    emit finished();
     106    deleteLater();
     107  }
    101108}
Note: See TracChangeset for help on using the changeset viewer.