Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

102 lines (86 sloc) 2.593 kb
#pragma once
/*
* Copyright (C) 2005-2012 Team XBMC
* http://www.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
* the Free Software Foundation; either version 2, 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 XBMC; see the file COPYING. If not, see
* <http://www.gnu.org/licenses/>.
*
*/
#include "GUIViewState.h"
class CGUIViewStateWindowVideo : public CGUIViewState
{
public:
CGUIViewStateWindowVideo(const CFileItemList& items) : CGUIViewState(items) {}
protected:
virtual VECSOURCES& GetSources();
virtual CStdString GetLockType();
virtual int GetPlaylist();
virtual CStdString GetExtensions();
};
class CGUIViewStateWindowVideoFiles : public CGUIViewStateWindowVideo
{
public:
CGUIViewStateWindowVideoFiles(const CFileItemList& items);
protected:
virtual void SaveViewState();
virtual VECSOURCES& GetSources();
};
class CGUIViewStateWindowVideoNav : public CGUIViewStateWindowVideo
{
public:
CGUIViewStateWindowVideoNav(const CFileItemList& items);
virtual bool AutoPlayNextItem();
protected:
virtual void SaveViewState();
virtual VECSOURCES& GetSources();
};
class CGUIViewStateWindowVideoPlaylist : public CGUIViewStateWindowVideo
{
public:
CGUIViewStateWindowVideoPlaylist(const CFileItemList& items);
protected:
virtual void SaveViewState();
virtual bool HideExtensions();
virtual bool HideParentDirItems();
virtual VECSOURCES& GetSources();
};
class CGUIViewStateVideoMovies : public CGUIViewStateWindowVideo
{
public:
CGUIViewStateVideoMovies(const CFileItemList& items);
protected:
virtual void SaveViewState();
};
class CGUIViewStateVideoMusicVideos : public CGUIViewStateWindowVideo
{
public:
CGUIViewStateVideoMusicVideos(const CFileItemList& items);
protected:
virtual void SaveViewState();
};
class CGUIViewStateVideoTVShows : public CGUIViewStateWindowVideo
{
public:
CGUIViewStateVideoTVShows(const CFileItemList& items);
protected:
virtual void SaveViewState();
};
class CGUIViewStateVideoEpisodes : public CGUIViewStateWindowVideo
{
public:
CGUIViewStateVideoEpisodes(const CFileItemList& items);
protected:
virtual void SaveViewState();
};
Jump to Line
Something went wrong with that request. Please try again.