WEB开发网
开发学院手机开发Symbian 开发 symbian s60 实现 zip 文件解压到指定目录 阅读

symbian s60 实现 zip 文件解压到指定目录

 2010-03-13 20:28:00 来源:WEB开发网   
核心提示:// as the one in the .zip file. TFileName fileName;fileName.Append(aPath); fileName.Append(*(member->Name()));console->Printf(*(member->Name()));BaflUt

// as the one in the .zip file. TFileName fileName;

fileName.Append(aPath); fileName.Append(*(member->Name()));

console->Printf(*(member->Name()));

BaflUtils::EnsurePathExistsL(aFileSession, fileName); if

(fileName.Find(_L(".")) > 0)//if not dir { RFile file;

User::LeaveIfError(file.Replace(aFileSession, fileName, EFileWrite));

CleanupClosePushL(file); User::LeaveIfError(file.Write(*buffer));

CleanupStack::PopAndDestroy();//file }

CleanupStack::PopAndDestroy(3);//member,buffer,stream }

CleanupStack::PopAndDestroy(); // members

}

上一页  1 2 3 

Tags:symbian 实现 zip

编辑录入:coldstar [复制链接] [打 印]
赞助商链接