kodi
PlayListPLS.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 "PlayList.h"
12 
13 #include <string>
14 #include <vector>
15 
16 namespace PLAYLIST
17 {
18 class CPlayListPLS :
19  public CPlayList
20 {
21 public:
22  CPlayListPLS(void);
23  ~CPlayListPLS(void) override;
24  bool Load(const std::string& strFileName) override;
25  void Save(const std::string& strFileName) const override;
26  virtual bool Resize(std::vector<int>::size_type newSize);
27 };
28 
29 class CPlayListASX : public CPlayList
30 {
31 public:
32  bool LoadData(std::istream &stream) override;
33 protected:
34  bool LoadAsxIniInfo(std::istream &stream);
35 };
36 
37 class CPlayListRAM : public CPlayList
38 {
39 public:
40  bool LoadData(std::istream &stream) override;
41 };
42 
43 
44 }
Definition: Application.h:62
Definition: PlayListPLS.h:29
Definition: PlayList.h:23
Definition: PlayListPLS.h:18
Definition: PlayListPLS.h:37