2013-12-09 21:16:00 +00:00
|
|
|
#ifndef CACHEFILE_H
|
|
|
|
#define CACHEFILE_H
|
|
|
|
|
|
|
|
#include "system_global.h"
|
|
|
|
|
|
|
|
namespace paysages {
|
|
|
|
namespace system {
|
|
|
|
|
2015-11-09 21:30:46 +00:00
|
|
|
class SYSTEMSHARED_EXPORT CacheFile {
|
|
|
|
public:
|
2015-12-10 23:36:50 +00:00
|
|
|
CacheFile(const string &module, const string &ext, const string &tag1, int tag2, int tag3, int tag4, int tag5,
|
|
|
|
int tag6);
|
2013-12-09 21:16:00 +00:00
|
|
|
|
|
|
|
bool isReadable();
|
|
|
|
bool isWritable();
|
2015-12-10 23:36:50 +00:00
|
|
|
string getPath();
|
2013-12-09 21:16:00 +00:00
|
|
|
|
2015-11-09 21:30:46 +00:00
|
|
|
private:
|
2015-12-10 23:36:50 +00:00
|
|
|
string filepath;
|
2013-12-09 21:16:00 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // CACHEFILE_H
|