axmol/tests/cpp-tests/Classes/UITest/CocoStudioGUITest/CustomTest/CustomWidgetCallbackBindTest/CustomRootNodeReader.h

21 lines
595 B
C
Raw Normal View History

2014-12-01 21:50:05 +08:00
#ifndef __cocos2d_libs__CustomRootNodeReader__
#define __cocos2d_libs__CustomRootNodeReader__
#include "cocos2d.h"
#include "cocostudio/CocosStudioExport.h"
#include "cocostudio/WidgetReader/NodeReader/NodeReader.h"
class CustomRootNodeReader : public cocostudio::NodeReader
{
public:
CustomRootNodeReader() {};
~CustomRootNodeReader() {};
static CustomRootNodeReader* getInstance();
static void purge();
cocos2d::Node* createNodeWithFlatBuffers(const flatbuffers::Table* nodeOptions);
};
#endif /* defined(__cocos2d_libs__CustomRootNodeReader__) */