winamp/Src/Plugins/Library/ml_wire/OPMLParse.cpp

33 lines
679 B
C++
Raw Normal View History

2024-09-24 12:54:57 +00:00
#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