blob: fc15b52bc6bf1055a3f1b12cd03a5a4a93434a05 (
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
|
#ifndef GP32_FILESYSTEM_FACTORY_H
#define GP32_FILESYSTEM_FACTORY_H
#include "common/singleton.h"
#include "backends/fs/abstract-fs-factory.h"
/**
* Creates GP32FilesystemNode objects.
*
* Parts of this class are documented in the base interface class, AbstractFilesystemFactory.
*/
class GP32FilesystemFactory : public AbstractFilesystemFactory, public Common::Singleton<GP32FilesystemFactory> {
public:
typedef Common::String String;
virtual AbstractFilesystemNode *makeRootFileNode() const;
virtual AbstractFilesystemNode *makeCurrentDirectoryFileNode() const;
virtual AbstractFilesystemNode *makeFileNodePath(const String &path) const;
protected:
GP32FilesystemFactory() {};
private:
friend class Common::Singleton<SingletonBaseType>;
};
#endif /*GP32_FILESYSTEM_FACTORY_H*/
|