2022-07-30 12:24:03 -04:00
|
|
|
#ifndef __CCCONTENT_MANAGER_H__
|
|
|
|
#define __CCCONTENT_MANAGER_H__
|
|
|
|
|
2022-10-17 08:46:36 -04:00
|
|
|
#include "../../include/ccMacros.h"
|
|
|
|
#include "../../cocoa/CCObject.h"
|
|
|
|
#include "../../cocoa/CCDictionary.h"
|
2022-07-30 12:24:03 -04:00
|
|
|
|
|
|
|
RT_ADD(
|
|
|
|
// not in cocos2d namespace
|
|
|
|
class CC_DLL CCContentManager : public cocos2d::CCObject
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static CCContentManager* sharedManager();
|
|
|
|
CCContentManager();
|
|
|
|
bool init();
|
|
|
|
|
|
|
|
cocos2d::CCDictionary* addDict(const char* dict, bool unk);
|
|
|
|
cocos2d::CCDictionary* addDictDS(const char* dict);
|
|
|
|
|
|
|
|
void clearCache();
|
|
|
|
};
|
|
|
|
);
|
|
|
|
|
|
|
|
#endif
|