summaryrefslogtreecommitdiffhomepage
path: root/Public/SDK/SystemKit/FileAPI.hxx
diff options
context:
space:
mode:
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