mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-07 11:27:44 +00:00
![David Corrales](/assets/img/avatar_default.png)
For the POSIX and Windows architectures, added exists(), isReadable() and isWritable() svn-id: r27073
28 lines
823 B
C++
28 lines
823 B
C++
#ifndef RONINCD_FILESYSTEM_FACTORY_H
|
|
#define RONINCD_FILESYSTEM_FACTORY_H
|
|
|
|
#include "common/singleton.h"
|
|
#include "backends/fs/abstract-fs-factory.h"
|
|
|
|
/**
|
|
* Creates RoninCDFilesystemNode objects.
|
|
*
|
|
* Parts of this class are documented in the base interface class, AbstractFilesystemFactory.
|
|
*/
|
|
class RoninCDFilesystemFactory : public AbstractFilesystemFactory, public Common::Singleton<RoninCDFilesystemFactory> {
|
|
public:
|
|
typedef Common::String String;
|
|
|
|
virtual AbstractFilesystemNode *makeRootFileNode() const;
|
|
virtual AbstractFilesystemNode *makeCurrentDirectoryFileNode() const;
|
|
virtual AbstractFilesystemNode *makeFileNodePath(const String &path) const;
|
|
|
|
protected:
|
|
RoninCDFilesystemFactory() {};
|
|
|
|
private:
|
|
friend class Common::Singleton<SingletonBaseType>;
|
|
};
|
|
|
|
#endif /*RONINCD_FILESYSTEM_FACTORY_H*/
|