Add relative filesystem

This commit is contained in:
2026-05-01 09:58:10 -05:00
parent 86b062771a
commit 266ef5f830
8 changed files with 322 additions and 1 deletions

View File

@@ -35,5 +35,19 @@ namespace Tesses::Framework::Filesystem
FIFOCreationResult CreateFIFO(VFSPath path, uint32_t mode);
void Lock(VFSPath path);
void Unlock(VFSPath path);
protected:
std::shared_ptr<FSWatcher> CreateWatcher(std::shared_ptr<VFS> vfs, VFSPath path);
class Watcher : public FSWatcher {
std::shared_ptr<FSWatcher> watcher;
protected:
void SetEnabledImpl(bool enabled);
public:
Watcher(std::shared_ptr<SubdirFilesystem> vfs, VFSPath path);
~Watcher();
};
};
}