1234567891011121314151617181920212223242526272829303132 |
- #ifndef _RED_REDFILELOADER_H_
- #define _RED_REDFILELOADER_H_
- #include "CCNodeLoader.h"
- namespace redream {
- /* Forward declaration. */
- class REDReader;
- class CC_DLL REDFileLoader : public NodeLoader {
- public:
- /**
- * @js NA
- * @lua NA
- */
- virtual ~REDFileLoader() {};
- /**
- * @js NA
- * @lua NA
- */
- RED_STATIC_NEW_AUTORELEASE_OBJECT_METHOD(REDFileLoader, loader);
- protected:
- RED_VIRTUAL_NEW_AUTORELEASE_CREATECCNODE_METHOD(REDFile);
- virtual void onHandlePropTypeREDFile(cocos2d::Node * pNode, cocos2d::Node * pParent, const char * pPropertyName, cocos2d::Node * pREDFileNode, REDReader * ccbReader);
- };
- }
- #endif
|