mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-06 06:10:45 +00:00
ttvfs update
This commit is contained in:
parent
87bc46abf6
commit
3cf3ac7659
13 changed files with 220 additions and 120 deletions
|
@ -7,7 +7,7 @@
|
|||
#include <vector>
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
#include "VFSRefcounted.h"
|
||||
|
||||
|
@ -43,7 +43,7 @@ public:
|
|||
Be careful not to create circles! */
|
||||
void Mount(const char *src, const char *dest);
|
||||
|
||||
/** Drops a directory from the tree. Internally, this calls Reload(false),
|
||||
/** Drops a directory from the tree. Internally, this calls Reload(false),
|
||||
which is a heavy operation compared to Mount(). Be warned. */
|
||||
bool Unmount(const char *src, const char *dest);
|
||||
|
||||
|
@ -72,7 +72,7 @@ public:
|
|||
it is sent through each registered loader until one of them can recognize
|
||||
the format and open it. */
|
||||
void AddArchiveLoader(VFSArchiveLoader *ldr);
|
||||
|
||||
|
||||
/** Get a file from the merged tree. Asks loaders if the file is not in the tree.
|
||||
If found by a loader, the file will be added to the tree. */
|
||||
File *GetFile(const char *fn);
|
||||
|
@ -103,7 +103,7 @@ public:
|
|||
DirBase *GetDir(const char* dn, bool create = false);
|
||||
|
||||
// DEBUG STUFF
|
||||
void debugDumpTree(std::ostream& os, Dir *start = NULL);
|
||||
void debugDumpTree(std::ostream& os, const char *path, int level);
|
||||
|
||||
protected:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue