Changeset 649 in ntrip for trunk/BNC/RTCM


Ignore:
Timestamp:
Jan 4, 2008, 3:23:10 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC/RTCM
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/GPSDecoder.h

    r626 r649  
    2929#include <QPointer>
    3030#include <QList>
     31
     32#include "bncconst.h"
    3133
    3234class t_obsInternal {
     
    8789class GPSDecoder {
    8890 public:
    89   virtual void Decode(char* buffer, int bufLen) = 0;
     91  virtual t_irc Decode(char* buffer, int bufLen) = 0;
    9092
    9193  virtual ~GPSDecoder() {
  • trunk/BNC/RTCM/RTCM2Decoder.cpp

    r627 r649  
    6262//
    6363
    64 void RTCM2Decoder::Decode(char* buffer, int bufLen) {
     64t_irc RTCM2Decoder::Decode(char* buffer, int bufLen) {
    6565
    6666  _buffer.append(buffer, bufLen);
     
    7272    _PP.getPacket(_buffer);
    7373    if (!_PP.valid()) {
    74       return;
     74      return failure;
    7575    }
    7676
     
    108108    }
    109109  }
     110  return success;
    110111}
    111112
  • trunk/BNC/RTCM/RTCM2Decoder.h

    r645 r649  
    3434    RTCM2Decoder();
    3535    virtual ~RTCM2Decoder();
    36     virtual void Decode(char* buffer, int bufLen);
     36    virtual t_irc Decode(char* buffer, int bufLen);
    3737
    3838  private:
Note: See TracChangeset for help on using the changeset viewer.