mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-11 00:41:12 +00:00
Fix ttvfs bugs, sync with dev repo
This commit is contained in:
parent
6203bc7ce4
commit
b437a7cb2c
13 changed files with 84 additions and 108 deletions
|
@ -13,16 +13,17 @@ class DirView : public DirBase
|
|||
{
|
||||
public:
|
||||
DirView();
|
||||
~DirView();
|
||||
virtual ~DirView();
|
||||
void init(const char *);
|
||||
void add(DirBase *);
|
||||
|
||||
virtual File *getFileByName(const char *fn, bool lazyLoad = true);
|
||||
virtual void forEachDir(DirEnumCallback f, void *user = NULL, bool safe = false);
|
||||
virtual void forEachFile(FileEnumCallback f, void *user = NULL, bool safe = false);
|
||||
File *getFileByName(const char *fn, bool lazyLoad = true);
|
||||
void forEachDir(DirEnumCallback f, void *user = NULL, bool safe = false);
|
||||
void forEachFile(FileEnumCallback f, void *user = NULL, bool safe = false);
|
||||
File *getFileFromSubdir(const char *subdir, const char *file);
|
||||
|
||||
virtual const char *getType() const { return "DirView"; }
|
||||
virtual DirBase *createNew(const char *dir) const { return NULL; }
|
||||
const char *getType() const { return "DirView"; }
|
||||
DirBase *createNew(const char *dir) const { return NULL; }
|
||||
|
||||
bool _addToView(char *path, DirView& view);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue