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-2013 Team XBMC
10 * This Program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2, or (at your option)
15 * This Program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
20 * You should have received a copy of the GNU General Public License
21 * along with XBMC; see the file COPYING. If not, see
22 * <http://www.gnu.org/licenses/>.
27 #include "IDirectory.h"
34 class CUPnPDirectory : public IDirectory
37 CUPnPDirectory(void) {}
38 virtual ~CUPnPDirectory(void) {}
41 virtual bool GetDirectory(const CStdString& strPath, CFileItemList &items);
42 virtual bool IsAllowed(const CStdString& strFile) const { return true; };
45 static const char* GetFriendlyName(const char* url);
46 static bool GetResource(const CURL &path, CFileItem& item);