mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
24 lines
502 B
C++
24 lines
502 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
#include "../Ioman_Device.h"
|
|
|
|
namespace Iop
|
|
{
|
|
namespace Ioman
|
|
{
|
|
class CDirectoryDevice : public CDevice
|
|
{
|
|
public:
|
|
virtual ~CDirectoryDevice() = default;
|
|
|
|
Framework::CStream* GetFile(uint32, const char*) override;
|
|
DirectoryIteratorPtr GetDirectory(const char*) override;
|
|
void MakeDirectory(const char*) override;
|
|
void Rename(const char*, const char*) override;
|
|
|
|
protected:
|
|
virtual fs::path GetBasePath() = 0;
|
|
};
|
|
}
|
|
}
|