integrate LAN into the UI better

also fix the MPInterface destructor
This commit is contained in:
Arisotura
2024-08-10 16:57:29 +02:00
parent e0f40cd2d1
commit 4f252cb713
11 changed files with 138 additions and 55 deletions

View File

@ -42,6 +42,7 @@ public:
std::unique_ptr<MPInterface> MPInterface::Current(std::make_unique<DummyMP>());
MPInterfaceType MPInterface::CurrentType = MPInterface_Dummy;
void MPInterface::Set(MPInterfaceType type)
@ -60,6 +61,8 @@ void MPInterface::Set(MPInterfaceType type)
Current = std::make_unique<DummyMP>();
break;
}
CurrentType = type;
}
}