first commit
This commit is contained in:
45
src/Filesystem/NullFilesystem.cpp
Normal file
45
src/Filesystem/NullFilesystem.cpp
Normal file
@ -0,0 +1,45 @@
|
||||
#include "TessesFramework/Filesystem/NullFilesystem.hpp"
|
||||
|
||||
namespace Tesses::Framework::Filesystem
|
||||
{
|
||||
Tesses::Framework::Streams::Stream* NullFilesystem::OpenFile(VFSPath path, std::string mode)
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
void NullFilesystem::CreateDirectory(VFSPath path)
|
||||
{
|
||||
|
||||
}
|
||||
void NullFilesystem::DeleteDirectory(VFSPath path)
|
||||
{
|
||||
|
||||
}
|
||||
bool NullFilesystem::RegularFileExists(VFSPath path)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
bool NullFilesystem::DirectoryExists(VFSPath path)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
void NullFilesystem::DeleteFile(VFSPath path)
|
||||
{
|
||||
|
||||
}
|
||||
void NullFilesystem::GetPaths(VFSPath path, std::vector<VFSPath>& paths)
|
||||
{
|
||||
|
||||
}
|
||||
void NullFilesystem::MoveFile(VFSPath src, VFSPath dest)
|
||||
{
|
||||
|
||||
}
|
||||
std::string NullFilesystem::VFSPathToSystem(VFSPath path)
|
||||
{
|
||||
return path.ToString();
|
||||
}
|
||||
VFSPath NullFilesystem::SystemToVFSPath(std::string path)
|
||||
{
|
||||
return VFSPath(path);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user