#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