mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 15:11:31 +00:00
[idd] transport: add frame sink boundary
This commit is contained in:
@@ -30,11 +30,11 @@ static std::unique_ptr<ITransport> CreateLGMP()
|
||||
return std::unique_ptr<ITransport>(new (std::nothrow) CLGMPTransport());
|
||||
}
|
||||
|
||||
std::unique_ptr<ITransport> CreateTransport()
|
||||
std::unique_ptr<CTransportManager> CreateTransport()
|
||||
{
|
||||
std::unique_ptr<CTransportManager> manager(
|
||||
new (std::nothrow) CTransportManager());
|
||||
if (!manager || !manager->Add(1, "LGMP", true, true, CreateLGMP))
|
||||
return std::unique_ptr<ITransport>();
|
||||
return std::unique_ptr<ITransport>(manager.release());
|
||||
return std::unique_ptr<CTransportManager>();
|
||||
return manager;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user