mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
19 lines
313 B
C++
19 lines
313 B
C++
#include <Core/Core.h>
|
|
#include <winnetwk.h>
|
|
|
|
using namespace Upp;
|
|
|
|
void EnumNetwork(const Array<NetNode>& nn)
|
|
{
|
|
LOGBEGIN();
|
|
for(int i = 0; i < nn.GetCount(); i++) {
|
|
const NetNode& m = nn[i];
|
|
EnumNetwork(m.Enum());
|
|
}
|
|
LOGEND();
|
|
}
|
|
|
|
CONSOLE_APP_MAIN
|
|
{
|
|
EnumNetwork(NetNode::EnumRoot());
|
|
}
|