show alpha2 country code strings next to the flag in the country code selectors....
[twcon.git] / src / engine / shared / linereader.h
blob2745b40167c40c8798d5a35ce350223448387316
1 /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
2 /* If you are missing that file, acquire a complete release at teeworlds.com. */
3 #ifndef ENGINE_SHARED_LINEREADER_H
4 #define ENGINE_SHARED_LINEREADER_H
5 #include <base/system.h>
7 // buffered stream for reading lines, should perhaps be something smaller
8 class CLineReader
10 char m_aBuffer[4*1024];
11 unsigned m_BufferPos;
12 unsigned m_BufferSize;
13 unsigned m_BufferMaxSize;
14 IOHANDLE m_IO;
15 public:
16 void Init(IOHANDLE IoHandle);
17 char *Get();
19 #endif