Move all of the files in include/libc/... down to the top level include path.
[newos.git] / apps / irc / ircreader.h
blobde185c48cc923f5d2a83d2e43d573ba7a3456a3a
1 #ifndef _IRCREADER_H
2 #define _IRCREADER_H
4 class IRCEngine;
6 class IRCReader {
7 public:
8 IRCReader(int socket, IRCEngine *engine);
9 virtual ~IRCReader();
11 int Start();
13 private:
14 int Run();
15 static int ThreadEntry(void *args);
16 int mSocket;
17 IRCEngine *mEngine;
18 thread_id mReaderThread;
20 char mBuf[4096];
21 int mBufPos;
24 #endif