summaryrefslogtreecommitdiffhomepage
path: root/Private/NewBoot/BootKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-31 16:28:11 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-31 16:28:11 +0100
commit91a554f36af763394835f29ecdefdf2d6448a6c3 (patch)
tree8bf392cd3b14842ea3ede17521d0efba3aaae218 /Private/NewBoot/BootKit
parent0269e7f53f44d8e62ec35280d4adde7aa3ef1c6c (diff)
HEL: Adding BFileReader implementation.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/NewBoot/BootKit')
-rw-r--r--Private/NewBoot/BootKit/BootKit.hxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/Private/NewBoot/BootKit/BootKit.hxx b/Private/NewBoot/BootKit/BootKit.hxx
index 6f0ee927..54f1d5d9 100644
--- a/Private/NewBoot/BootKit/BootKit.hxx
+++ b/Private/NewBoot/BootKit/BootKit.hxx
@@ -47,8 +47,9 @@ class BTextWriter final {
BTextWriter(const BTextWriter &) = default;
};
-HCore::SizeT BStrLen(const char *ptr);
-HCore::SizeT BSetMem(char *src, const char byte, const HCore::SizeT len);
+HCore::SizeT BStrLen(const CharacterType *ptr);
+HCore::SizeT BSetMem(CharacterType *src, const CharacterType byte,
+ const HCore::SizeT len);
/**
* @brief BootKit File Reader class
@@ -56,7 +57,7 @@ HCore::SizeT BSetMem(char *src, const char byte, const HCore::SizeT len);
*/
class BFileReader final {
public:
- explicit BFileReader(const char *path);
+ explicit BFileReader(const CharacterType *path);
~BFileReader() = default;
HCore::VoidPtr ReadAll();
@@ -64,6 +65,9 @@ class BFileReader final {
public:
BFileReader &operator=(const BFileReader &) = default;
BFileReader(const BFileReader &) = default;
+
+ private:
+ CharacterType mPath[255];
};
/***********************************************************************************/