[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / filesystem / SourcesDirectory.h
blob84df8f0c1a4c65923f87d66fd6704cf7ced84617
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 "IDirectory.h"
13 #include <vector>
15 class CMediaSource;
16 typedef std::vector<CMediaSource> VECSOURCES;
18 namespace XFILE
20 class CSourcesDirectory : public IDirectory
22 public:
23 CSourcesDirectory(void);
24 ~CSourcesDirectory(void) override;
25 bool GetDirectory(const CURL& url, CFileItemList &items) override;
26 bool GetDirectory(const VECSOURCES &sources, CFileItemList &items);
27 bool Exists(const CURL& url) override;
28 bool AllowAll() const override { return true; }