source: trunk/athena/bin/xdsc/xdsc.h @ 5062

Revision 5062, 1.5 KB checked in by sao, 34 years ago (diff)
Change #define's for NEXT, PREV, etc from positive to negative integers so GetTransactionFile can distinguish between these symbols and a real transaction number (which will be a positive integer)
Line 
1/*
2Copyright 1991 by the Massachusetts Institute of Technology
3
4Permission to use, copy, modify, and distribute this
5software and its documentation for any purpose and without
6fee is hereby granted, provided that the above copyright
7notice appear in all copies and that both that copyright
8notice and this permission notice appear in supporting
9documentation, and that the name of M.I.T. not be used in
10advertising or publicity pertaining to distribution of the
11software without specific, written prior permission.
12M.I.T. makes no representations about the suitability of
13this software for any purpose.  It is provided "as is"
14without express or implied warranty.
15*/
16
17#define         MAX_BUTTONS             8
18#define         MAX_MENU_LEN            4
19#define         BUFSIZE                 512
20#define         HELL_FROZEN_OVER        0
21#define         LONGNAMELEN             100
22#define         SHORTNAMELEN            50
23
24#define         NEXT                    -1
25#define         PREV                    -2
26#define         NEXTNEWS                -3
27#define         PREVNEWS                -4
28#define         UPDATE                  -5
29#define         NREF                    -6
30#define         PREF                    -7
31#define         FIRST                   -8
32#define         LAST                    -9
33#define         CURRENT                 -10
34#define         HIGHESTSEEN             -11
35#define         INITIALIZE              -12
36
37#define         BUTTONS_UPDATE          1
38#define         BUTTONS_OFF             2
39#define         BUTTONS_ON              3
40
41#define         MAIN                    1
42#define         EDITMTGS                2
43#define         LISTTRNS                3
44
45/*
46** In a chain of entryrecs, the head will be either a command widget or
47** a menubutton, and any following entries will be command children
48** of the menubutton.
49*/
50
51typedef struct entryrec {
52        Widget          button;
53        struct entryrec *nextrec;
54} EntryRec;
55
56static char rcsidh[] = "";
Note: See TracBrowser for help on using the repository browser.