summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKA/KernelKit/FileManager.hxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-22 08:48:37 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-08-22 08:48:37 +0200
commit5d38a6302720eb1d2783c2067965ade316cc92de (patch)
tree906b56ec92e9075181494e8a4012ebde72d22175 /dev/ZKA/KernelKit/FileManager.hxx
parentb95b1fc42d371b08aa82fea8e92aa04b2ef5631f (diff)
[REFACTOR] use Char instead of builtin char.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKA/KernelKit/FileManager.hxx')
-rw-r--r--dev/ZKA/KernelKit/FileManager.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/dev/ZKA/KernelKit/FileManager.hxx b/dev/ZKA/KernelKit/FileManager.hxx
index e27bcc35..0efb55a4 100644
--- a/dev/ZKA/KernelKit/FileManager.hxx
+++ b/dev/ZKA/KernelKit/FileManager.hxx
@@ -100,15 +100,15 @@ namespace Kernel
static FilesystemManagerInterface* GetMounted();
public:
- virtual NodePtr Create(_Input const char* path) = 0;
- virtual NodePtr CreateAlias(_Input const char* path) = 0;
- virtual NodePtr CreateDirectory(_Input const char* path) = 0;
+ virtual NodePtr Create(_Input const Char* path) = 0;
+ virtual NodePtr CreateAlias(_Input const Char* path) = 0;
+ virtual NodePtr CreateDirectory(_Input const Char* path) = 0;
public:
- virtual bool Remove(_Input const char* path) = 0;
+ virtual bool Remove(_Input const Char* path) = 0;
public:
- virtual NodePtr Open(_Input const char* path, _Input const char* r) = 0;
+ virtual NodePtr Open(_Input const Char* path, _Input const Char* r) = 0;
public:
virtual Void Write(_Input NodePtr node, _Input VoidPtr data, _Input Int32 flags, _Input SizeT size) = 0;
@@ -245,7 +245,7 @@ namespace Kernel
return nullptr;
}
- ErrorOr<Int64> WriteAll(const char* fName, const VoidPtr data) noexcept
+ ErrorOr<Int64> WriteAll(const Char* fName, const VoidPtr data) noexcept
{
if (this->fFileRestrict != eRestrictReadWrite &&
this->fFileRestrict != eRestrictReadWriteBinary &&
@@ -267,7 +267,7 @@ namespace Kernel
return ErrorOr<Int64>(kErrorInvalidData);
}
- VoidPtr Read(const char* fName) noexcept
+ VoidPtr Read(const Char* fName) noexcept
{
if (this->fFileRestrict != eRestrictReadWrite &&
this->fFileRestrict != eRestrictReadWriteBinary &&