summaryrefslogtreecommitdiffstats
path: root/xbmc/filesystem/MusicSearchDirectory.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/filesystem/MusicSearchDirectory.h')
-rw-r--r--xbmc/filesystem/MusicSearchDirectory.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/xbmc/filesystem/MusicSearchDirectory.h b/xbmc/filesystem/MusicSearchDirectory.h
new file mode 100644
index 0000000..67e51f3
--- /dev/null
+++ b/xbmc/filesystem/MusicSearchDirectory.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2005-2018 Team Kodi
+ * This file is part of Kodi - https://kodi.tv
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ * See LICENSES/README.md for more information.
+ */
+
+#pragma once
+
+#include "IDirectory.h"
+
+namespace XFILE
+{
+ class CMusicSearchDirectory : public IDirectory
+ {
+ public:
+ CMusicSearchDirectory(void);
+ ~CMusicSearchDirectory(void) override;
+ bool GetDirectory(const CURL& url, CFileItemList &items) override;
+ bool Exists(const CURL& url) override;
+ bool AllowAll() const override { return true; }
+ };
+}