axmol/cocos/editor-support/cocosbuilder/CCMenuItemLoader.h

43 lines
908 B
C++

#ifndef _CCB_CCMENUITEMLOADER_H_
#define _CCB_CCMENUITEMLOADER_H_
#include "base/CCRef.h"
#include "2d/CCMenuItem.h"
#include "CCLayerLoader.h"
namespace cocosbuilder {
/* Forward declaration. */
class CCBReader;
class CC_DLL MenuItemLoader : public NodeLoader {
public:
/**
* @js NA
* @lua NA
*/
virtual ~MenuItemLoader() {};
protected:
/**
* @js NA
* @lua NA
*/
CCB_PURE_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(cocos2d::MenuItem);
/**
* @js NA
* @lua NA
*/
virtual void onHandlePropTypeBlock(cocos2d::Node * pNode, cocos2d::Node * pParent, const char * pPropertyName, BlockData * pBlockData, CCBReader * ccbReader);
/**
* @js NA
* @lua NA
*/
virtual void onHandlePropTypeCheck(cocos2d::Node * pNode,cocos2d:: Node * pParent, const char * pPropertyName, bool pCheck, CCBReader * ccbReader);
};
}
#endif