#pragma once
/*
- * Copyright (C) 2005-2012 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
#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;