diff options
Diffstat (limited to 'Private/Source/NewFS.cxx')
| -rw-r--r-- | Private/Source/NewFS.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Private/Source/NewFS.cxx b/Private/Source/NewFS.cxx index 114c1e6b..2cb4fae9 100644 --- a/Private/Source/NewFS.cxx +++ b/Private/Source/NewFS.cxx @@ -7,9 +7,10 @@ * ======================================================== */ -#include <FSKit/NewFS.hxx> #include <KernelKit/FileManager.hpp> +#ifdef __USE_NEWFS__ + namespace HCore { NewFilesystemManager::NewFilesystemManager() = default; @@ -40,4 +41,10 @@ NodePtr NewFilesystemManager::CreateDirectory(const char* path) { NodePtr NewFilesystemManager::CreateAlias(const char* path) { return node_cast(fImpl->CreateCatalog(path, 0, kCatalogKindAlias)); } + +const char* NewFilesystemHelper::Root() { return kFilesystemRoot; } +const char* NewFilesystemHelper::UpDir() { return kFilesystemUpDir; } +const char NewFilesystemHelper::Separator() { return kFilesystemSeparator; } } // namespace HCore + +#endif // ifdef __USE_NEWFS__ |
