acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
aaa_file.h
1#pragma once
2
3
4namespace zip
5{
6
7
8 class CLASS_DECL_ACME file :
9 virtual public ::matter
10 {
11 public:
12
13
14 file_pointer m_pfile;
15 file_pointer m_pbuffile1;
16 file_pointer m_pbuffile2;
17 void * m_pfUnzip;
18 void * m_pfZip;
19 bool m_bOwnFile;
20 void * m_pvoidFileFuncDef;
21
22
23 file();
24 virtual ~file();
25
26
27 void write_to_file(file_pointer pfile, const ::wide_character * pcsz);
28
29
30 //bool unzip_open(const_char_pointer pcwsz);
31
32 bool unzip_open(file_pointer pfile, ::i32 iBufferLevel = 2);
33
34 bool zip_open(const_char_pointer pcwsz);
35
36 bool zip_open(file_pointer pfile);
37
38
39 };
40
41
42} // namespace zip
43
44
45
46
47void * c_zip_file_open_file_func (void * opaque, const_char_pointer pszFilename, ::i32 mode);
48uptr c_zip_file_read_file_func (void * opaque, void * stream, void * buf, uptr size);
49uptr c_zip_file_write_file_func (void * opaque, void * stream, const void * buf, uptr size);
50long c_zip_file_tell_file_func (void * opaque, void * stream);
51long c_zip_file_seek_file_func (void * opaque, void * stream, uptr offset, ::i32 origin);
52::i32 c_zip_file_close_file_func (void * opaque, void * stream);
53::i32 c_zip_file_testerror_file_func (void * opaque, void * stream);
54
55
56
57
58
Definition ___serialization_draft.h:42
Definition filesystem.h:16