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

Last change on this file since 2818 was 2818, checked in by cmv, 20 years ago

Update de Xephem 3.7 cmv 21/08/2005

File size: 1.2 KB
RevLine 
[1457]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 {
[1719]9 PREF_EQUATORIAL, PREF_UNITS, PREF_DATE_FORMAT, PREF_ZONE, PREF_DPYPREC,
10 PREF_MSG_BELL, PREF_PRE_FILL, PREF_TIPS, PREF_CONFIRM, PREF_WEEKSTART,
[1457]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;
[1719]23typedef enum {PREF_SAT, PREF_SUN, PREF_MON} PrefWeekStart;
[1457]24
[2551]25extern int pref_get (Preferences p);
26extern int pref_set (Preferences p, int newp);
[1457]27
28#endif /* _PREFERENCES_H */
29
30/* For RCS Only -- Do Not Edit
[2818]31 * @(#) $RCSfile: preferences.h,v $ $Date: 2005-08-21 10:02:39 $ $Revision: 1.5 $ $Name: not supported by cvs2svn $
[1457]32 */
Note: See TracBrowser for help on using the repository browser.