]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxguiqt.h
fixing the crash on exit
[proxmark3-svn] / client / proxguiqt.h
index 8ea4d312a2dda96455091e811b2bfb1ce942eca9..73f9286c39440ce9e58d2b3b8eff4bf68dbe73ca 100644 (file)
@@ -11,6 +11,9 @@
 #ifndef PROXGUI_QT
 #define PROXGUI_QT
 
+#include <stdint.h>
+#include <string.h>
+
 #include <QApplication>
 #include <QPushButton>
 #include <QObject>
@@ -115,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 = false;
+};
+
 #endif // PROXGUI_QT
Impressum, Datenschutz