Changes to BLF file reading code
This commit is contained in:
@@ -82,5 +82,10 @@ bool BLFHandler::loadBLF(QString filename, QVector<CANFrame>* frames)
|
|||||||
}
|
}
|
||||||
else return false;
|
else return false;
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool BLFHandler::saveBLF(QString filename, QVector<CANFrame> *frames)
|
||||||
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ class BLFHandler
|
|||||||
public:
|
public:
|
||||||
BLFHandler();
|
BLFHandler();
|
||||||
bool loadBLF(QString filename, QVector<CANFrame>* frames);
|
bool loadBLF(QString filename, QVector<CANFrame>* frames);
|
||||||
|
bool saveBLF(QString filename, QVector<CANFrame>* frames);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BLF_FILE_HEADER header;
|
BLF_FILE_HEADER header;
|
||||||
|
|||||||
+1
-1
@@ -594,7 +594,7 @@ bool FrameFileIO::loadCanalyzerASC(QString filename, QVector<CANFrame>* frames)
|
|||||||
bool FrameFileIO::loadCanalyzerBLF(QString filename, QVector<CANFrame> *frames)
|
bool FrameFileIO::loadCanalyzerBLF(QString filename, QVector<CANFrame> *frames)
|
||||||
{
|
{
|
||||||
BLFHandler blf;
|
BLFHandler blf;
|
||||||
blf.loadBLF(filename, frames);
|
return blf.loadBLF(filename, frames);
|
||||||
}
|
}
|
||||||
|
|
||||||
//The "native" file format for this program
|
//The "native" file format for this program
|
||||||
|
|||||||
Reference in New Issue
Block a user