mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
365 B
18 lines
365 B
class CInput
|
|
{
|
|
public:
|
|
CInput(LPCSTR pszFileName);
|
|
~CInput(void);
|
|
|
|
BOOL fInitialized; // TRUE if class creation succeeds
|
|
|
|
BOOL STDCALL getline(PSTR pszDst);
|
|
|
|
protected:
|
|
BOOL ReadNextBuffer(void);
|
|
|
|
HFILE hfile;
|
|
PBYTE pbuf; // allocated buffer for reading
|
|
PBYTE pCurBuf; // current buffer location
|
|
PBYTE pEndBuf; // buffer end position
|
|
};
|