20 lines
294 B
C
20 lines
294 B
C
|
#ifndef SOCKET_H
|
||
|
#define SOCKET_H
|
||
|
|
||
|
#include "Runner.h"
|
||
|
#include <QObject>
|
||
|
#include <QLocalServer>
|
||
|
|
||
|
class Socket : public QLocalServer
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
Socket(Runner *runner);
|
||
|
void incomingConnection(quintptr socketDescriptor);
|
||
|
|
||
|
private:
|
||
|
Runner *runner;
|
||
|
};
|
||
|
|
||
|
#endif // SOCKET_H
|