acme
Foundational cross-platform layer of the ca2 framework
Loading...
Searching...
No Matches
ini.h
1//
2// ini.h
3// acme
4//
5// Created by Camilo Sasuke Thomas Borregaard Sørensen on 04/04/26.
6// Copyright © 2026 ca2 Software Development. All rights reserved.
7//
8#pragma once
9
10
11//#ifdef _WIN32
12//#include <windows.h>
13//#else
14//#include <stddef.h>
15//
16//#ifndef MAX_PATH
17//#define MAX_PATH 260
18//#endif
19
20namespace acme
21{
22
23//typedef ulong DWORD;
24//typedef ::i32 BOOL;
25//typedef ::u32 UINT;
26
27//#ifndef TRUE
28//#define TRUE 1
29//#endif
30//
31//#ifndef FALSE
32//#define FALSE 0
33//#endif
34
35CLASS_DECL_ACME ::i32 WritePrivateProfileString(
36 const_char_pointer lpAppName,
37 const_char_pointer lpKeyName,
38 const_char_pointer lpString,
39 const_char_pointer lpFileName
40 );
41
42CLASS_DECL_ACME ::u32 GetPrivateProfileString(
43 const_char_pointer lpAppName,
44 const_char_pointer lpKeyName,
45 const_char_pointer lpDefault,
46 char_pointer lpReturnedString, ::u32 nSize,
47 const_char_pointer lpFileName
48 );
49
50CLASS_DECL_ACME ::u32 GetPrivateProfileInt(
51 const_char_pointer lpAppName,
52 const_char_pointer lpKeyName,
53 ::i32 nDefault,
54 const_char_pointer lpFileName
55 );
56
57CLASS_DECL_ACME ::u32 GetPrivateProfileSection(
58 const_char_pointer lpAppName,
59 char_pointer lpReturnedString, ::u32 nSize,
60 const_char_pointer lpFileName
61 );
62
63CLASS_DECL_ACME ::u32 GetPrivateProfileSectionNames(
64 char_pointer lpszReturnBuffer, ::u32 nSize,
65 const_char_pointer lpFileName
66 );
67//
68//#ifndef WritePrivateProfileString
69//#define WritePrivateProfileString WritePrivateProfileStringA
70//#endif
71//
72//#ifndef GetPrivateProfileString
73//#define GetPrivateProfileString GetPrivateProfileStringA
74//#endif
75//
76//#ifndef GetPrivateProfileInt
77//#define GetPrivateProfileInt GetPrivateProfileIntA
78//#endif
79//
80//#ifndef GetPrivateProfileSection
81//#define GetPrivateProfileSection GetPrivateProfileSectionA
82//#endif
83//
84//#ifndef GetPrivateProfileSectionNames
85//#define GetPrivateProfileSectionNames GetPrivateProfileSectionNamesA
86//#endif
87//
88//#endif /* _WIN32 */
89//
90//#endif /* WINPROFILE_COMPAT_V2_H */
91
92
93} // namespace acme
include "aura/graphics/image/context.h"
Definition aaaa__defer.h:32