kodi
PlayListFactory.h
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 
21  {
22  public:
23  static CPlayList* Create(const std::string& filename);
24  static CPlayList* Create(const CFileItem& item);
25  static bool IsPlaylist(const CURL& url);
26  static bool IsPlaylist(const std::string& filename);
27  static bool IsPlaylist(const CFileItem& item);
28  };
29 }
Definition: Application.h:62
Definition: URL.h:21
Definition: PlayListFactory.h:20
Definition: PlayList.h:23
Represents a file on a share.
Definition: FileItem.h:102