vfsLocalDir::IsOpened() implemented

This commit is contained in:
Nekotekina 2014-08-06 02:34:26 +04:00
parent 36f76bf288
commit 270c851645
4 changed files with 13 additions and 2 deletions

View file

@ -15,8 +15,6 @@ bool vfsLocalDir::Open(const std::string& path)
if(!vfsDirBase::Open(path))
return false;
rDir dir;
if(!dir.Open(path))
return false;
@ -57,3 +55,8 @@ bool vfsLocalDir::Remove(const std::string& path)
{
return rRmdir(path);
}
bool vfsLocalDir::IsOpened() const
{
return dir.IsOpened() && vfsDirBase::IsOpened();
}