LogCompressor.h 452 Bytes
Newer Older
pixhawk's avatar
pixhawk committed
1 2 3 4 5 6 7 8
#ifndef LOGCOMPRESSOR_H
#define LOGCOMPRESSOR_H

#include <QThread>

class LogCompressor : public QThread
{
public:
9 10 11 12
    LogCompressor(QString logFileName, QString outFileName="", int uasid = 0);
    bool isFinished();
    int getDataLines();
    int getCurrentLine();
pixhawk's avatar
pixhawk committed
13 14 15
protected:
    void run();
    QString logFileName;
16 17 18 19
    QString outFileName;
    bool running;
    int currentDataLine;
    int dataLines;
pixhawk's avatar
pixhawk committed
20 21 22 23
    int uasid;
};

#endif // LOGCOMPRESSOR_H