home *** CD-ROM | disk | FTP | other *** search
- /********************************************************************************
- * gnosis.h
- *
- * Prognosis Management Header
- *
- * Written by Paco Xander Nathan
- * ⌐1990, Motorola Inc. Public domain source code.
- ********************************************************************************/
-
- #define _H_gnosis
-
-
- #define MAXPAD 8
-
-
- typedef enum {
- gnosNew = 1, gnosDelete, gnosSpace1,
- gnosAnalyze, gnosLearn, gnosRecall
- } GnosMenuItems;
-
-
- typedef struct GnosData {
- unsigned char color[2][MAXPAD];
- unsigned char pair[2][MAXPAD];
- unsigned char mark[2][MAXPAD];
- unsigned char anxiety[2][MAXPAD];
- unsigned char stress[2][MAXPAD];
- short total[2];
- Str255 title;
- Handle textHdl;
- struct GnosData *next;
- } GnosData, *GnosPtr;
-
-
- typedef struct {
- WORD count;
- GnosPtr head;
- GnosPtr open;
- } GnosList;
-
-
- /* External Data Structures
- */
- extern GnosList
- gnosList;
-
-
- /* External Function Prototypes
- */
- #ifdef PROTOTYPES
- GnosPtr GnosNew (void);
- void GnosDelete (void);
- void GnosRefresh (void);
- void GnosOpenAnal (WORD theGnos);
- void GnosOpenText (WORD theGnos);
- void GnosSave (void);
- void GnosClose (void);
- void GnosClick (Cell theCell, Boolean dblClick);
-
- void GnosStuffBits (GnosPtr gnosPtr, Boolean *gnosBits);
- void GnosLearn (void);
- void GnosRecall (void);
-
- void GnosMenu (short theItem);
- #endif
-