#pragma once
/*
- * Copyright (C) 2005-2008 Team XBMC
- * http://www.xbmc.org
+ * Copyright (C) 2005-2013 Team XBMC
+ * http://xbmc.org
*
* 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
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with XBMC; see the file COPYING. If not, write to
- * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- * http://www.gnu.org/copyleft/gpl.html
+ * along with XBMC; see the file COPYING. If not, see
+ * <http://www.gnu.org/licenses/>.
*
*/
#define PLAYLIST_VIDEO 1
#define PLAYLIST_PICTURE 2
+class CAction;
class CFileItem; typedef boost::shared_ptr<CFileItem> CFileItemPtr;
class CFileItemList;
+class CVariant;
+
namespace PLAYLIST
{
/*!
void Insert(int iPlaylist, CFileItemList& items, int iIndex);
void Remove(int iPlaylist, int iPosition);
void Swap(int iPlaylist, int indexItem1, int indexItem2);
+
+ bool IsSingleItemNonRepeatPlaylist() const;
+
+ bool OnAction(const CAction &action);
protected:
/*! \brief Returns true if the given is set to repeat all
\param playlist Playlist to be query
void ReShuffle(int iPlaylist, int iPosition);
+ void AnnouncePropertyChanged(int iPlaylist, const std::string &strProperty, const CVariant &value);
+
bool m_bPlayedFirstFile;
bool m_bPlaybackStarted;
int m_iFailedSongs;