Files
aris-old/IrisCompanion/iris/DataSources/POIDataSource.swift

34 lines
754 B
Swift
Raw Normal View History

2026-01-08 19:16:32 +00:00
//
// POIDataSource.swift
// iris
//
// Created by Codex.
//
import CoreLocation
import Foundation
struct POIDataSourceConfig: Sendable {
var maxCandidates: Int = 3
init() {}
}
/// Placeholder POI source. Hook point for MapKit / local cache / server-driven POIs.
final class POIDataSource {
private let config: POIDataSourceConfig
init(config: POIDataSourceConfig = .init()) {
self.config = config
}
func candidates(for location: CLLocation, now: Int) async throws -> [Candidate] {
// Phase 1 stub: return nothing.
// (Still async/throws so the orchestrator can treat it uniformly with real implementations later.)
_ = config
_ = location
_ = now
return []
}
}