Play-/Source/iop/ioman/DirectoryDevice.h

25 lines
502 B
C
Raw Permalink Normal View History

2017-12-01 13:18:52 -05:00
#pragma once
#include <string>
2021-01-05 17:25:38 -05:00
#include "../Ioman_Device.h"
namespace Iop
{
namespace Ioman
{
class CDirectoryDevice : public CDevice
{
public:
2018-04-30 21:01:23 +01:00
virtual ~CDirectoryDevice() = default;
2018-04-30 21:01:23 +01:00
Framework::CStream* GetFile(uint32, const char*) override;
DirectoryIteratorPtr GetDirectory(const char*) override;
void MakeDirectory(const char*) override;
2024-08-12 18:10:33 -04:00
void Rename(const char*, const char*) override;
protected:
virtual fs::path GetBasePath() = 0;
};
}
}