diff options
Diffstat (limited to 'qpsxserial.h')
| -rw-r--r-- | qpsxserial.h | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/qpsxserial.h b/qpsxserial.h index 2728ce3..4349f5b 100644 --- a/qpsxserial.h +++ b/qpsxserial.h @@ -9,6 +9,7 @@ #include <QThread> #include <QTime> #include <QWinTaskbarButton> +#include "ui_stdout_dialog.h" namespace Ui { class QPSXSerial; @@ -27,18 +28,19 @@ private: void sendData(QByteArray data, QString fileName); void sendDataSize(quint32 size); - Ui::QPSXSerial *ui; - QString inputExe; - QString selectedPort; - QString selectedFolder; - QSerialPort serial; - bool ack; - bool exe_sent; - QTimer* init_timer; - bool write_ready; - bool byte_sent_received; - QByteArray last_packet_sent; - QTimer* lost_packet_timer; + Ui::QPSXSerial *ui; + Ui::Stdout_Console *stdout_ui; + QString inputExe; + QString selectedPort; + QString selectedFolder; + QSerialPort serial; + bool ack; + bool exe_sent; + QTimer* init_timer; + bool write_ready; + bool byte_sent_received; + QByteArray last_packet_sent; + QTimer* lost_packet_timer; private slots: void onLoadFileBtnReleased(void); @@ -49,6 +51,7 @@ private slots: void onReadyRead(void); void connectToPSXTimeout(void); void onPacketLost(void); + void onStdOutButtonReleased(void); }; #endif // QPSXSERIAL_H |
