From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/Wasabi/bfc/util/profile.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 Src/Wasabi/bfc/util/profile.h (limited to 'Src/Wasabi/bfc/util/profile.h') diff --git a/Src/Wasabi/bfc/util/profile.h b/Src/Wasabi/bfc/util/profile.h new file mode 100644 index 00000000..9d0df724 --- /dev/null +++ b/Src/Wasabi/bfc/util/profile.h @@ -0,0 +1,26 @@ +// +// profile.h +// Profile support. +// Programed by XuYiFeng 1995.4.25, All rights reserved. +// + +#ifndef __PROFILE_H +#define __PROFILE_H + +#ifdef __cplusplus +extern "C" { +#endif + +long GetPrivateProfileInt( const char *section, const char *entry, long defaultInt, + const char *fileName ); +int GetPrivateProfileString( const char *section, const char *entry, + const char *defaultString, char *buffer, + int bufLen, const char *fileName ); +int WritePrivateProfileString( const char *section, const char *entry, + const char *string, const char *fileName ); + +#ifdef __cplusplus +} +#endif + +#endif -- cgit