mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-13 15:51:22 +00:00
Minor cleanup
This commit is contained in:
parent
c79ddb8c42
commit
399b44baf0
@ -5,10 +5,11 @@ namespace metaforce {
|
|||||||
class CTextInStream {
|
class CTextInStream {
|
||||||
CInputStream* m_in;
|
CInputStream* m_in;
|
||||||
s32 m_len;
|
s32 m_len;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CTextInStream(CInputStream& in, int len);
|
CTextInStream(CInputStream& in, int len);
|
||||||
|
|
||||||
bool IsEOF() { return m_in->GetReadPosition() >= m_len; }
|
bool IsEOF() { return m_in->GetReadPosition() >= m_len; }
|
||||||
std::string GetNextLine();
|
std::string GetNextLine();
|
||||||
};
|
};
|
||||||
}
|
} // namespace metaforce
|
@ -4,11 +4,11 @@
|
|||||||
namespace metaforce {
|
namespace metaforce {
|
||||||
class CTextOutStream {
|
class CTextOutStream {
|
||||||
COutputStream* m_out;
|
COutputStream* m_out;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CTextOutStream(COutputStream& out);
|
explicit CTextOutStream(COutputStream& out);
|
||||||
|
|
||||||
void WriteString(const std::string& str);
|
void WriteString(const std::string& str);
|
||||||
void WriteString(const char* str, u32 len);
|
void WriteString(const char* str, u32 len);
|
||||||
};
|
};
|
||||||
}
|
} // namespace metaforce
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user