Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+28
@@ -0,0 +1,28 @@
|
||||
#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;
|
||||
};
|
||||
Reference in new issue
Block a user