about summary refs log tree commit diff
path: root/src/engine/shared/fifoconsole.h
blob: 83d14bc01c883ec862d146be4c705f7ef10a390b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef ENGINE_FIFOCONSOLE_H
#define ENGINE_FIFOCONSOLE_H

#include <engine/console.h>

#if defined(CONF_FAMILY_UNIX)

class FifoConsole
{
	static void ListenFifoThread(void *pUser);
	IConsole *m_pConsole;
	void *m_pFifoThread;
	char *m_pFifoFile;
	int m_flag;

public:
	FifoConsole(IConsole *pConsole, char *pFifoFile, int flag);
	~FifoConsole();
};
#endif

#endif // FILE_ENGINE_FIFOCONSOLE_H