| 1 | /* |
| 2 | * prefs.h |
| 3 | * |
| 4 | * [Generated from prefs, 08 November 1995] |
| 5 | */ |
| 6 | |
| 7 | #pragma include_only_once |
| 8 | #pragma force_top_level |
| 9 | |
| 10 | #ifndef __prefs_h |
| 11 | #define __prefs_h |
| 12 | |
| 13 | /*----- Overview ----------------------------------------------------------* |
| 14 | * |
| 15 | * Functions provided: |
| 16 | * |
| 17 | * prefs_find |
| 18 | * prefs_init |
| 19 | */ |
| 20 | |
| 21 | /* --- prefs_find --- * |
| 22 | * |
| 23 | * On entry: -- |
| 24 | * |
| 25 | * On exit: R0 == chunk handle of loaded preferences file |
| 26 | * |
| 27 | * Use: Returns the chunk handle of the preferences file. You can |
| 28 | * then claim your chunk of options from the preferences file |
| 29 | * using options_read. |
| 30 | */ |
| 31 | |
| 32 | extern routine prefs_find; |
| 33 | |
| 34 | /* --- prefs_init --- * |
| 35 | * |
| 36 | * On entry: R0 == pointer to application name |
| 37 | * |
| 38 | * On exit: -- |
| 39 | * |
| 40 | * Use: Loads the application's preferences file. |
| 41 | */ |
| 42 | |
| 43 | extern routine prefs_init; |
| 44 | |
| 45 | /*----- That's all, folks -------------------------------------------------*/ |
| 46 | |
| 47 | #endif |