config.h

来自「语法检查程序」· C头文件 代码 · 共 28 行

H
28
字号
/***************************************************************************/
/* NOTE:                                                                   */
/* This document is copyright (c) by Oz Solomonovich.  All non-commercial  */
/* use is allowed, as long as this document is not altered in any way, and */
/* due credit is given.                                                    */
/***************************************************************************/

// Config.h : header file
//

#ifndef __CONFIG_H__
#define __CONFIG_H__

#ifndef CFG_VAR
#define CFG_VAR(name, type, var, defval) extern type var;
#define CFG_STR(name, var, defval)       extern CString var;
#endif

void CfgSetRegSection(LPCTSTR pszSection);
void CfgGetRegSection(LPCTSTR *ppszSection);

void GetConfiguration();
void WriteConfiguration();

#endif // __CONFIG_H__

#include "CfgVars.h"

⌨️ 快捷键说明

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