[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / filesystem / MusicFileDirectory.h
blob283e40e3bd3c026df8a924f21892ea3df4f71ba6
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 "IFileDirectory.h"
12 #include "music/tags/MusicInfoTag.h"
14 namespace XFILE
16 class CMusicFileDirectory : public IFileDirectory
18 public:
19 CMusicFileDirectory(void);
20 ~CMusicFileDirectory(void) override;
21 bool GetDirectory(const CURL& url, CFileItemList &items) override;
22 bool Exists(const CURL& url) override;
23 bool ContainsFiles(const CURL& url) override;
24 bool AllowAll() const override { return true; }
25 protected:
26 virtual bool Load(const std::string& strFileName,
27 MUSIC_INFO::CMusicInfoTag& tag,
28 EmbeddedArt* art = nullptr) { return false; }
29 virtual int GetTrackCount(const std::string& strPath) = 0;
30 std::string m_strExt;
31 MUSIC_INFO::CMusicInfoTag m_tag;