1#ifndef ENGINE_SHARED_FIFO_H
2#define ENGINE_SHARED_FIFO_H
3
4#include <base/detect.h>
5#include <engine/console.h>
6
7class CFifo
8{
9 IConsole *m_pConsole;
10 char m_aFilename[IO_MAX_PATH_LENGTH];
11 int m_Flag;
12#if defined(CONF_FAMILY_UNIX)
13 int m_File;
14#elif defined(CONF_FAMILY_WINDOWS)
15 void *m_pPipe;
16#endif
17
18public:
19 void Init(IConsole *pConsole, const char *pFifoFile, int Flag);
20 void Update();
21 void Shutdown();
22};
23
24#endif
25