/* * prefs.h * * Structure definition for ppdata preferences, and prototypes for * routines in prefs.c. * * MWS 3/92. */ struct PPDataPrefs { /* refer to ppbase.h for details of values */ LONG color; LONG efficiency; LONG speedup; LONG suffix; /* append .pp suffix? */ LONG overwrite; /* overwrite w/o verify? */ LONG control; /* what to do with already-crunched files */ }; #define PREFS_SIZE sizeof(struct PPDataPrefs) #ifdef PREFS_C #define PREFS_NAME "S:PPData.config" #else extern struct PPDataPrefs prefs; #endif /* function prototypes */ void LoadPrefs(void); void SavePrefs(void); #ifdef PREFS_C static void UpdateMenus(void); #endif