001 /** 002 * iFish - An iRiver iHP jukebox database creation tool 003 * 004 * Copyright (C) 2009 Richard "Shred" Körber 005 * http://ifish.shredzone.org 006 * 007 * This program is free software: you can redistribute it and/or modify 008 * it under the terms of the GNU General Public License as published by 009 * the Free Software Foundation, either version 3 of the License, or 010 * (at your option) any later version. 011 * 012 * This program is distributed in the hope that it will be useful, 013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 015 * GNU General Public License for more details. 016 * 017 * You should have received a copy of the GNU General Public License 018 * along with this program. If not, see <http://www.gnu.org/licenses/>. 019 */ 020 package net.shredzone.ifish; 021 022 import net.shredzone.ifish.db.Entry; 023 024 /** 025 * A class which is able to deliver a playlist for the external player, 026 * must implement this interface. 027 * 028 * @author Richard Körber <dev@shredzone.de> 029 * @version $Id: PlaylistSource.java 291 2009-04-28 21:29:27Z shred $ 030 */ 031 public interface PlaylistSource { 032 033 /** 034 * Get an array of all Entry to be played. 035 * 036 * @return Array of Entry, might be empty. 037 */ 038 public Entry[] getSelectedEntries(); 039 040 }