2 basename PreferencesBase
3 libbase PreferencesBase
4 libbasetype struct Library
9 #include <exec/types.h>
10 #include <scalos/preferences.h>
14 APTR AllocPrefsHandle(CONST_STRPTR name) (A0)
15 .function LIBAllocPrefsHandle
16 VOID FreePrefsHandle(APTR prefsHandle) (A0)
17 .function LIBFreePrefsHandle
18 VOID SetPreferences(APTR prefsHandle, ULONG iD, ULONG prefsTag, const APTR a1arg, WORD struct_Size) (A0,D0,D1,A1,D2)
19 .function LIBSetPreferences
20 ULONG GetPreferences(APTR prefsHandle, ULONG iD, ULONG prefsTag, APTR a1arg, UWORD struct_Size) (A0,D0,D1,A1,D2)
21 .function LIBGetPreferences
22 VOID ReadPrefsHandle(APTR prefsHandle, CONST_STRPTR filename) (A0,A1)
23 .function LIBReadPrefsHandle
24 VOID WritePrefsHandle(APTR prefsHandle, CONST_STRPTR filename) (A0,A1)
25 .function LIBWritePrefsHandle
26 struct PrefsStruct * FindPreferences(APTR prefsHandle, ULONG iD, ULONG prefsTag) (A0,D0,D1)
27 .function LIBFindPreferences
28 VOID SetEntry(APTR prefsHandle, ULONG iD, ULONG prefsTag, const APTR a1arg, UWORD struct_Size, ULONG entry) (A0,D0,D1,A1,D2,D3)
30 ULONG GetEntry(APTR prefsHandle, ULONG iD, ULONG prefsTag, APTR a1arg, UWORD struct_Size, ULONG entry) (A0,D0,D1,A1,D2,D3)
32 ULONG RemEntry(APTR prefsHandle, ULONG iD, ULONG prefsTag, ULONG entry) (A0,D0,D1,D2)