示例#1
0
bool sDeleteTree(const ZFileSpec& iFS)
	{
	for (ZFileIter iter = iFS; iter; iter.Advance())
		sDeleteTree(iter.Current());
	return iFS.Delete();
	}
示例#2
0
ZRef<ZAssetRep> ZAssetIterRep_FS::Current()
	{
	if (ZFileSpec theSpec = fIter.Current())
		return new ZAssetRep_FS(theSpec);
	return ZRef<ZAssetRep>();
	}