summaryrefslogtreecommitdiffstats
path: root/xbmc/filesystem/FavouritesDirectory.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/filesystem/FavouritesDirectory.h')
-rw-r--r--xbmc/filesystem/FavouritesDirectory.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/xbmc/filesystem/FavouritesDirectory.h b/xbmc/filesystem/FavouritesDirectory.h
new file mode 100644
index 0000000..fe7d5b6
--- /dev/null
+++ b/xbmc/filesystem/FavouritesDirectory.h
@@ -0,0 +1,28 @@
+/*
+ * 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"
+
+class CFileItemList;
+class CFileItem;
+
+namespace XFILE
+{
+
+ class CFavouritesDirectory : public IDirectory
+ {
+ public:
+ CFavouritesDirectory() = default;
+
+ bool GetDirectory(const CURL& url, CFileItemList &items) override;
+ bool Exists(const CURL& url) override;
+ };
+
+}