Subversion Repositories Kolibri OS

Rev

Rev 7177 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7177 Rev 7369
Line 39... Line 39...
39
//                                                   //
39
//                                                   //
40
//                    FUCTIONS                       //
40
//                    FUCTIONS                       //
41
//                                                   //
41
//                                                   //
42
//===================================================//
42
//===================================================//
Line 43... Line 43...
43
 
43
 
44
struct _ini
44
:struct _ini
45
{
45
{
46
	dword path;
46
	dword path;
47
	dword section;
47
	dword section;
48
	void SetPath();
48
	void SetPath();
Line 51... Line 51...
51
	void SetInt();
51
	void SetInt();
52
	void GetString();
52
	void GetString();
53
	void SetString();
53
	void SetString();
54
};
54
};
Line 55... Line 55...
55
 
55
 
56
int _ini::GetInt(dword key, default_value)
56
:int _ini::GetInt(dword key, default_value)
57
{
57
{
58
	ini_get_int stdcall (path, section, key, default_value);
58
	ini_get_int stdcall (path, section, key, default_value);
59
	return EAX;
59
	return EAX;
Line 60... Line 60...
60
}
60
}
61
 
61
 
62
void _ini::SetInt(dword key, value)
62
:void _ini::SetInt(dword key, value)
63
{
63
{
Line 64... Line 64...
64
	ini_set_int stdcall (path, section, key, value);
64
	ini_set_int stdcall (path, section, key, value);
65
}
65
}
66
 
66
 
67
void _ini::GetString(dword key, dst, len, default_value)
67
:void _ini::GetString(dword key, dst, len, default_value)
Line 68... Line 68...
68
{
68
{
69
	ini_get_str stdcall (path, section, key, dst, len, default_value);
69
	ini_get_str stdcall (path, section, key, dst, len, default_value);
70
}
70
}
71
 
71
 
Line 72... Line 72...
72
void _ini::SetString(dword key, value, len)
72
:void _ini::SetString(dword key, value, len)
73
{
73
{