blob: a21b40a095401a3899e23d14514e80d982c94df8 (
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/factories/symbian/symbian-fs-factory.h"
#include "backends/fs/symbian/symbian-fs.cpp"
#include "backends/file/symbian/symbian-file.h"
DECLARE_SINGLETON(SymbianFilesystemFactory);
AbstractFilesystemNode *SymbianFilesystemFactory::makeRootFileNode() const {
return new SymbianFilesystemNode(true);
}
AbstractFilesystemNode *SymbianFilesystemFactory::makeCurrentDirectoryFileNode() const {
char path[MAXPATHLEN];
getcwd(path, MAXPATHLEN);
return new SymbianFilesystemNode(path);
}
AbstractFilesystemNode *SymbianFilesystemFactory::makeFileNodePath(const String &path) const {
return new SymbianFilesystemNode(path);
}
BaseFile *SymbianFilesystemFactory::makeBaseFile() const {
return new SymbianFile();
}
|