summaryrefslogtreecommitdiffhomepage
path: root/Public/Kits/System.Core/FileAPI.hxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-15 08:03:35 +0100
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-03-15 08:03:35 +0100
commitb3e76bf866b4223390585589786600475c9fdcae (patch)
tree7b10c496e94aa98dedf441f67fb39d0aaa7fbda9 /Public/Kits/System.Core/FileAPI.hxx
parent159d312c0dd3c02995950270e173cc10ade273cf (diff)
API: Inconsitency fix.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Kits/System.Core/FileAPI.hxx')
-rw-r--r--Public/Kits/System.Core/FileAPI.hxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/Public/Kits/System.Core/FileAPI.hxx b/Public/Kits/System.Core/FileAPI.hxx
index 66ecef22..2f799330 100644
--- a/Public/Kits/System.Core/FileAPI.hxx
+++ b/Public/Kits/System.Core/FileAPI.hxx
@@ -7,20 +7,21 @@
#ifndef _SYSTEM_KIT_HCORE_FILE_HPP
#define _SYSTEM_KIT_HCORE_FILE_HPP
-#include <CompilerKit/CompilerKit.hpp>
+#include <CompilerKit/CompilerKit.hxx>
#include <NewKit/Defines.hpp>
using namespace HCore;
/// @brief SOM class, translated to C++
-class HFile final {
+namespace System {
+class File final {
public:
- explicit HFile(const char *path);
- ~HFile();
+ explicit File(const char *path);
+ ~File();
public:
- HCORE_COPY_DEFAULT(HFile);
+ HCORE_COPY_DEFAULT(File);
public:
voidPtr Read(SizeT off, SizeT sz);
@@ -35,6 +36,7 @@ class HFile final {
void MIME(const char *mime);
};
-typedef HFile *HFilePtr;
+typedef File *FilePtr;
+} // namespace System
#endif // ifndef _SYSTEM_KIT_HCORE_FILE_HPP