Retro68/LaunchAPPL/Server/TCPConnectionProvider.h

25 lines
484 B
C
Raw Normal View History

2018-05-09 21:16:45 +00:00
#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();
};