Debian Codegraph @

xbmc/playlists/PlayListFactory.h

raw
1 /*
2 * Copyright (C) 2005-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
4 *
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
7 */
8
9 #pragma once
10
11 #include <string>
12
13 class CFileItem;
14 class CURL;
15
16 namespace PLAYLIST
17 {
18 class CPlayList;
19
20 class CPlayListFactory
21 {
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);
29 };
30 }