acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
context.h
1#pragma once
2
3
4class CLASS_DECL_APEX zip_context :
5 virtual public ::object
6{
7public:
8
9
10 zip_context(::particle * pparticle);
11 virtual ~zip_context();
12
13
14 virtual bool ls(::file::listing_base & listing);
15
16 ::pointer<::file_container>get_in_file(::file::file * pfile, const string_array_base & strPath, ::file::enum_type * petype);
17 virtual bool is_file_or_dir(::file::file * pfile, const string_array_base & strPath, ::file::enum_type * petype);
18 virtual bool extract(memory & m, ::file::file * pfile, const string_array_base & strPath, ::file::enum_type * petype = nullptr);
19
20 //virtual bool extract(const ::file::path & path, const ::scoped_string & scopedstrExtractFileName, ::file::enum_type * petype = nullptr);
21
22 virtual bool e_extract_all(const ::scoped_string& scopedstrDir, ::payload payloadFile, ::file::path_array_base* ppatha = nullptr, string_array_base* pstraFilter = nullptr, bool_array* pbaBeginsFilterEat = nullptr, , ::function<void(const::scoped_string& scopedstr) > functionCallback = {});
23 virtual bool is_unzippable(const ::file::path & path);
24
25 virtual bool has_sub_folder(const ::file::path & path);
26
27
28
29};
30
31
32
33
34
Definition file.h:33
Definition listing.h:33
Definition path_array.h:19
Definition _template_forward_declaration.h:271
Definition memory.h:33
Definition particle.h:95