📄 xos_inifiles.h.svn-base
字号:
//**************************************************************
//Copyright (C), 2008-2008, AnyLook Co., Ltd.
//File name: xOS_IniFiles.h
//Author: AnyLook
//Version: 1.0
//Date: 2008/07/31
//Description:
// xOS Include file
//Others:
//Function List:
//<Name> <desc>
//Simple
//History:
//<author> <time> <version > <desc>
// AnyLook 2008/07/31 1.0 build this moudle
//**************************************************************
#ifndef _xOS_IniFiles_H
#define _xOS_IniFiles_H
#ifdef __cplusplus
extern "C" {
#endif
#include "xOS_IniFiles_VTBL.h"
static INLINE int xOS_IniFiles_read_int(const char *section, const char *key,
int default_value, const char *file)
{
if (GETINIFILES(g_pxOSList))
{
return GETINIFILES(g_pxOSList)->read_int(section, key, default_value, file);
}
return 0;
}
static INLINE int xOS_IniFiles_read_string(const char *section, const char *key,char *value,
int size,const char *default_value, const char *file)
{
if (GETINIFILES(g_pxOSList))
{
return GETINIFILES(g_pxOSList)->read_string(section, key, value, size, default_value, file);
}
return 0;
}
static INLINE int xOS_IniFiles_write_string(const char *section, const char *key,
const char *value, const char *file)
{
if (GETINIFILES(g_pxOSList))
{
return GETINIFILES(g_pxOSList)->write_string(section, key, value, file);
}
return 0;
}
#ifdef __cplusplus
}
#endif
#endif //_xOS_IniFiles_H
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -