diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-27 22:10:15 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-04-27 22:10:15 +0200 |
| commit | dd6568c64e440fe9d8c75539165377ddbbca3e2c (patch) | |
| tree | a37e126238a4908100b3aaf701c27d183fe68a63 /Private/FSKit | |
| parent | 86a2d7327f84519f525d66a7745554b41dddeb93 (diff) | |
MHR-18: A lot of patches and fixes, big improvements as well.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/FSKit')
| -rw-r--r-- | Private/FSKit/NewFS.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Private/FSKit/NewFS.hxx b/Private/FSKit/NewFS.hxx index f66d7afb..1f27089d 100644 --- a/Private/FSKit/NewFS.hxx +++ b/Private/FSKit/NewFS.hxx @@ -187,7 +187,7 @@ enum { kNewFSRsrcForkKind = 0, kNewFSDataForkKind = 1 }; /// forks...) Designed like the DOM, detects the filesystem automatically. /// -class NewFSParser { +class NewFSParser final { public: explicit NewFSParser() = default; ~NewFSParser() = default; @@ -210,32 +210,32 @@ class NewFSParser { _Output NewFork* FindFork(_Input NewCatalog* catalog, _Input const Char* name, Boolean dataOrRsrc); - virtual _Output Void RemoveFork(_Input NewFork* fork) = 0; + _Output Void RemoveFork(_Input NewFork* fork); - virtual _Output Void CloseFork(_Input NewFork* fork) = 0; + _Output Void CloseFork(_Input NewFork* fork); - virtual _Output NewCatalog* FindCatalog(_Input const char* catalogName) = 0; + _Output NewCatalog* FindCatalog(_Input const char* catalogName); - virtual _Output NewCatalog* GetCatalog(_Input const char* name) = 0; + _Output NewCatalog* GetCatalog(_Input const char* name); - virtual _Output NewCatalog* CreateCatalog(_Input const char* name, + _Output NewCatalog* CreateCatalog(_Input const char* name, _Input const Int32& flags, _Input const Int32& kind); - virtual _Output NewCatalog* CreateCatalog(_Input const char* name); + _Output NewCatalog* CreateCatalog(_Input const char* name); - virtual bool WriteCatalog(_Input _Output NewCatalog* catalog, voidPtr data); + bool WriteCatalog(_Input _Output NewCatalog* catalog, voidPtr data); - virtual VoidPtr ReadCatalog(_Input _Output NewCatalog* catalog, - SizeT dataSz) = 0; + VoidPtr ReadCatalog(_Input _Output NewCatalog* catalog, + SizeT dataSz); - virtual bool Seek(_Input _Output NewCatalog* catalog, SizeT off) = 0; + bool Seek(_Input _Output NewCatalog* catalog, SizeT off); - virtual SizeT Tell(_Input _Output NewCatalog* catalog) = 0; + SizeT Tell(_Input _Output NewCatalog* catalog); - virtual bool RemoveCatalog(_Input _Output NewCatalog* catalog) = 0; + bool RemoveCatalog(_Input _Output NewCatalog* catalog); - virtual bool CloseCatalog(_InOut NewCatalog* catalog) = 0; + bool CloseCatalog(_InOut NewCatalog* catalog); /// @brief Make a EPM+NewFS drive out of the disk. /// @param drive The drive to write on. |
