X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/1a3c006469f38deb037cd8f0d79555f2f564d784..c109ac9f65958266629e948726d661515b118465:/client/proxguiqt.h diff --git a/client/proxguiqt.h b/client/proxguiqt.h index aa3b5b35..8a3b8cfc 100644 --- a/client/proxguiqt.h +++ b/client/proxguiqt.h @@ -11,6 +11,9 @@ #ifndef PROXGUI_QT #define PROXGUI_QT +#include +#include + #include #include #include @@ -35,6 +38,7 @@ private: int xCoordOf(int i, QRect r ); int yCoordOf(int v, QRect r, int maxVal); int valueOf_yCoord(int y, QRect r, int maxVal); + void setMaxAndStart(int *buffer, int len, QRect plotRect); QColor getColor(int graphNum); public: Plot(QWidget *parent = 0); @@ -114,4 +118,17 @@ class ProxGuiQT : public QObject void HideGraphWindowSignal(void); void ExitSignal(void); }; + + +class WorkerThread : public QThread { + Q_OBJECT; +public: + WorkerThread(char*, bool); + ~WorkerThread(); + void run(); +private: + char *script_cmds_file = NULL; + bool usb_present; +}; + #endif // PROXGUI_QT