#ifndef _CCB_CCCONTROLLOADER_H_ #define _CCB_CCCONTROLLOADER_H_ #include "CCNodeLoader.h" #include "../GUI/CCControlExtension/CCControl.h" NS_CC_EXT_BEGIN /* Forward declaration. */ class CCBReader; /** * @js NA * @lua NA */ class CCControlLoader : public CCNodeLoader { public: virtual ~CCControlLoader() {}; protected: CCB_PURE_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(CCControl); virtual void onHandlePropTypeBlockCCControl(CCNode * pNode, CCNode * pParent, const char * pPropertyName, BlockCCControlData * pBlockCCControlData, CCBReader * pCCBReader); virtual void onHandlePropTypeCheck(CCNode * pNode, CCNode * pParent, const char * pPropertyName, bool pCheck, CCBReader * pCCBReader); }; NS_CC_EXT_END #endif