blob: 2a0307d3f40b723d9e321047dd88264957c154dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#include "backends/fs/psp/psp-fs-factory.h"
#include "backends/fs/psp/psp_fs.cpp"
PSPFilesystemFactory *PSPFilesystemFactory::_instance = 0;
PSPFilesystemFactory *PSPFilesystemFactory::instance(){
if(_instance == 0){
_instance = new PSPFilesystemFactory();
}
return _instance;
}
AbstractFilesystemNode *PSPFilesystemFactory::makeRootFileNode() const {
return new PSPFilesystemNode();
}
AbstractFilesystemNode *PSPFilesystemFactory::makeCurrentDirectoryFileNode() const {
return new PSPFilesystemNode();
}
AbstractFilesystemNode *PSPFilesystemFactory::makeFileNodePath(const String &path) const {
return new PSPFilesystemNode(path, true);
}
|