tibia-client/src/framework/otml/otmlemitter.h

25 lines
403 B
C
Raw Normal View History

2011-07-13 23:12:36 +02:00
#ifndef OTMLEMITTER_H
#define OTMLEMITTER_H
#include <string>
class OTMLNode;
class OTMLEmitter
{
public:
OTMLEmitter();
~OTMLEmitter();
OTMLNode* createDocument();
std::string emitDocument();
static std::string emitNodeValue(OTMLNode* node);
static std::string emitNode(OTMLNode* node, int currentDepth = 0);
private:
OTMLNode* m_rootNode;
};
#endif // OTMLEMITTER_H