2017-12-01 13:18:52 -05:00
|
|
|
#pragma once
|
2008-01-15 20:27:44 +00:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include "Ioman_Device.h"
|
|
|
|
|
2008-01-19 03:36:27 +00:00
|
|
|
namespace Iop
|
2008-01-15 20:27:44 +00:00
|
|
|
{
|
2012-09-05 20:40:23 +00:00
|
|
|
namespace Ioman
|
|
|
|
{
|
|
|
|
class CDirectoryDevice : public CDevice
|
|
|
|
{
|
|
|
|
public:
|
2018-04-30 21:01:23 +01:00
|
|
|
CDirectoryDevice(const char*);
|
|
|
|
virtual ~CDirectoryDevice() = default;
|
2018-09-20 19:05:24 -04:00
|
|
|
|
2018-04-30 21:01:23 +01:00
|
|
|
Framework::CStream* GetFile(uint32, const char*) override;
|
2018-09-20 19:05:24 -04:00
|
|
|
Directory GetDirectory(const char*) override;
|
2008-01-15 20:27:44 +00:00
|
|
|
|
2012-09-05 20:40:23 +00:00
|
|
|
private:
|
2018-04-30 21:01:23 +01:00
|
|
|
std::string m_basePathPreferenceName;
|
2012-09-05 20:40:23 +00:00
|
|
|
};
|
|
|
|
}
|
2008-01-19 03:36:27 +00:00
|
|
|
}
|