// 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; }
// 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; }