ddnet/src/engine/shared/fifoconsole.h

23 lines
395 B
C
Raw Normal View History

2013-07-29 19:03:59 +00:00
#ifndef ENGINE_FIFOCONSOLE_H
#define ENGINE_FIFOCONSOLE_H
#include <engine/console.h>
2013-08-06 04:44:53 +00:00
#if defined(CONF_FAMILY_UNIX)
2014-08-29 14:52:08 +00:00
2013-07-29 19:03:59 +00:00
class FifoConsole
{
static void ListenFifoThread(void *pUser);
2014-08-29 17:42:34 +00:00
IConsole *m_pConsole;
2013-08-03 15:22:50 +00:00
void *m_pFifoThread;
2014-08-29 17:42:34 +00:00
char *m_pFifoFile;
int m_flag;
2013-07-29 19:03:59 +00:00
public:
2014-08-29 17:42:34 +00:00
FifoConsole(IConsole *pConsole, char *pFifoFile, int flag);
2014-12-06 13:14:46 +00:00
~FifoConsole();
2013-07-29 19:03:59 +00:00
};
2013-08-06 04:44:53 +00:00
#endif
2013-07-29 19:03:59 +00:00
#endif // FILE_ENGINE_FIFOCONSOLE_H