Changeset 3688 in ntrip for trunk/BNC/bncpostprocess.cpp


Ignore:
Timestamp:
Feb 12, 2012, 2:07:57 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpostprocess.cpp

    r3685 r3688  
    4747#include "rnxobsfile.h"
    4848#include "rnxnavfile.h"
     49#include "corrfile.h"
    4950
    5051using namespace std;
     
    5657  _rnxObsFile = 0;
    5758  _rnxNavFile = 0;
     59  _corrFile   = 0;
    5860  _pppClient  = 0;
    5961}
     
    6567  delete _rnxNavFile;
    6668  delete _rnxObsFile;
     69  delete _corrFile;
    6770  delete _opt;
    6871}
     
    8689    _pppClient  = new bncPPPclient("POST", _opt, false);
    8790
    88     connect(this, SIGNAL(newCorrections(QList<QString>)),
    89             _pppClient, SLOT(slotNewCorrections(QList<QString>)));
     91    if (!_opt->corrFileName.isEmpty()) {
     92      _corrFile = new t_corrFile(_opt->corrFileName);
     93      connect(_corrFile, SIGNAL(newCorrections(QList<QString>)),
     94              _pppClient, SLOT(slotNewCorrections(QList<QString>)));
     95    }
    9096
    9197    connect(_pppClient, SIGNAL(newMessage(QByteArray,bool)),
Note: See TracChangeset for help on using the changeset viewer.