code_app/modules/base/HGConsole.h

32 lines
731 B
C
Raw Permalink Normal View History

2022-05-03 10:25:52 +00:00
#ifndef __HGCONSOLE_H__
#define __HGCONSOLE_H__
#include "HGDef.h"
#include "HGBaseErr.h"
HG_DECLARE_HANDLE(HGConsole);
/* 开启控制台
* :
* 1) log: out,
* :
*/
HGEXPORT HGResult HGAPI HGBase_OpenConsole(HGConsole *console);
/* 关闭控制台
* :
* 1) log: in,
* :
*/
HGEXPORT HGResult HGAPI HGBase_CloseConsole(HGConsole console);
/* 写控制台信息
* :
* 1) log: in,
* 2) info: in, , , info无需加换行符
* :
* 1) 线, 线,
*/
HGEXPORT HGResult HGAPI HGBase_WriteConsole(HGConsole console, const HGChar* info);
#endif /* __HGCONSOLE_H__ */