2012-02-02 14:26:38 +08:00
|
|
|
|
|
|
|
class CCFileUtils
|
|
|
|
{
|
2012-06-15 10:51:53 +08:00
|
|
|
static CCFileUtils* sharedFileUtils();
|
2013-02-04 12:41:24 +08:00
|
|
|
static void purgeFileUtils();
|
|
|
|
|
|
|
|
void purgeCachedEntries();
|
|
|
|
|
2013-01-27 20:26:04 +08:00
|
|
|
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
|
|
|
};
|