diff options
Diffstat (limited to 'g15helper/g15helper_emu.h')
-rw-r--r-- | g15helper/g15helper_emu.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/g15helper/g15helper_emu.h b/g15helper/g15helper_emu.h new file mode 100644 index 000000000..cd87f9a1e --- /dev/null +++ b/g15helper/g15helper_emu.h @@ -0,0 +1,35 @@ +// Copyright 2005-2016 The Mumble Developers. All rights reserved. +// Use of this source code is governed by a BSD-style license +// that can be found in the LICENSE file at the root of the +// Mumble source tree or at <https://www.mumble.info/LICENSE>. + +#ifndef MUMBLE_G15_HELPER_EMU_H_ +#define MUMBLE_G15_HELPER_EMU_H_ + +#include <QFile> +#include <QMainWindow> +#include <QThread> +#include <QLabel> + +class G15Reader : public QThread { + Q_OBJECT +public: + G15Reader(); + ~G15Reader(); + void run() Q_DECL_OVERRIDE; + + bool m_isRunning; +signals: + void readFrame(QPixmap p); +}; + +class G15Emulator : public QMainWindow { + Q_OBJECT +public: + QLabel *m_displayLabel; + G15Emulator(); +public slots: + void drawFrame(QPixmap p); +}; + +#endif |