mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-10 11:59:58 -05:00
Initial community commit
This commit is contained in:
33
Src/Plugins/Library/ml_wire/OPMLParse.cpp
Normal file
33
Src/Plugins/Library/ml_wire/OPMLParse.cpp
Normal file
@@ -0,0 +1,33 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user