mirror of https://github.com/axmolengine/axmol.git
26 lines
603 B
C++
26 lines
603 B
C++
#ifndef _CCB_CCBFILELOADER_H_
|
|
#define _CCB_CCBFILELOADER_H_
|
|
|
|
#include "CCNodeLoader.h"
|
|
#include "CCBReader.h"
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
/* Forward declaration. */
|
|
class CCBReader;
|
|
|
|
class CCBFileLoader : public CCNodeLoader {
|
|
public:
|
|
virtual ~CCBFileLoader() {};
|
|
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(CCBFileLoader, loader);
|
|
|
|
protected:
|
|
CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(CCBFile);
|
|
|
|
virtual void onHandlePropTypeCCBFile(CCNode * pNode, CCNode * pParent, const char * pPropertyName, CCNode * pCCBFileNode, CCBReader * pCCBReader);
|
|
};
|
|
|
|
NS_CC_EXT_END
|
|
|
|
#endif
|