mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-15 22:19:07 +00:00
24 lines
424 B
C++
24 lines
424 B
C++
// 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;
|
|
_fullname = n;
|
|
FixPath(_fullname);
|
|
_name = GetBaseNameFromPath(_fullname.c_str());
|
|
}
|
|
|
|
|
|
VFS_NAMESPACE_END
|