mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-21 13:53:37 +00:00
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
16 lines
435 B
Swift
16 lines
435 B
Swift
@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)
|
|
}
|