blob: de7ada6ba382a593f2ee87d2a85ae040c06c00d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef PS2_FILESYSTEM_FACTORY_H
#define PS2_FILESYSTEM_FACTORY_H
#include "backends/fs/abstract-fs-factory.h"
/**
* Creates PS2FilesystemNode objects.
*
* Parts of this class are documented in the base interface class, AbstractFilesystemFactory.
*/
class Ps2FilesystemFactory : public AbstractFilesystemFactory {
public:
typedef Common::String String;
/**
* Creates an instance of Ps2FilesystemFactory using the Singleton pattern.
*
* @return A unique instance of Ps2FilesytemFactory.
*/
static Ps2FilesystemFactory *instance();
virtual AbstractFilesystemNode *makeRootFileNode() const;
virtual AbstractFilesystemNode *makeCurrentDirectoryFileNode() const;
virtual AbstractFilesystemNode *makeFileNodePath(const String &path) const;
protected:
Ps2FilesystemFactory() {};
private:
static Ps2FilesystemFactory *_instance;
};
#endif /*PS2_FILESYSTEM_FACTORY_H*/
|