Files
qt5-legatus-legacy/Lts/Tools/EEMFakeServer/Server.h
T
2026-08-13 18:33:10 +02:00

29 lines
312 B
C++
Executable File

#pragma once
#include <QObject>
#include <QVector>
class QWebSocketServer;
struct Event
{
int id;
int type;
int partyId;
qint64 time;
qint64 duration;
};
class Server : QObject
{
public:
Server();
bool init(quint16 port);
private:
QWebSocketServer *m_server;
QVector<Event> m_events;
};