diff options
Diffstat (limited to 'Public/Kits/System.Zip')
| -rw-r--r-- | Public/Kits/System.Zip/Zip.cxx | 10 | ||||
| -rw-r--r-- | Public/Kits/System.Zip/Zip.hpp | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/Public/Kits/System.Zip/Zip.cxx b/Public/Kits/System.Zip/Zip.cxx index 81a39a18..39818da7 100644 --- a/Public/Kits/System.Zip/Zip.cxx +++ b/Public/Kits/System.Zip/Zip.cxx @@ -14,18 +14,18 @@ namespace System::Zip { ZipStream::ZipStream() - : fSharedData(HHeap::Shared()->New(kInitialSz, kHeapExpandable)), + : fSharedData(System::Heap::Shared()->New(kInitialSz, kHeapExpandable)), fSharedSz(kInitialSz) {} ZipStream::~ZipStream() noexcept { - if (fSharedData) HHeap::Shared()->Delete(fSharedData); + if (fSharedData) System::Heap::Shared()->Delete(fSharedData); } -HFilePtr ZipStream::FlushToFile(const char *name) { - HFilePtr fp = new HFile(name); +FilePtr ZipStream::FlushToFile(const char *name) { + FilePtr fp = new File(name); CA_MUST_PASS(fp); - this->fSharedSz = HHeap::Shared()->Size(this->fSharedData); + this->fSharedSz = System::Heap::Shared()->Size(this->fSharedData); fp->MIME(kZipKitMime); fp->Write(this->fSharedData, this->fSharedSz); diff --git a/Public/Kits/System.Zip/Zip.hpp b/Public/Kits/System.Zip/Zip.hpp index 490fb27c..7affe917 100644 --- a/Public/Kits/System.Zip/Zip.hpp +++ b/Public/Kits/System.Zip/Zip.hpp @@ -11,7 +11,7 @@ #define Z_SOLO 1 -#include <CompilerKit/CompilerKit.hpp> +#include <CompilerKit/CompilerKit.hxx> #include <System.Zip/Defines.hpp> #include <System.Zip/zlib.hpp> @@ -27,7 +27,7 @@ class ZipStream final { HCORE_COPY_DEFAULT(ZipStream); public: - HFilePtr FlushToFile(const char *name); + FilePtr FlushToFile(const char *name); void *Deflate(const char *name); void Inflate(const char *name, void *data); |
