mesgtext.h

来自「在Linux开发环境下实现JPEG_LS压缩标注」· C头文件 代码 · 共 27 行

H
27
字号
#ifndef __Header_mesgtext__#define __Header_mesgtext__#include "strtype.h"class EMSGDC_Class {public:	char *		error(const char *index);	char *		warning(const char *index);	char *		abort(const char *index);	const char *	message(const char *index);};static EMSGDC_Class EMSGDC_Instance;#define EMsgDC(index)	String_Use(EMSGDC_Instance.error(#index))#define WMsgDC(index)	String_Use(EMSGDC_Instance.warning(#index))#define AMsgDC(index)	String_Use(EMSGDC_Instance.abort(#index))#define MMsgDC(index)	EMSGDC_Instance.message(#index)#define EMsgDCNull()	String_Use(EMSGDC_Instance.error("Null"))#define WMsgDCNull()	String_Use(EMSGDC_Instance.warning("Null"))#define AMsgDCNull()	String_Use(EMSGDC_Instance.abort("Null"))#define MMsgDCNull()	EMSGDC_Instance.message("Null")#endif /* __Header_mesgtext__ */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?