co-maps/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/RoutePreview/RouteManager/RouteManagerViewModelProtocol.swift

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
435 B
Swift
Raw Normal View History

2025-11-22 13:58:55 +01:00
@objc(MWMRouteManagerViewModelProtocol)
protocol RouteManagerViewModelProtocol: AnyObject {
var routePoints: [MWMRoutePoint] { get }
var refreshControlsCallback: (() -> Void)! { get set }
var reloadCallback: (() -> Void)! { get set }
func startTransaction()
func finishTransaction()
func cancelTransaction()
func addLocationPoint()
func movePoint(at index: Int, to newIndex: Int)
func deletePoint(at index: Int)
}