Fixed the Logging system to actually be able to handle errors. Database is also fixed to use directories.
This commit is contained in:
@@ -1,9 +1,23 @@
|
||||
#include "ehs/io/BaseDirectory.h"
|
||||
|
||||
#include "ehs/Log.h"
|
||||
|
||||
namespace ehs
|
||||
{
|
||||
Array<Str_8> BaseDirectory::GetAllFiles(const Str_8& dir)
|
||||
Array<Str_8> BaseDirectory::GetAllFiles(const Str_8 &dir)
|
||||
{
|
||||
EHS_LOG_INT(LogType::ERR, 0, "The feature is not supported for this operating system.");
|
||||
|
||||
return {};
|
||||
}
|
||||
|
||||
void BaseDirectory::CreateRecursive(Str_8 dir)
|
||||
{
|
||||
EHS_LOG_INT(LogType::ERR, 0, "The feature is not supported for this operating system.");
|
||||
}
|
||||
|
||||
void BaseDirectory::Create(const Str_8 &dir)
|
||||
{
|
||||
EHS_LOG_INT(LogType::ERR, 0, "The feature is not supported for this operating system.");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user