6 #ifndef READWRITEPREFS_H
7 #define READWRITEPREFS_H
9 //-----------------------------------------------------------------
11 #include "ScalosPrefs.h"
13 //-----------------------------------------------------------------
15 BOOL
ReadWritePrefsInit(void);
16 void ReadWritePrefsCleanup(void);
17 IPTR
mui_getv(APTR
, ULONG
);
18 LONG
WriteScalosPrefs(struct SCAModule
*, CONST_STRPTR PrefsFileName
);
19 LONG
ReadScalosPrefs(CONST_STRPTR PrefsFileName
);
20 void UpdateGuiFromPrefs(struct SCAModule
*app
);
21 struct PluginDef
*FindPlugin(struct SCAModule
*app
, BPTR fLock
);
22 void RemovePlugin(struct SCAModule
*app
, const struct PluginDef
*pdRemove
);
23 BOOL
AddPlugin(struct SCAModule
*app
, CONST_STRPTR FileName
);
24 void ResetToDefaults(struct SCAModule
*app
);
25 void ReadIconFontPrefs(struct SCAModule
*app
);
26 void WriteFontPrefs(struct SCAModule
*app
, CONST_STRPTR FontPrefsName
);
28 //-----------------------------------------------------------------
30 #define getv(o,a) mui_getv(o,a)
32 //-----------------------------------------------------------------
34 #endif /* READWRITEPREFS_H */