summaryrefslogtreecommitdiffstats
path: root/xbmc/filesystem/ResourceDirectory.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--xbmc/filesystem/ResourceDirectory.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/xbmc/filesystem/ResourceDirectory.h b/xbmc/filesystem/ResourceDirectory.h
new file mode 100644
index 0000000..f487852
--- /dev/null
+++ b/xbmc/filesystem/ResourceDirectory.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2014-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 "filesystem/OverrideDirectory.h"
+
+namespace XFILE
+{
+ class CResourceDirectory : public COverrideDirectory
+ {
+ public:
+ CResourceDirectory();
+ ~CResourceDirectory() override;
+
+ bool GetDirectory(const CURL& url, CFileItemList &items) override;
+
+ protected:
+ std::string TranslatePath(const CURL &url) override;
+ };
+}