home *** CD-ROM | disk | FTP | other *** search
/ Amiga Times / AmigaTimes.iso / sonstiges / tools / amiCheck / Source / keyPanel.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-06  |  801 b   |  39 lines

  1. #ifndef KEYPANEL_H
  2. #define KEYPANEL_H
  3.  
  4. /************************************************************************
  5. *   keyPanel.h:
  6. *   global externs for key panel
  7. *   
  8. *************************************************************************/
  9.  
  10. /* key structure */
  11. typedef struct {
  12.     unsigned int id;
  13.     unsigned int verify;
  14.     char id_name[STRINGSIZE];
  15. } usrkey;
  16.  
  17. extern usrkey usrKey, *ptrKey;
  18.  
  19. /* gadget enumerations */
  20. enum
  21. {
  22.     GID_KEYID,
  23.     GID_KEYNAME,
  24.     GID_KEYCANCEL,
  25.     GID_KEYREG,
  26. };
  27.              
  28. /* layout structures */
  29. extern GadgetSpec *KEY_KeySpecs[];
  30. extern ULONG KEY_KeyPanel[];
  31. extern GUIFront *keyGUI;
  32. extern BOOL KeyWriteFile(usrkey *);
  33. extern BOOL KeyReadFile(void);
  34. extern void KeyVerify(usrkey *);
  35. extern BOOL KeyCheck(void);
  36.  
  37. void KeyGUI(void);                         
  38. #endif
  39.