Files

19 lines
463 B
C++
Raw Permalink Normal View History

2025-05-13 02:46:21 +03:00
#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