#ifndef _CCB_CCLAYERLOADER_H_ #define _CCB_CCLAYERLOADER_H_ #include "CCNodeLoader.h" NS_CC_EXT_BEGIN /* Forward declaration. */ class CCBReader; /** * @js NA * @lua NA */ class CCLayerLoader : public CCNodeLoader { public: virtual ~CCLayerLoader() {}; CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(CCLayerLoader, loader); protected: CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(CCLayer); virtual void onHandlePropTypeCheck(CCNode * pNode, CCNode * pParent, const char * pPropertyName, bool pCheck, CCBReader * pCCBReader); }; NS_CC_EXT_END #endif