aboutsummaryrefslogtreecommitdiff
path: root/backends/factories/psp/psp-fs-factory.cpp
blob: 9c9bef21e7b23647284ce0fc8adc18f57308bfd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "backends/factories/psp/psp-fs-factory.h"
#include "backends/fs/psp/psp_fs.cpp"
#include "backends/file/base-file.h"

DECLARE_SINGLETON(PSPFilesystemFactory);

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);
}

BaseFile *PSPFilesystemFactory::makeBaseFile() const {
	return new BaseFile();
}