Esempio n. 1
0
bool sDeleteTree(const ZFileSpec& iFS)
	{
	for (ZFileIter iter = iFS; iter; iter.Advance())
		sDeleteTree(iter.Current());
	return iFS.Delete();
	}
Esempio n. 2
0
ZRef<ZAssetRep> ZAssetIterRep_FS::Current()
	{
	if (ZFileSpec theSpec = fIter.Current())
		return new ZAssetRep_FS(theSpec);
	return ZRef<ZAssetRep>();
	}
Esempio n. 3
0
string ZAssetIterRep_FS::CurrentName()
	{ return fIter.CurrentName(); }
Esempio n. 4
0
void ZAssetIterRep_FS::Advance()
	{ fIter.Advance(); }