source: Sophya/trunk/SophyaExt/XephemAstroLib/preferences.h@ 1681

Last change on this file since 1681 was 1457, checked in by cmv, 24 years ago

import de la partie libastro de Xephem cmv+rz 10/4/2001

File size: 1.1 KB
Line 
1/* global info for the preferences facility.
2 * N.B. many of these enums are used as indexes -- don't change without
3 * checking where they are used!
4 */
5#ifndef _PREFERENCES_H
6#define _PREFERENCES_H
7
8typedef enum {
9 PREF_EQUATORIAL, PREF_UNITS, PREF_DATE_FORMAT, PREF_ZONE,
10 PREF_DPYPREC, PREF_MSG_BELL, PREF_PRE_FILL, PREF_TIPS, PREF_CONFIRM,
11 NPREFS
12} Preferences;
13
14typedef enum {PREF_GEO, PREF_TOPO} PrefEquatorial;
15typedef enum {PREF_ENGLISH, PREF_METRIC} PrefUnits;
16typedef enum {PREF_MDY, PREF_YMD, PREF_DMY} PrefDateFormat;
17typedef enum {PREF_LOCALTZ, PREF_UTCTZ} PrefStampZone;
18typedef enum {PREF_LOPREC, PREF_HIPREC} PrefDpyPrec;
19typedef enum {PREF_NOMSGBELL, PREF_MSGBELL} PrefMsgBell;
20typedef enum {PREF_PREFILL, PREF_NOPREFILL} PrefPreFill;
21typedef enum {PREF_TIPSON, PREF_NOTIPS} PrefTips;
22typedef enum {PREF_CONFIRMON, PREF_NOCONFIRM} PrefConfirm;
23
24extern int pref_get P_((Preferences p));
25extern int pref_set P_((Preferences p, int new));
26
27#endif /* _PREFERENCES_H */
28
29/* For RCS Only -- Do Not Edit
30 * @(#) $RCSfile: preferences.h,v $ $Date: 2001-04-10 14:40:47 $ $Revision: 1.1.1.1 $ $Name: not supported by cvs2svn $
31 */
Note: See TracBrowser for help on using the repository browser.