#ifndef ISOTP_INTERPRETERWINDOW_H #define ISOTP_INTERPRETERWINDOW_H #include #include "can_structs.h" #include "isotp_decoder.h" namespace Ui { class ISOTP_InterpreterWindow; } class ISOTP_InterpreterWindow : public QDialog { Q_OBJECT public: explicit ISOTP_InterpreterWindow(const QVector *frames, QWidget *parent = 0); ~ISOTP_InterpreterWindow(); void showEvent(QShowEvent*); private slots: void newISOMessage(ISOTP_MESSAGE &msg); private: Ui::ISOTP_InterpreterWindow *ui; ISOTP_DECODER *decoder; const QVector *modelFrames; QVector messages; void closeEvent(QCloseEvent *event); void readSettings(); void writeSettings(); }; #endif // ISOTP_INTERPRETERWINDOW_H