This commit is contained in:
2025-05-13 02:46:21 +03:00
parent 143e16692e
commit 86914b7fcc
610 changed files with 92343 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef ROOT_FOLDER_H__
#define ROOT_FOLDER_H__
#include "vfs/IFolder.h"
#include "log/CLog.h"
namespace LifeCore
{
class RootFolder : public IFolder
{
public:
RootFolder(){}
~RootFolder(void){}
IFolder* NewFolder(const String& name){printf("Can not create folder in root! Folder: %s\n", name.c_str()); return 0;};
IFile* NewFile(const String& name, int size) {printf("Can not create file in root! File: %s\n", name.c_str());return 0;};
};
}
#endif