Merge pull request #3112 from koying/fixcurlopenssl
[vuplus_xbmc] / xbmc / video / GUIViewStateVideo.h
1 #pragma once
2
3 /*
4  *      Copyright (C) 2005-2013 Team XBMC
5  *      http://xbmc.org
6  *
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)
10  *  any later version.
11  *
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.
16  *
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/>.
20  *
21  */
22
23 #include "view/GUIViewState.h"
24
25 class CGUIViewStateWindowVideo : public CGUIViewState
26 {
27 public:
28   CGUIViewStateWindowVideo(const CFileItemList& items) : CGUIViewState(items) {}
29
30 protected:
31   virtual VECSOURCES& GetSources();
32   virtual CStdString GetLockType();
33   virtual int GetPlaylist();
34   virtual CStdString GetExtensions();
35 };
36
37 class CGUIViewStateWindowVideoFiles : public CGUIViewStateWindowVideo
38 {
39 public:
40   CGUIViewStateWindowVideoFiles(const CFileItemList& items);
41
42 protected:
43   virtual void SaveViewState();
44   virtual VECSOURCES& GetSources();
45 };
46
47 class CGUIViewStateWindowVideoNav : public CGUIViewStateWindowVideo
48 {
49 public:
50   CGUIViewStateWindowVideoNav(const CFileItemList& items);
51   virtual bool AutoPlayNextItem();
52
53 protected:
54   virtual void SaveViewState();
55   virtual VECSOURCES& GetSources();
56 };
57
58 class CGUIViewStateWindowVideoPlaylist : public CGUIViewStateWindowVideo
59 {
60 public:
61   CGUIViewStateWindowVideoPlaylist(const CFileItemList& items);
62
63 protected:
64   virtual void SaveViewState();
65   virtual bool HideExtensions();
66   virtual bool HideParentDirItems();
67   virtual VECSOURCES& GetSources();
68 };
69
70 class CGUIViewStateVideoMovies : public CGUIViewStateWindowVideo
71 {
72 public:
73   CGUIViewStateVideoMovies(const CFileItemList& items);
74 protected:
75   virtual void SaveViewState();
76 };
77
78 class CGUIViewStateVideoMusicVideos : public CGUIViewStateWindowVideo
79 {
80 public:
81   CGUIViewStateVideoMusicVideos(const CFileItemList& items);
82 protected:
83   virtual void SaveViewState();
84 };
85
86 class CGUIViewStateVideoTVShows : public CGUIViewStateWindowVideo
87 {
88 public:
89   CGUIViewStateVideoTVShows(const CFileItemList& items);
90 protected:
91   virtual void SaveViewState();
92 };
93
94 class CGUIViewStateVideoEpisodes : public CGUIViewStateWindowVideo
95 {
96 public:
97   CGUIViewStateVideoEpisodes(const CFileItemList& items);
98 protected:
99   virtual void SaveViewState();
100 };
101