4 * Copyright (C) 2005-2013 Team XBMC
7 * This Program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
12 * This Program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with XBMC; see the file COPYING. If not, see
19 * <http://www.gnu.org/licenses/>.
23 #include "view/GUIViewState.h"
25 class CGUIViewStateWindowVideo : public CGUIViewState
28 CGUIViewStateWindowVideo(const CFileItemList& items) : CGUIViewState(items) {}
31 virtual VECSOURCES& GetSources();
32 virtual CStdString GetLockType();
33 virtual int GetPlaylist();
34 virtual CStdString GetExtensions();
37 class CGUIViewStateWindowVideoFiles : public CGUIViewStateWindowVideo
40 CGUIViewStateWindowVideoFiles(const CFileItemList& items);
43 virtual void SaveViewState();
44 virtual VECSOURCES& GetSources();
47 class CGUIViewStateWindowVideoNav : public CGUIViewStateWindowVideo
50 CGUIViewStateWindowVideoNav(const CFileItemList& items);
51 virtual bool AutoPlayNextItem();
54 virtual void SaveViewState();
55 virtual VECSOURCES& GetSources();
58 class CGUIViewStateWindowVideoPlaylist : public CGUIViewStateWindowVideo
61 CGUIViewStateWindowVideoPlaylist(const CFileItemList& items);
64 virtual void SaveViewState();
65 virtual bool HideExtensions();
66 virtual bool HideParentDirItems();
67 virtual VECSOURCES& GetSources();
70 class CGUIViewStateVideoMovies : public CGUIViewStateWindowVideo
73 CGUIViewStateVideoMovies(const CFileItemList& items);
75 virtual void SaveViewState();
78 class CGUIViewStateVideoMusicVideos : public CGUIViewStateWindowVideo
81 CGUIViewStateVideoMusicVideos(const CFileItemList& items);
83 virtual void SaveViewState();
86 class CGUIViewStateVideoTVShows : public CGUIViewStateWindowVideo
89 CGUIViewStateVideoTVShows(const CFileItemList& items);
91 virtual void SaveViewState();
94 class CGUIViewStateVideoEpisodes : public CGUIViewStateWindowVideo
97 CGUIViewStateVideoEpisodes(const CFileItemList& items);
99 virtual void SaveViewState();