diff options
Diffstat (limited to '')
-rw-r--r-- | CPP/7zip/Archive/Nsis/NsisHandler.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/CPP/7zip/Archive/Nsis/NsisHandler.h b/CPP/7zip/Archive/Nsis/NsisHandler.h new file mode 100644 index 0000000..1eb8b73 --- /dev/null +++ b/CPP/7zip/Archive/Nsis/NsisHandler.h | |||
@@ -0,0 +1,36 @@ | |||
1 | // NSisHandler.h | ||
2 | |||
3 | #ifndef __NSIS_HANDLER_H | ||
4 | #define __NSIS_HANDLER_H | ||
5 | |||
6 | #include "../../../Common/MyCom.h" | ||
7 | |||
8 | #include "../../Common/CreateCoder.h" | ||
9 | |||
10 | #include "../IArchive.h" | ||
11 | |||
12 | #include "NsisIn.h" | ||
13 | |||
14 | namespace NArchive { | ||
15 | namespace NNsis { | ||
16 | |||
17 | class CHandler: | ||
18 | public IInArchive, | ||
19 | public CMyUnknownImp | ||
20 | { | ||
21 | CInArchive _archive; | ||
22 | AString _methodString; | ||
23 | |||
24 | bool GetUncompressedSize(unsigned index, UInt32 &size) const; | ||
25 | bool GetCompressedSize(unsigned index, UInt32 &size) const; | ||
26 | |||
27 | // AString GetMethod(NMethodType::EEnum method, bool useItemFilter, UInt32 dictionary) const; | ||
28 | public: | ||
29 | MY_UNKNOWN_IMP1(IInArchive) | ||
30 | |||
31 | INTERFACE_IInArchive(;) | ||
32 | }; | ||
33 | |||
34 | }} | ||
35 | |||
36 | #endif | ||