diff options
Diffstat (limited to 'src/profile.h')
-rw-r--r-- | src/profile.h | 20 |
1 files changed, 20 insertions, 0 deletions
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_
|