mirror of
https://github.com/WinampDesktop/winamp.git
synced 2024-09-24 15:54:12 +00:00
33 lines
679 B
C++
33 lines
679 B
C++
|
#if 0
|
||
|
#include "main.h"
|
||
|
#include "OPMLParse.h"
|
||
|
|
||
|
#ifdef DEBUG
|
||
|
#include <iostream>
|
||
|
static void DisplayNodes(XMLNode &node)
|
||
|
{
|
||
|
XMLNode::NodeMap::iterator nodeItr;
|
||
|
for (nodeItr = node.nodes.begin();nodeItr != node.nodes.end(); nodeItr++)
|
||
|
{
|
||
|
|
||
|
for (XMLNode::NodeList::iterator itr = nodeItr->second.begin(); itr != nodeItr->second.end(); itr++)
|
||
|
{
|
||
|
std::wcerr << L"<" << nodeItr->first << L">" << std::endl;
|
||
|
DisplayNodes(**itr);
|
||
|
std::wcerr << L"</" << nodeItr->first << L">" << std::endl;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
void OPMLParse::ReadNodes(const wchar_t *url)
|
||
|
{
|
||
|
// DisplayNodes(xmlNode);
|
||
|
Alias<XMLNode> curNode;
|
||
|
curNode = xmlNode.Get(L"opml");
|
||
|
if (!curNode)
|
||
|
return;
|
||
|
|
||
|
}
|
||
|
#endif
|