Initial import of Scalos. To decrease size I have
[AROS-Contrib.git] / scalos / libraries / preferences / Preferences_base.h
blob442efe45ccb268524a8c54558beb6fc1ad487d2b
1 // Preferences_base.h
2 // $Date$
3 // $Revision$
6 #ifndef PREFERENCESBASE_H
7 #define PREFERENCESBASE_H
9 #include <exec/types.h>
10 #include <exec/lists.h>
11 #include <exec/libraries.h>
14 struct PreferencesBase
16 struct Library prb_LibNode;
18 struct SegList *prb_SegList;
20 BOOL prb_Initialized;
22 struct SignalSemaphore prb_MemPoolSemaphore;
23 APTR prb_MemPool;
25 struct SignalSemaphore prb_PrefsListSem;
26 struct List prb_PrefsList;
29 //----------------------------------------------------------------------------
31 // Debugging...
32 #define d(x) ;
33 #define d1(x) ;
34 #define d2(x) x;
37 // aus debug.lib
38 #ifdef __AROS__
39 #include <clib/arossupport_protos.h>
40 #define KPrintF kprintf
41 #else
42 extern int kprintf(const char *fmt, ...);
43 extern int KPrintF(const char *fmt, ...);
44 #endif
46 //----------------------------------------------------------------------------
48 #endif /* PREFERENCESBASE_H */