axmol/tests/cpp-tests/Classes/ExtensionsTest/CocoStudioGUITest/CustomWidget/CustomReader.h

28 lines
587 B
C
Raw Normal View History

2014-03-04 16:51:35 +08:00
#ifndef __TestCpp__CustomReader__
#define __TestCpp__CustomReader__
2014-03-05 21:18:51 +08:00
#include "extensions/cocos-ext.h"
2014-03-04 16:51:35 +08:00
#include "cocostudio/DictionaryHelper.h"
2014-03-11 17:13:54 +08:00
#include "ui/CocosGUI.h"
2014-03-04 16:51:35 +08:00
USING_NS_CC;
USING_NS_CC_EXT;
using namespace cocos2d::ui;
using namespace cocostudio;
class CustomReader : public Ref
{
public:
CustomReader();
~CustomReader();
static CustomReader* getInstance();
static void purge();
virtual void setProperties(const std::string& classType, Widget* widget, const rapidjson::Value& customOptions);
};
#endif /* defined(__TestCpp__CustomReader__) */