Changeset 3041 in ntrip for trunk/BNS/bnsrinex.cpp


Ignore:
Timestamp:
Feb 25, 2011, 2:17:45 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnsrinex.cpp

    r859 r3041  
    2020
    2121#include "bnsrinex.h"
     22#include "bnssettings.h"
    2223
    2324using namespace std;
     
    2829               const QString& intr, int sampl)
    2930  : bnsoutf(prep, ext, path, intr, sampl) {
     31  bnsSettings settings;
     32  _append = Qt::CheckState(settings.value("fileAppend").toInt()) == Qt::Checked;
    3033}
    3134
     
    4043                   const ColumnVector& xx) {
    4144
    42   if (bnsoutf::write(GPSweek, GPSweeks, prn, xx) == success) {
     45  if (bnsoutf::write(GPSweek, GPSweeks, prn, xx, _append) == success) {
    4346
    4447      QDateTime datTim = dateAndTimeFromGPSweek(GPSweek, GPSweeks);
Note: See TracChangeset for help on using the changeset viewer.