diff --git a/mainwindow.h b/mainwindow.h --- a/mainwindow.h +++ b/mainwindow.h @@ -35,6 +35,7 @@ #include #include "portcontrol.h" +#include "snapshotview.h" #include "ui_about_dialog.h" #include "framebuffer.h" @@ -99,6 +100,9 @@ private: unsigned int sampleCount; QTimer spsTimer; + // snapshots + QList snapshots; + // demo QTimer demoTimer; int demoCount; @@ -128,6 +132,8 @@ private slots: void spsTimerTimeout(); + void takeSnapShot(); + void demoTimerTimeout(); void enableDemo(bool enabled);