axmol/cocos2dx/extensions/CCBReader/CCMenuItemLoader.h

24 lines
628 B
C
Raw Normal View History

#ifndef _CCB_CCMENUITEMLOADER_H_
#define _CCB_CCMENUITEMLOADER_H_
#include "CCLayerLoader.h"
NS_CC_EXT_BEGIN
/* Forward declaration. */
class CCBReader;
class CC_DLL CCMenuItemLoader : public CCNodeLoader {
public:
virtual ~CCMenuItemLoader() {};
protected:
virtual CCMenuItem * createCCNode(CCNode *, CCBReader *) = 0;
virtual void onHandlePropTypeBlock(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, BlockData *, CCBReader *);
virtual void onHandlePropTypeCheck(CCNode * pNode, CCNode * pParent, CCString * pPropertyName, bool, CCBReader *);
};
NS_CC_EXT_END
#endif