All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.org.daiv.tick.FileRefable.kt Maven / Gradle / Ivy

package org.daiv.tick

interface FileRefable {
    val file: FileRef
}

data class FileDataInfo(
    override val start: Long,
    override val end: Long,
    override val isCurrent: Boolean,
    val folderFile: T
) : CurrentDataCollection

fun  FileDataInfo.toWithRef() = FileDataInfoWithRef(start, end, isCurrent, folderFile)

data class FileDataInfoWithRef(
    override val start: Long,
    override val end: Long,
    override val isCurrent: Boolean,
    val folderFile: T
) : DataCollectionWithFileRef, FileRefable by folderFile


interface DataCollectionWithFileRef : CurrentDataCollection, FileRefable




© 2015 - 2025 Weber Informatics LLC | Privacy Policy