[Test] Added tests for CUtil::SplitParams
[xbmc.git] / xbmc / filesystem / UPnPDirectory.h
blob06cce6b66b4ec025f1e8939f31e728991d4943d4
1 /*
2 * UPnP Support for XBMC
3 * Copyright (c) 2006 c0diq (Sylvain Rebaud)
4 * Portions Copyright (c) by the authors of libPlatinum
5 * http://www.plutinosoft.com/blog/category/platinum/
7 * Copyright (C) 2010-2018 Team Kodi
8 * This file is part of Kodi - https://kodi.tv
10 * SPDX-License-Identifier: GPL-2.0-or-later
11 * See LICENSES/README.md for more information.
14 #pragma once
16 #include "IDirectory.h"
18 class CFileItem;
19 class CURL;
21 namespace XFILE
23 class CUPnPDirectory : public IDirectory
25 public:
26 CUPnPDirectory(void) = default;
27 ~CUPnPDirectory(void) override = default;
29 // IDirectory methods
30 bool GetDirectory(const CURL& url, CFileItemList &items) override;
31 bool AllowAll() const override { return true; }
32 bool Resolve(CFileItem& item) const override;
34 // class methods
35 static std::string GetFriendlyName(const CURL& url);
36 static bool GetResource(const CURL &path, CFileItem& item);