axmol/extensions/CCBReader/CCControlLoader.h

26 lines
735 B
C++

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