mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-30 19:53:46 +00:00
25 lines
484 B
C++
25 lines
484 B
C++
#pragma once
|
|
#include "ConnectionProvider.h"
|
|
#include <memory>
|
|
|
|
class StatusDisplay;
|
|
class MacTCPStream;
|
|
|
|
class TCPConnectionProvider : public ConnectionProvider
|
|
{
|
|
StatusDisplay *statusDisplay;
|
|
|
|
std::unique_ptr<MacTCPStream> stream;
|
|
|
|
static void unloadSegDummy();
|
|
public:
|
|
TCPConnectionProvider(StatusDisplay *statusDisplay);
|
|
virtual ~TCPConnectionProvider();
|
|
|
|
virtual Stream* getStream();
|
|
|
|
virtual void idle();
|
|
|
|
virtual void* segmentToUnload();
|
|
};
|