#ifndef _CCB_CCLAYERLOADER_H_ #define _CCB_CCLAYERLOADER_H_ #include "CCNodeLoader.h" NS_CC_EXT_BEGIN /* Forward declaration. */ class CCBReader; class CC_DLL CCLayerLoader : public CCNodeLoader { public: CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(CCLayerLoader, loader); protected: virtual CCLayer * createCCNode(CCNode *, CCBReader *); virtual void onHandlePropTypeCheck(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, bool pCheck, CCBReader * pCCBReader); }; NS_CC_EXT_END #endif