ddnet/src/engine/shared/fifo.h

24 lines
339 B
C
Raw Normal View History

2016-05-02 21:36:21 +00:00
#ifndef ENGINE_SHARED_FIFO_H
#define ENGINE_SHARED_FIFO_H
#include <engine/console.h>
#if defined(CONF_FAMILY_UNIX)
class CFifo
{
IConsole *m_pConsole;
2021-02-21 16:31:25 +00:00
char m_aFilename[MAX_PATH_LENGTH];
2016-05-02 21:36:21 +00:00
int m_Flag;
int m_File;
2016-05-02 21:36:21 +00:00
public:
void Init(IConsole *pConsole, char *pFifoFile, int Flag);
void Update();
void Shutdown();
};
#endif
#endif