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

34 lines
747 B
C
Raw Normal View History

#ifndef _CCB_CCBFILELOADER_H_
#define _CCB_CCBFILELOADER_H_
#include "CCNodeLoader.h"
#include "CCBReader.h"
namespace cocosbuilder {
/* Forward declaration. */
class CCBReader;
class CC_DLL 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(cocos2d::Node * pNode, cocos2d::Node * pParent, const char * pPropertyName, cocos2d::Node * pCCBFileNode, CCBReader * ccbReader);
};
}
#endif