struct Expansion : Thread { Expansion(); virtual ~Expansion(); static auto Enter() -> void; virtual auto main() -> void; }; struct ExpansionPort { auto connect(uint deviceID) -> void; auto power() -> void; auto unload() -> void; auto serialize(serializer&) -> void; Expansion* device = nullptr; }; extern ExpansionPort expansionPort; #include #include