mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-30 14:42:00 -08:00
23 lines
416 B
C++
23 lines
416 B
C++
#ifndef SERVERSOCKETTHREAD_H
|
|
#define SERVERSOCKETTHREAD_H
|
|
|
|
#include <QThread>
|
|
|
|
class Servatrice;
|
|
class ServerSocketInterface;
|
|
|
|
class ServerSocketThread : public QThread {
|
|
Q_OBJECT
|
|
private:
|
|
Servatrice *server;
|
|
ServerSocketInterface *ssi;
|
|
int socketDescriptor;
|
|
public:
|
|
ServerSocketThread(int _socketDescriptor, Servatrice *_server, QObject *parent = 0);
|
|
~ServerSocketThread();
|
|
protected:
|
|
void run();
|
|
};
|
|
|
|
#endif
|