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:
|
|
|
|
CacheFile(const std::string &module, const std::string &ext, const std::string &tag1, int tag2, int tag3, int tag4,
|
|
|
|
int tag5, int tag6);
|
2013-12-09 21:16:00 +00:00
|
|
|
|
|
|
|
bool isReadable();
|
|
|
|
bool isWritable();
|
2014-09-18 09:39:36 +00:00
|
|
|
std::string getPath();
|
2013-12-09 21:16:00 +00:00
|
|
|
|
2015-11-09 21:30:46 +00:00
|
|
|
private:
|
2014-09-18 09:39:36 +00:00
|
|
|
std::string filepath;
|
2013-12-09 21:16:00 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // CACHEFILE_H
|