summaryrefslogtreecommitdiffhomepage
path: root/Public/SDK/SystemKit/FileAPI.hxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-29 18:17:47 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-29 18:18:59 +0100
commit65254486efff0fd1bb78a48ff90b7713a5ce539f (patch)
tree20ce02c12a74ba9e6cd382bf9c1f09a0c611cb4d /Public/SDK/SystemKit/FileAPI.hxx
parentf03986937db0b927da4b10554801e18e4dc7c43f (diff)
Kernel: Update TODO.
Src: Refactorings according to clang-format. Meta: Update specification. Public: Remove useless UIKit. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Public/SDK/SystemKit/FileAPI.hxx')
-rw-r--r--Public/SDK/SystemKit/FileAPI.hxx39
1 files changed, 19 insertions, 20 deletions
diff --git a/Public/SDK/SystemKit/FileAPI.hxx b/Public/SDK/SystemKit/FileAPI.hxx
index 089a5882..12b57a41 100644
--- a/Public/SDK/SystemKit/FileAPI.hxx
+++ b/Public/SDK/SystemKit/FileAPI.hxx
@@ -15,27 +15,26 @@
using namespace hCore;
-class HFile final
-{
- public:
- explicit HFile(const char *path);
- ~HFile();
-
- public:
- HCORE_COPY_DEFAULT(HFile);
-
- public:
- void *Read(SizeT off, SizeT sz);
- void Write(void *buf, SizeT off, SizeT sz);
- void Seek(SizeT off);
- void *Read(SizeT sz);
- void Write(void *buf, SizeT sz);
- void Rewind();
-
- public:
- void SetMIME(const char *mime);
+class HFile final {
+ public:
+ explicit HFile(const char *path);
+ ~HFile();
+
+ public:
+ HCORE_COPY_DEFAULT(HFile);
+
+ public:
+ void *Read(SizeT off, SizeT sz);
+ void Write(void *buf, SizeT off, SizeT sz);
+ void Seek(SizeT off);
+ void *Read(SizeT sz);
+ void Write(void *buf, SizeT sz);
+ void Rewind();
+
+ public:
+ void SetMIME(const char *mime);
};
typedef HFile *HFilePtr;
-#endif // ifndef _SYSTEM_KIT_HCORE_FILE_HPP
+#endif // ifndef _SYSTEM_KIT_HCORE_FILE_HPP