mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-20 05:13:22 -07:00
Comms refactor (prerequisite of libproxmark work) (#371)
* Refactor the comms code only from PR#346, without comms_globals.h. * OSX: Add note for example serial port
This commit is contained in:
parent
e17660d5f7
commit
afdcb8c159
19 changed files with 540 additions and 334 deletions
|
@ -21,6 +21,7 @@
|
|||
#include <QPainter>
|
||||
#include <QtGui>
|
||||
|
||||
#include "uart.h"
|
||||
#include "ui/ui_overlays.h"
|
||||
/**
|
||||
* @brief The actual plot, black area were we paint the graph
|
||||
|
@ -91,13 +92,14 @@ class ProxWidget : public QWidget
|
|||
class WorkerThread : public QThread {
|
||||
Q_OBJECT;
|
||||
public:
|
||||
WorkerThread(char*, char*, bool);
|
||||
WorkerThread(char*, char*, bool, serial_port*);
|
||||
~WorkerThread();
|
||||
void run();
|
||||
private:
|
||||
char *script_cmds_file = NULL;
|
||||
char *script_cmd = NULL;
|
||||
bool usb_present;
|
||||
serial_port *sp = NULL;
|
||||
};
|
||||
|
||||
class ProxGuiQT : public QObject
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue