axmol/tools/tolua++/CCFileUtils.pkg

25 lines
745 B
Plaintext
Raw Normal View History

2012-02-02 14:26:38 +08:00
class CCFileUtils
{
/** @deprecated Use getInstance() instead */
static CCFileUtils* sharedFileUtils();
/** @deprecated Use destroyInstance() instead */
2013-02-04 12:41:24 +08:00
static void purgeFileUtils();
static CCFileUtils* getInstance();
static void destroyInstance();
2013-02-04 12:41:24 +08:00
void purgeCachedEntries();
std::string fullPathForFilename(const char *pszFileName);
2013-02-04 12:41:24 +08:00
void loadFilenameLookupDictionaryFromFile(const char* filename);
const char* fullPathFromRelativeFile(const char *pszFilename, const char *pszRelativeFile);
void addSearchResolutionsOrder(const char* order);
void addSearchPath(const char* path);
2013-02-06 18:04:40 +08:00
std::string getWritablePath();
2013-02-04 12:41:24 +08:00
void setPopupNotify(bool bNotify);
bool isPopupNotify();
2012-02-02 14:26:38 +08:00
};