Moved .h files to include/

This commit is contained in:
Benoit Blanchon
2014-10-16 00:11:23 +02:00
parent 241ca79114
commit 58f155e135
46 changed files with 885 additions and 880 deletions

View File

@@ -0,0 +1,37 @@
#pragma once
#include "JsonNode.h"
class JsonValue;
class JsonNodeWrapper
{
friend JsonValue;
public:
JsonNodeWrapper()
: _node(0)
{
}
explicit JsonNodeWrapper(JsonNode* node)
: _node(node)
{
}
protected:
void duplicate(const JsonNodeWrapper& other)
{
if (!_node)
{
_node = other._node;
}
else
{
_node->duplicate(other._node);
}
}
JsonNode* _node;
};