package net.sergeych.toread

import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.StateFlow

actual object ReadAloudPlatform {
    actual val isSupported: Boolean = false
    private val mutableState = MutableStateFlow(ReadAloudState())
    actual val state: StateFlow<ReadAloudState> = mutableState
    private val mutableSettingsState = MutableStateFlow(ReadAloudSettingsState())
    actual val settingsState: StateFlow<ReadAloudSettingsState> = mutableSettingsState

    actual fun prepare(fileId: String, bookTitle: String, sentences: List<ReadAloudSentence>, startIndex: Int) = Unit
    actual fun play() = Unit
    actual fun stop() = Unit
    actual fun skip(delta: Int) = Unit
    actual fun refreshSettings() = Unit
    actual fun selectEngine(engineId: String?) = Unit
    actual fun selectVoice(voiceId: String?) = Unit
}
