From a4c804b49ec872b71bd5a0167c3ad45704a3cc30 Mon Sep 17 00:00:00 2001 From: adiblol Date: Thu, 8 Mar 2012 19:32:05 +0100 Subject: Initial commit, Copyright (C) 2001-2008, Daniel ROUX & EPSITEC SA, www.epsitec.ch --- src/profile.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/profile.h (limited to 'src/profile.h') diff --git a/src/profile.h b/src/profile.h new file mode 100644 index 0000000..e328ce1 --- /dev/null +++ b/src/profile.h @@ -0,0 +1,20 @@ +// profile.h + +#ifndef _PROFILE_H_ +#define _PROFILE_H_ + + +#define STRICT +#define D3D_OVERLOADS + + +extern BOOL InitCurrentDirectory(); +extern BOOL SetProfileString(char* section, char* key, char* string); +extern BOOL GetProfileString(char* section, char* key, char* buffer, int max); +extern BOOL SetProfileInt(char* section, char* key, int value); +extern BOOL GetProfileInt(char* section, char* key, int &value); +extern BOOL SetProfileFloat(char* section, char* key, float value); +extern BOOL GetProfileFloat(char* section, char* key, float &value); + + +#endif //_PROFILE_H_ -- cgit v1.2.3-1-g7c22