You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
398 B
20 lines
398 B
#ifndef QSCRCPYEVENT_H
|
|
#define QSCRCPYEVENT_H
|
|
#include <QEvent>
|
|
#include <QMouseEvent>
|
|
class QScrcpyEvent : public QEvent
|
|
{
|
|
public:
|
|
enum Type {
|
|
DeviceSocket = QEvent::User + 1,
|
|
};
|
|
QScrcpyEvent(Type type) : QEvent(QEvent::Type(type)){}
|
|
};
|
|
|
|
class DeviceSocketEvent : public QScrcpyEvent
|
|
{
|
|
public:
|
|
DeviceSocketEvent() : QScrcpyEvent(DeviceSocket){}
|
|
};
|
|
#endif // QSCRCPYEVENT_H
|