Exemplo n.º 1
0
// Creates new zip file object for given zip file name, then opens zip file
ZipFile* ZipFile::Open(String* FileName)
{
	ZipFile* zipFile = new ZipFile();

	zipFile->FileName = FileName;
	zipFile->Open();

	return zipFile;
}
Exemplo n.º 2
0
// Creates new zip file object for given zip file name and password, then opens zip file
ZipFile* ZipFile::Open(String* FileName, String* Password)
{
	ZipFile* zipFile = new ZipFile();

	zipFile->FileName = FileName;
	zipFile->Password = Password;
	zipFile->Open();

	return zipFile;
}