Welcome to mirror list, hosted at ThFree Co, Russian Federation.

g15helper_emu.h « g15helper - github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 43cdf9c239b823781de36f4815b6274cf404c532 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Copyright 2016-2022 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 <QLabel>
#include <QMainWindow>
#include <QThread>

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