Fix to make access of canbus frames const correct. It's now not really possible to modify the captured canbus frames from outside the model class that holds them. This is safer and more future proof.

Boring update but it might save head scratching in the future.
This commit is contained in:
Collin Kidder
2015-06-24 20:44:38 -04:00
parent c14f57c98f
commit 1af5c10506
16 changed files with 64 additions and 44 deletions
+5 -5
View File
@@ -26,11 +26,11 @@ public:
static bool loadGenericCSVFile(QString, QVector<CANFrame>*);
static bool loadLogFile(QString, QVector<CANFrame>*);
static bool loadMicrochipFile(QString, QVector<CANFrame>*);
static bool saveCRTDFile(QString, QVector<CANFrame>*);
static bool saveNativeCSVFile(QString, QVector<CANFrame>*);
static bool saveGenericCSVFile(QString, QVector<CANFrame>*);
static bool saveLogFile(QString, QVector<CANFrame>*);
static bool saveMicrochipFile(QString, QVector<CANFrame>*);
static bool saveCRTDFile(QString, const QVector<CANFrame>*);
static bool saveNativeCSVFile(QString, const QVector<CANFrame>*);
static bool saveGenericCSVFile(QString, const QVector<CANFrame>*);
static bool saveLogFile(QString, const QVector<CANFrame>*);
static bool saveMicrochipFile(QString, const QVector<CANFrame>*);
static QString loadFrameFile(QVector<CANFrame>*);
};