mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-01 11:52:47 +00:00
25 lines
498 B
C
25 lines
498 B
C
|
#pragma once
|
||
|
#include "ConnectionProvider.h"
|
||
|
#include <memory>
|
||
|
|
||
|
class StatusDisplay;
|
||
|
class OpenTptStream;
|
||
|
|
||
|
class OpenTptConnectionProvider : public ConnectionProvider
|
||
|
{
|
||
|
StatusDisplay *statusDisplay;
|
||
|
|
||
|
std::unique_ptr<OpenTptStream> stream;
|
||
|
|
||
|
static void unloadSegDummy();
|
||
|
public:
|
||
|
OpenTptConnectionProvider(StatusDisplay *statusDisplay);
|
||
|
virtual ~OpenTptConnectionProvider();
|
||
|
|
||
|
virtual Stream* getStream();
|
||
|
|
||
|
virtual void idle();
|
||
|
|
||
|
virtual void* segmentToUnload();
|
||
|
};
|