/*
(c) Oleg V. Dolomanov 2002-3
This source code is provided without warranty of any kind.
The author is not responsible for losses of information or any other 
damage caused by this code. You use it on your own risk. You can distribute, 
modify and incorporate this code into any non-commercial packages without 
author's permission. Acknowledgements are not necessary, but would be 
appreciated.
*/

#ifndef zipsH
#define zipsH
//---------------------------------------------------------------------------
class TZipShell
{
	AnsiString FDecoder,
		FArchive, FTmpPath, ListFile;
	TStringList *FFiles;
	void _fastcall SetDecoder(AnsiString S);
	void _fastcall SetTmpPath(AnsiString S);
public:
	TZipShell();
	~TZipShell();
	__property TStringList *Files = {read = FFiles};
	__property AnsiString TmpPath = {read = FTmpPath, write = SetTmpPath};
	__property AnsiString Decoder = {read = FDecoder, write = SetDecoder};
	bool _fastcall Initialize(AnsiString Arch);
	void _fastcall MaskFiles(AnsiString Mask, AnsiString Mask1);
	void _fastcall MaskFiles(AnsiString Mask);
	bool _fastcall Extract();
	bool _fastcall GetFile(AnsiString Name);
};
#endif

