blob: 5659baf6f9cec8669038d519bfd3b145ca1f9bd5 (
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/morphos/abox-fs-factory.h"
#include "backends/fs/morphos/abox-fs.cpp"
#include "backends/file/base-file.h"
DECLARE_SINGLETON(ABoxFilesystemFactory);
AbstractFilesystemNode *ABoxFilesystemFactory::makeRootFileNode() const {
return new ABoxFilesystemNode();
}
AbstractFilesystemNode *ABoxFilesystemFactory::makeCurrentDirectoryFileNode() const {
return new ABoxFilesystemNode();
}
AbstractFilesystemNode *ABoxFilesystemFactory::makeFileNodePath(const String &path) const {
return new ABoxFilesystemNode(path);
}
BaseFile *ABoxFilesystemFactory::makeBaseFile() const {
return new BaseFile();
}
|