2012-06-02 06:14:18 +08:00
|
|
|
#ifndef _CCCONTROL_LOADER_H_
|
|
|
|
#define _CCCONTROL_LOADER_H_
|
|
|
|
|
|
|
|
#include "CCNodeLoader.h"
|
|
|
|
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
|
|
|
|
/* Forward declaration. */
|
|
|
|
class CCBReader;
|
|
|
|
|
|
|
|
class CCControlLoader : public CCNodeLoader {
|
|
|
|
protected:
|
|
|
|
virtual CCControl * createCCNode(CCNode *, CCBReader *) = 0;
|
|
|
|
|
2012-06-05 08:45:25 +08:00
|
|
|
virtual void onHandlePropTypeBlockCCControl(CCNode * pNode, CCNode * pParent, const char * pPropertyName, BlockCCControlData *, CCBReader *);
|
|
|
|
virtual void onHandlePropTypeCheck(CCNode * pNode, CCNode * pParent, const char * pPropertyName, bool, CCBReader *);
|
2012-06-02 06:14:18 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
#endif
|