[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / music / GUIViewStateMusic.h
blob7f7311a8e76e74a2f2b729be7eaaa5818185046b
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include "view/GUIViewState.h"
13 class CGUIViewStateWindowMusic : public CGUIViewState
15 public:
16 explicit CGUIViewStateWindowMusic(const CFileItemList& items) : CGUIViewState(items) {}
17 protected:
18 VECSOURCES& GetSources() override;
19 PLAYLIST::Id GetPlaylist() const override;
20 bool AutoPlayNextItem() override;
21 std::string GetLockType() override;
22 std::string GetExtensions() override;
25 class CGUIViewStateMusicSearch : public CGUIViewStateWindowMusic
27 public:
28 explicit CGUIViewStateMusicSearch(const CFileItemList& items);
30 protected:
31 void SaveViewState() override;
34 class CGUIViewStateMusicDatabase : public CGUIViewStateWindowMusic
36 public:
37 explicit CGUIViewStateMusicDatabase(const CFileItemList& items);
39 protected:
40 void SaveViewState() override;
43 class CGUIViewStateMusicSmartPlaylist : public CGUIViewStateWindowMusic
45 public:
46 explicit CGUIViewStateMusicSmartPlaylist(const CFileItemList& items);
48 protected:
49 void SaveViewState() override;
52 class CGUIViewStateMusicPlaylist : public CGUIViewStateWindowMusic
54 public:
55 explicit CGUIViewStateMusicPlaylist(const CFileItemList& items);
57 protected:
58 void SaveViewState() override;
61 class CGUIViewStateWindowMusicNav : public CGUIViewStateWindowMusic
63 public:
64 explicit CGUIViewStateWindowMusicNav(const CFileItemList& items);
66 protected:
67 void SaveViewState() override;
68 VECSOURCES& GetSources() override;
70 private:
71 void AddOnlineShares();
74 class CGUIViewStateWindowMusicPlaylist : public CGUIViewStateWindowMusic
76 public:
77 explicit CGUIViewStateWindowMusicPlaylist(const CFileItemList& items);
79 protected:
80 void SaveViewState() override;
81 PLAYLIST::Id GetPlaylist() const override;
82 bool AutoPlayNextItem() override;
83 bool HideParentDirItems() override;
84 VECSOURCES& GetSources() override;