1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-16 06:29:31 +00:00
Aquaria/ExternalLibs/ttvfs/VFSBase.cpp

25 lines
424 B
C++
Raw Normal View History

// 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()
{
}
void VFSBase::_setName(const char *n)
{
if(!n)
return;
2014-04-06 17:19:33 +00:00
_fullname = n;
FixPath(_fullname);
_name = GetBaseNameFromPath(_fullname.c_str());
}
VFS_NAMESPACE_END