mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00

- Allow listing of partitions from Dopen/Dread. - Support opening files not in the root directory.
20 lines
299 B
C++
20 lines
299 B
C++
#pragma once
|
|
|
|
#include <vector>
|
|
#include "Stream.h"
|
|
#include "ApaDefs.h"
|
|
|
|
namespace Hdd
|
|
{
|
|
class CApaReader
|
|
{
|
|
public:
|
|
CApaReader(Framework::CStream&);
|
|
|
|
std::vector<APA_HEADER> GetPartitions();
|
|
bool TryFindPartition(const char*, APA_HEADER&);
|
|
|
|
private:
|
|
Framework::CStream& m_stream;
|
|
};
|
|
}
|