diff --git a/NucleicRemote/NucleicRemote/Models/HostConnection.swift b/NucleicRemote/NucleicRemote/Models/HostConnection.swift index cb6433c..37b1921 100644 --- a/NucleicRemote/NucleicRemote/Models/HostConnection.swift +++ b/NucleicRemote/NucleicRemote/Models/HostConnection.swift @@ -95,6 +95,11 @@ final class HostConnection { /// A join code this host minted at our request ("add a device to this mesh") — the /// `nucleic://pair?d=…` string to show as a QR / copyable code, or nil if it couldn't. var pairingCodeReceived: (String?) -> Void = { _ in } + /// This host forwarded a Mac-pair confirm — a Mac is joining via a code we shared and + /// wants the user's allow/deny. The phone can approve it (`respondMacPair`). + var macPairRequested: (WireMacPairRequest) -> Void = { _ in } + /// The forwarded Mac-pair (by deviceID) was answered/withdrawn — dismiss the prompt. + var macPairResolved: (String) -> Void = { _ in } } private let callbacks: Callbacks