[Windows] Remove redundant DirectSound error codes
[xbmc.git] / xbmc / playlists / PlayListFactory.h
blob410c1e392dff9dfc526c363e4bd0ce41cbee2900
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
9 #pragma once
11 #include <string>
13 class CFileItem;
14 class CURL;
16 namespace KODI::PLAYLIST
18 class CPlayList;
20 class CPlayListFactory
22 public:
23 static CPlayList* Create(const CURL& url);
24 static CPlayList* Create(const std::string& filename);
25 static CPlayList* Create(const CFileItem& item);
26 static bool IsPlaylist(const CURL& url);
27 static bool IsPlaylist(const std::string& filename);
28 static bool IsPlaylist(const CFileItem& item);