From 256e54f04323215a6b4e964e3955c606563c2dae Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 6 Apr 2024 22:28:21 +0200 Subject: NewOS: Pre-release R1, see below. NewFS: Add FindFork, improve CreateFork, still working on NewFS support. DriveManager: Fix ke_drv_input and ke_drv_output, drv_std_ calls, throws an error when no specifying any drive backends. Signed-off-by: Amlal El Mahrouss --- Private/FSKit/NewFS.hxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Private/FSKit') diff --git a/Private/FSKit/NewFS.hxx b/Private/FSKit/NewFS.hxx index 04e68cc6..3d5071c5 100644 --- a/Private/FSKit/NewFS.hxx +++ b/Private/FSKit/NewFS.hxx @@ -188,7 +188,11 @@ class NewFSParser final { /// @return the fork _Output NewFork* CreateFork(_Input NewCatalog* catalog, _Input NewFork& theFork); - virtual _Output NewFork* FindFork(_Input NewCatalog* catalog, _Input const Char* name) = 0; + /// @brief Find fork inside New filesystem. + /// @param catalog the catalog. + /// @param name the fork name. + /// @return the fork. + _Output NewFork* FindFork(_Input NewCatalog* catalog, _Input const Char* name); virtual _Output Void RemoveFork(_Input NewFork* fork) = 0; @@ -228,7 +232,7 @@ class NewFSParser final { /// @brief Make a EPM+NewFS drive out of the disk. /// @param drive The drive to write on. /// @return If it was sucessful, see DbgLastError(). - virtual bool Format(_Input _Output DriveTrait* drive) = 0; + bool Format(_Input _Output DriveTrait* drive); public: Int32 fDriveIndex{ kNewFSSubDriveA }; -- cgit v1.2.3