package com.radiola.domain.usecase

import com.radiola.domain.model.Station
import com.radiola.domain.repository.SettingsRepository
import javax.inject.Inject

class PlayStationUseCase @Inject constructor(
    private val settingsRepository: SettingsRepository
) {
    suspend operator fun invoke(station: Station) {
        settingsRepository.setLastStationId(station.id)
        // Actual playback is delegated to PlayerService
    }
}
