Moved the frame file saving/loading routines to their own class in preparation for new cool stuff.

This commit is contained in:
Collin Kidder
2015-06-16 20:15:37 -04:00
parent b2819e3b55
commit f1cedbd880
6 changed files with 454 additions and 443 deletions
+2 -12
View File
@@ -1,11 +1,13 @@
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include "config.h"
#include <QMainWindow>
#include <QSerialPort>
#include <QSerialPortInfo>
#include "canframemodel.h"
#include "can_structs.h"
#include "framefileio.h"
#include "graphingwindow.h"
#include "frameinfowindow.h"
#include "frameplaybackwindow.h"
@@ -14,8 +16,6 @@
#include "dbchandler.h"
#include "dbcmaineditor.h"
#define VERSION 111
namespace Ui {
class MainWindow;
}
@@ -102,16 +102,6 @@ private:
bool isConnected;
//private methods
void loadCRTDFile(QString);
void loadNativeCSVFile(QString);
void loadGenericCSVFile(QString);
void loadLogFile(QString);
void loadMicrochipFile(QString);
void saveCRTDFile(QString);
void saveNativeCSVFile(QString);
void saveGenericCSVFile(QString);
void saveLogFile(QString);
void saveMicrochipFile(QString);
void saveDecodedTextFile(QString);
void addFrameToDisplay(CANFrame &, bool);
void updateFileStatus();