mirror of
https://github.com/bitwarden/ios.git
synced 2026-04-13 01:13:26 -05:00
20 lines
669 B
Swift
20 lines
669 B
Swift
import Foundation
|
|
|
|
// MARK: - DebugMenuModule
|
|
|
|
/// An object that builds coordinator for the debug menu.
|
|
@MainActor
|
|
public protocol DebugMenuModule {
|
|
/// Initializes a coordinator for navigating between `DebugMenuRoute`s.
|
|
///
|
|
/// - Parameters:
|
|
/// - delegate: The delegate for the debug menu coordinator.
|
|
/// - stackNavigator: The stack navigator that will be used to navigate between routes.
|
|
/// - Returns: A coordinator that can navigate to `DebugMenuRoute`s.
|
|
///
|
|
func makeDebugMenuCoordinator(
|
|
delegate: DebugMenuCoordinatorDelegate,
|
|
stackNavigator: StackNavigator,
|
|
) -> AnyCoordinator<DebugMenuRoute, Void>
|
|
}
|