Merge pull request #25808 from CastagnaIT/fix_url_parse
[xbmc.git] / xbmc / playlists / PlayListASX.h
blobe282091f86db1a4bdc13c80f9e3bda650491842b
1 /*
2 * Copyright (C) 2024 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 "PlayList.h"
13 #include <iostream>
15 namespace tinyxml2
17 class XMLDocument;
18 class XMLNode;
19 } // namespace tinyxml2
21 namespace KODI::PLAYLIST
23 class CPlayListASX : public CPlayList
25 public:
26 bool LoadData(std::istream& stream) override;
28 private:
29 bool LoadAsxIniInfo(std::istream& stream);
31 /* recurseLowercaseNames
32 * Function allows recursive iteration of a source element to lowercase all
33 * element and attrib Names, and save to a targetNode.
34 * targetNode must be a separate XMLDocument to sourceNode XMLDocument
36 void recurseLowercaseNames(tinyxml2::XMLNode& targetNode, tinyxml2::XMLNode* sourceNode);
38 } // namespace KODI::PLAYLIST