mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-24 06:35:42 +00:00
20 lines
341 B
C++
20 lines
341 B
C++
#pragma once
|
|
#include "core/types.h"
|
|
#include "gdbconnection.h"
|
|
#include <QtNetwork/QTcpServer>
|
|
|
|
class GDBServer : public QTcpServer
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
GDBServer(QObject* parent, u16 port);
|
|
~GDBServer();
|
|
|
|
protected:
|
|
void incomingConnection(qintptr socketDescriptor) override;
|
|
|
|
private:
|
|
std::list<GDBConnection*> m_connections;
|
|
};
|