[PVR][Estuary] Timer settings dialog: Show client name in timer type selection dialog...
[xbmc.git] / xbmc / filesystem / UPnPDirectory.h
blob801dff2287712c7c9ff46042f0450100503ce6eb
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; }
33 // class methods
34 static const char* GetFriendlyName(const CURL& url);
35 static bool GetResource(const CURL &path, CFileItem& item);