| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
#ifndef MUMBLE_G15_HELPER_EMU_H_ |
| 7 |
#define MUMBLE_G15_HELPER_EMU_H_ |
| 8 |
|
| 9 |
#include <QFile> |
| 10 |
#include <QLabel> |
| 11 |
#include <QMainWindow> |
| 12 |
#include <QThread> |
| 13 |
|
| 14 |
class G15Reader : public QThread { |
| 15 |
Q_OBJECT |
| 16 |
public: |
| 17 |
G15Reader(); |
| 18 |
~G15Reader(); |
| 19 |
void run() Q_DECL_OVERRIDE; |
| 20 |
|
| 21 |
bool m_isRunning; |
| 22 |
signals: |
| 23 |
void readFrame(QPixmap p); |
| 24 |
}; |
| 25 |
|
| 26 |
class G15Emulator : public QMainWindow { |
| 27 |
Q_OBJECT |
| 28 |
public: |
| 29 |
QLabel *m_displayLabel; |
| 30 |
G15Emulator(); |
| 31 |
public slots: |
| 32 |
void drawFrame(QPixmap p); |
| 33 |
}; |
| 34 |
|
| 35 |
#endif |