blob: 7cc9c45c096ef5c5e8defa9531f8c756c07d74fb (
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
36
37
38
39
40
41
42
43
44
45
46
|
// 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_MUMBLE_G15LCDENGINE_LGLCD_H_
#define MUMBLE_MUMBLE_G15LCDENGINE_LGLCD_H_
#include "mumble_pch.hpp"
#include "LCD.h"
#include "../../g15helper/g15helper.h"
class G15LCDDeviceLGLCD;
class G15LCDEngineLGLCD : public LCDEngine {
friend class G15LCDDeviceLGLCD;
private:
Q_OBJECT
Q_DISABLE_COPY(G15LCDEngineLGLCD)
protected:
lgLcdConnectContextEx llcceConnect;
lgLcdOpenByTypeContext llcContext;
public:
G15LCDEngineLGLCD();
~G15LCDEngineLGLCD();
QList<LCDDevice *> devices() const;
};
class G15LCDDeviceLGLCD : public LCDDevice {
protected:
G15LCDEngineLGLCD *engine;
bool bEnabled;
public:
G15LCDDeviceLGLCD(G15LCDEngineLGLCD *e);
~G15LCDDeviceLGLCD();
bool enabled();
void setEnabled(bool e);
void blitImage(QImage *img, bool alert);
QString name() const;
QSize size() const;
};
#else
class G15LCDEngineLGLCD;
class G15LCDDeviceLGLCD;
#endif
|