2012-02-02 14:26:38 +08:00
|
|
|
|
|
|
|
class CCFileUtils
|
|
|
|
{
|
2013-07-12 23:58:31 +08:00
|
|
|
static CCFileUtils* getInstance();
|
|
|
|
static void destroyInstance();
|
2013-02-04 12:41:24 +08:00
|
|
|
|
|
|
|
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
|
|
|
};
|