mirror of https://github.com/AxioDL/metaforce.git
Minor cleanup
This commit is contained in:
parent
c79ddb8c42
commit
399b44baf0
|
@ -5,10 +5,11 @@ 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
|
|
@ -4,11 +4,11 @@
|
|||
namespace metaforce {
|
||||
class CTextOutStream {
|
||||
COutputStream* m_out;
|
||||
|
||||
public:
|
||||
CTextOutStream(COutputStream& out);
|
||||
explicit CTextOutStream(COutputStream& out);
|
||||
|
||||
void WriteString(const std::string& str);
|
||||
void WriteString(const char* str, u32 len);
|
||||
};
|
||||
}
|
||||
|
||||
} // namespace metaforce
|
||||
|
|
Loading…
Reference in New Issue