2008-11-22 22:07:07 +00:00
|
|
|
// This code is in the public domain -- castano@gmail.com
|
|
|
|
|
2010-05-27 23:18:08 +00:00
|
|
|
#pragma once
|
2008-11-22 22:07:07 +00:00
|
|
|
#ifndef NV_CORE_FILESYSTEM_H
|
|
|
|
#define NV_CORE_FILESYSTEM_H
|
|
|
|
|
2010-03-16 22:35:20 +00:00
|
|
|
#include "nvcore.h"
|
2008-11-22 22:07:07 +00:00
|
|
|
|
|
|
|
namespace nv
|
|
|
|
{
|
|
|
|
|
2010-05-27 23:18:08 +00:00
|
|
|
namespace FileSystem
|
|
|
|
{
|
|
|
|
NVCORE_API bool exists(const char * path);
|
|
|
|
NVCORE_API bool createDirectory(const char * path);
|
|
|
|
NVCORE_API bool changeDirectory(const char * path);
|
|
|
|
NVCORE_API bool removeFile(const char * path);
|
2008-11-22 22:07:07 +00:00
|
|
|
|
2010-05-27 23:18:08 +00:00
|
|
|
} // FileSystem namespace
|
2008-11-22 22:07:07 +00:00
|
|
|
|
|
|
|
} // nv namespace
|
|
|
|
|
|
|
|
|
|
|
|
#endif // NV_CORE_FILESYSTEM_H
|