/
dieoska
/
ddnet
Обзор
Документация
Войти
/
dieoska
/
ddnet
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
src/engine/shared/fifo.h
27 строк
489 B
Robert Müller
Order and group all `#include`s with Clang Format
29 сен 2025, 18:59
29 сен 2025, 18:59
a64bc97
Код
Авторство
О чём код?
#ifndef ENGINE_SHARED_FIFO_H #define ENGINE_SHARED_FIFO_H #include <base/detect.h> #include <engine/console.h> class CFifo { IConsole *m_pConsole; char m_aFilename[IO_MAX_PATH_LENGTH]; int m_Flag; bool m_IsInit = false; #if defined(CONF_FAMILY_UNIX) int m_File; #elif defined(CONF_FAMILY_WINDOWS) void *m_pPipe; #endif public: void Init(IConsole *pConsole, const char *pFifoFile, int Flag); void Update(); void Shutdown(); bool IsInit() const { return m_IsInit; } }; #endif