From b3e76bf866b4223390585589786600475c9fdcae Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 15 Mar 2024 08:03:35 +0100 Subject: API: Inconsitency fix. Signed-off-by: Amlal El Mahrouss --- Public/Kits/System.Core/FileAPI.hxx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Public/Kits/System.Core/FileAPI.hxx') 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 +#include #include 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 -- cgit v1.2.3