[videodb] remove unused seasons table from episode_view
[xbmc.git] / xbmc / programs / GUIWindowPrograms.h
blob21156de7144c721b44cb4c0ad58e9204ecb9da8a
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 "ThumbLoader.h"
12 #include "dialogs/GUIDialogProgress.h"
13 #include "windows/GUIMediaWindow.h"
15 class CGUIWindowPrograms :
16 public CGUIMediaWindow, public IBackgroundLoaderObserver
18 public:
19 CGUIWindowPrograms(void);
20 ~CGUIWindowPrograms(void) override;
21 bool OnMessage(CGUIMessage& message) override;
22 virtual void OnItemInfo(int iItem);
23 protected:
24 void OnItemLoaded(CFileItem* pItem) override {};
25 bool Update(const std::string& strDirectory, bool updateFilterPath = true) override;
26 bool OnPlayMedia(int iItem, const std::string& = "") override;
27 void GetContextButtons(int itemNumber, CContextButtons &buttons) override;
28 bool OnContextButton(int itemNumber, CONTEXT_BUTTON button) override;
29 bool OnAddMediaSource() override;
30 std::string GetStartFolder(const std::string &dir) override;
32 CGUIDialogProgress* m_dlgProgress;
34 CProgramThumbLoader m_thumbLoader;