Changeset 5068 in ntrip for trunk/BNC/src/bncmain.cpp


Ignore:
Timestamp:
Mar 30, 2013, 11:39:46 AM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncmain.cpp

    r5066 r5068  
    122122  app.setOrganizationName("BKG");
    123123  app.setOrganizationDomain("www.bkg.bund.de");
    124   PGM_CORE->setConfFileName( confFileName );
     124  BNC_CORE->setConfFileName( confFileName );
    125125
    126126  bncSettings settings;
     
    138138  if (interactive) {
    139139
    140     PGM_CORE->setMode(t_pgmCore::interactive);
     140    BNC_CORE->setMode(t_pgmCore::interactive);
    141141
    142142    QString fontString = settings.value("font").toString();
     
    151151
    152152    bncWindow* bncWin = new bncWindow();
    153     PGM_CORE->setMainWindow(bncWin);
     153    BNC_CORE->setMainWindow(bncWin);
    154154    bncWin->show();
    155155  }
     
    160160  // -------------------
    161161  else if (settings.value("pppSPP").toString() == "Post-Processing") {
    162     PGM_CORE->setMode(t_pgmCore::batchPostProcessing);
     162    BNC_CORE->setMode(t_pgmCore::batchPostProcessing);
    163163    t_postProcessing* postProcessing = new t_postProcessing(0);
    164164    postProcessing->start();
     
    168168  // -------------------------
    169169  else if (settings.value("reqcAction").toString() == "Edit/Concatenate") {
    170     PGM_CORE->setMode(t_pgmCore::batchPostProcessing);
     170    BNC_CORE->setMode(t_pgmCore::batchPostProcessing);
    171171    t_reqcEdit* reqcEdit = new t_reqcEdit(0);
    172172    reqcEdit->start();
     
    176176  // ----------------------------
    177177  else if (settings.value("reqcAction").toString() == "Analyze") {
    178     PGM_CORE->setMode(t_pgmCore::batchPostProcessing);
     178    BNC_CORE->setMode(t_pgmCore::batchPostProcessing);
    179179    t_reqcAnalyze* reqcAnalyze = new t_reqcAnalyze(0);
    180180    reqcAnalyze->start();
     
    194194                                      settings.value("outPort").toInt());
    195195   
    196     PGM_CORE->setCaster(caster);
    197     PGM_CORE->setPort(settings.value("outEphPort").toInt());
    198     PGM_CORE->setPortCorr(settings.value("corrPort").toInt());
    199     PGM_CORE->initCombination();
    200    
    201     PGM_CORE->connect(caster, SIGNAL(getThreadsFinished()), &app, SLOT(quit()));
    202    
    203     PGM_CORE->slotMessage("========== Start BNC v" BNCVERSION " =========", true);
     196    BNC_CORE->setCaster(caster);
     197    BNC_CORE->setPort(settings.value("outEphPort").toInt());
     198    BNC_CORE->setPortCorr(settings.value("corrPort").toInt());
     199    BNC_CORE->initCombination();
     200   
     201    BNC_CORE->connect(caster, SIGNAL(getThreadsFinished()), &app, SLOT(quit()));
     202   
     203    BNC_CORE->slotMessage("========== Start BNC v" BNCVERSION " =========", true);
    204204   
    205205    // Normal case - data from Internet
    206206    // --------------------------------
    207207    if ( rawFileName.isEmpty() ) {
    208       PGM_CORE->setMode(t_pgmCore::nonInteractive);
     208      BNC_CORE->setMode(t_pgmCore::nonInteractive);
    209209      caster->readMountPoints();
    210210      if (caster->numStations() == 0) {
     
    216216    // -----------------------------
    217217    else {
    218       PGM_CORE->setMode(t_pgmCore::batchPostProcessing);
     218      BNC_CORE->setMode(t_pgmCore::batchPostProcessing);
    219219      bncRawFile*   rawFile   = new bncRawFile(rawFileName, "",
    220220                                               bncRawFile::input);
Note: See TracChangeset for help on using the changeset viewer.