2012-06-01 05:57:13 +08:00
|
|
|
#ifndef _CCBFILE_LOADER_H_
|
|
|
|
#define _CCBFILE_LOADER_H_
|
|
|
|
|
|
|
|
#include "CCNodeLoader.h"
|
|
|
|
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
|
|
|
|
/* Forward declaration. */
|
|
|
|
class CCBReader;
|
|
|
|
|
|
|
|
class CCBFileLoader : public CCNodeLoader {
|
2012-06-06 08:15:28 +08:00
|
|
|
public:
|
|
|
|
STATIC_NEW_AUTORELEASE_OBJECT_METHOD(CCBFileLoader, loader);
|
|
|
|
|
2012-06-01 05:57:13 +08:00
|
|
|
protected:
|
|
|
|
virtual CCNode * createCCNode(CCNode *, CCBReader *);
|
|
|
|
|
2012-06-05 08:45:25 +08:00
|
|
|
virtual void onHandlePropTypeCCBFile(CCNode * pNode, CCNode * pParent, const char * pPropertyName, CCNode *, CCBReader *);
|
2012-06-01 05:57:13 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
#endif
|