// VFSBase.cpp - common code for VFSDir and VFSFile // For conditions of distribution and use, see copyright notice in VFS.h #include "VFSBase.h" #include "VFSInternal.h" #include "VFSTools.h" VFS_NAMESPACE_START VFSBase::VFSBase() { } VFSBase::~VFSBase() { } void VFSBase::_setName(const char *n) { _fullname = n; FixPath(_fullname); _name = GetBaseNameFromPath(_fullname.c_str()); } VFS_NAMESPACE_END