mirror of https://github.com/AxioDL/metaforce.git
15 lines
307 B
C++
15 lines
307 B
C++
#pragma once
|
|
#include "Runtime/Streams/CInputStream.hpp"
|
|
|
|
namespace metaforce {
|
|
class CTextInStream {
|
|
CInputStream* m_in;
|
|
s32 m_len;
|
|
|
|
public:
|
|
CTextInStream(CInputStream& in, int len);
|
|
|
|
bool IsEOF() { return m_in->GetReadPosition() >= m_len; }
|
|
std::string GetNextLine();
|
|
};
|
|
} // namespace metaforce
|