summaryrefslogtreecommitdiffhomepage
path: root/Private/FSKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-06 22:28:21 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-06 22:28:59 +0200
commit256e54f04323215a6b4e964e3955c606563c2dae (patch)
tree7720038b93b7a6e99cb750249a2667b857209d51 /Private/FSKit
parente2fd9a88d6b9def2fdebbc974001ae0778c26622 (diff)
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 <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/FSKit')
-rw-r--r--Private/FSKit/NewFS.hxx8
1 files changed, 6 insertions, 2 deletions
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 };