/*
 * Copyright (c) 2024 Auxio Project
 * PrePlaylist.kt is part of Auxio.
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 */
 
package org.oxycblt.musikr.playlist.interpret

import org.oxycblt.musikr.playlist.PlaylistHandle
import org.oxycblt.musikr.playlist.SongPointer
import org.oxycblt.musikr.tag.Name

internal interface PrePlaylistInfo {
    val name: Name.Known
    val rawName: String?
    val handle: PlaylistHandle
}

internal data class PrePlaylist(
    override val name: Name.Known,
    override val rawName: String?,
    override val handle: PlaylistHandle,
    val songPointers: List<SongPointer>
) : PrePlaylistInfo

internal data class PostPlaylist(
    override val name: Name.Known,
    override val rawName: String?,
    override val handle: PlaylistHandle,
) : PrePlaylistInfo
