ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/include/prefs.h
(Generate patch)

Comparing BasiliskII/src/include/prefs.h (file contents):
Revision 1.4 by cebix, 2001-01-04T19:50:23Z vs.
Revision 1.11 by gbeauche, 2008-01-01T09:40:35Z

# Line 1 | Line 1
1   /*
2   *  prefs.h - Preferences handling
3   *
4 < *  Basilisk II (C) 1997-2000 Christian Bauer
4 > *  Basilisk II (C) 1997-2008 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# Line 23 | Line 23
23  
24   #include <stdio.h>
25  
26 < extern void PrefsInit(int argc, char **argv);
26 > extern void PrefsInit(int &argc, char **&argv);
27   extern void PrefsExit(void);
28  
29 + extern void PrefsPrintUsage(void);
30 +
31   extern void AddPrefsDefaults(void);
32   extern void AddPlatformPrefsDefaults(void);
33  
# Line 51 | Line 53 | extern int32 PrefsFindInt32(const char *
53  
54   extern void PrefsRemoveItem(const char *name, int index = 0);
55  
56 + #ifdef SHEEPSHAVER
57 + // Platform specific functions:
58 + extern void prefs_init();
59 + extern void prefs_exit();
60 + #endif
61  
62   /*
63   *  Definition of preferences items
# Line 70 | Line 77 | struct prefs_desc {
77          const char *name;       // Name of keyword
78          prefs_type type;        // Type (see above)
79          bool multiple;          // Can this item occur multiple times (only for TYPE_STRING)?
80 +        const char *help;       // Help/descriptive text about this item
81   };
82  
83   // List of common preferences items (those which exist on all platforms)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines