]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxguiqt.h
Don't try to display the GUI when running in textmode (#387)
[proxmark3-svn] / client / proxguiqt.h
index 8ea4d312a2dda96455091e811b2bfb1ce942eca9..8a3b8cfccf5d813ea431b29bb012e2e2e5de004e 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;
+};
+
 #endif // PROXGUI_QT
Impressum, Datenschutz