winamp/Src/Plugins/Library/ml_downloads/ParseUtil.h

8 lines
454 B
C
Raw Normal View History

2024-09-24 14:54:57 +02:00
#pragma once
#include "../xml/XMLNode.h"
#include <bfc/platform/types.h>
bool PropertyIsTrue(const XMLNode *item, const wchar_t *property);
// not necessarily the opposite of PropertyIsTrue (returns false when field is empty
bool PropertyIsFalse(const XMLNode *item, const wchar_t *property);
const wchar_t *GetContent(const XMLNode *item, const wchar_t *tag);
const wchar_t *GetProperty(const XMLNode *item, const wchar_t *tag, const wchar_t *property);