mirror of https://github.com/axmolengine/axmol.git
34 lines
716 B
C++
34 lines
716 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 NodeLoader {
|
|
public:
|
|
/**
|
|
* @js NA
|
|
* @lua NA
|
|
*/
|
|
virtual ~CCBFileLoader() {};
|
|
/**
|
|
* @js NA
|
|
* @lua NA
|
|
*/
|
|
CCB_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(CCBFileLoader, loader);
|
|
|
|
protected:
|
|
CCB_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(CCBFile);
|
|
|
|
virtual void onHandlePropTypeCCBFile(Node * pNode, Node * pParent, const char * pPropertyName, Node * pCCBFileNode, CCBReader * ccbReader);
|
|
};
|
|
|
|
NS_CC_EXT_END
|
|
|
|
#endif
|