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

29 lines
368 B
C
Raw Permalink Normal View History

#pragma once
2021-01-05 17:25:38 -05:00
#include "DirectoryDevice.h"
namespace Iop
{
namespace Ioman
{
class CPathDirectoryDevice : public CDirectoryDevice
{
public:
CPathDirectoryDevice(const fs::path& basePath)
2021-01-08 18:30:28 -05:00
: m_basePath(basePath)
{
}
protected:
fs::path GetBasePath() override
{
return m_basePath;
}
2021-01-08 18:30:28 -05:00
private:
fs::path m_basePath;
};
}
}