Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Plugins/Library/ml_devices/gen_deviceprovider/deviceConnectionNodeParser.h
2024-09-24 14:54:57 +02:00

39 lines
1.0 KiB
C++

#ifndef _NULLSOFT_WINAMP_GEN_DEVICE_PROVIDER_DEVICE_CONNECTION_NODE_PARSER_HEADER
#define _NULLSOFT_WINAMP_GEN_DEVICE_PROVIDER_DEVICE_CONNECTION_NODE_PARSER_HEADER
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
#include <wtypes.h>
#include "../../xml/ifc_xmlreadercallback.h"
#include "./deviceConnectionParser.h"
class obj_xml;
class DeviceConnectionNodeParser : public ifc_xmlreadercallback
{
public:
DeviceConnectionNodeParser();
~DeviceConnectionNodeParser();
public:
BOOL Begin(obj_xml *xmlReader, TestSuite *testSuite);
void End();
protected:
void Event_XmlStartElement(const wchar_t *xmlpath, const wchar_t *xmltag, ifc_xmlreaderparams *params);
void Event_XmlEndElement(const wchar_t *xmlpath, const wchar_t *xmltag);
void Event_XmlError(int linenum, int errcode, const wchar_t *errstr);
protected:
obj_xml *reader;
DeviceConnectionParser elementParser;
TestSuite *test;
protected:
RECVS_DISPATCH;
};
#endif //_NULLSOFT_WINAMP_GEN_DEVICE_PROVIDER_DEVICE_CONNECTION_NODE_PARSER_HEADER