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

  1. #ifndef AMICHECK_H
  2. #define AMICHECK_H
  3. /**********************************************************************
  4. * amiCheck.h
  5. *
  6. * global externs for system-wide routines and variables
  7. *
  8. ***********************************************************************/
  9. #include <libraries/amigaguide.h>
  10. #include <clib/intuition_protos.h>
  11. #include <clib/asl_protos.h>
  12. #include <proto/amigaguide.h>
  13. #include <clib/amigaguide_protos.h>
  14. #include <clib/alib_protos.h>
  15. #include <libraries/amigaguide.h>
  16.  
  17.  
  18. #include "dataBase.h"
  19.  
  20. #define __USE_SYSBASE
  21. #include <libraries/guifront.h>
  22. #include <proto/guifront.h>
  23.  
  24. #define FILEPATTERN_SIZE    30
  25.  
  26. #define AmigaGuideSignal(x)     ((x)?AmigaGuideSignal(x):0)
  27.  
  28. extern char currFile[FILESIZE];
  29. extern char currStr[AMNTSIZE+1];
  30. extern char stateStr[AMNTSIZE+1];
  31. extern char filtStr[AMNTSIZE+1];
  32. extern char filePattern[FILEPATTERN_SIZE];
  33. extern char importPattern[FILEPATTERN_SIZE];
  34. extern char scriptPattern[FILEPATTERN_SIZE];
  35. extern char netPattern[FILEPATTERN_SIZE];
  36. extern struct Library *GUIFrontBase;
  37. extern struct Library *AmigaGuideBase;
  38. extern GUIFrontApp *guiapp;
  39. extern GUIFront *gui;
  40. extern ExtErrorData exterr;
  41. extern char *iconPath;
  42. extern BOOL autosort;
  43. extern BOOL amidone;
  44. extern BOOL seldone;
  45. extern UBYTE dclicktype;
  46. extern struct Menu *menuStrip;
  47. extern BOOL simpleRefresh;
  48. extern STRPTR AC_Version;
  49. extern STRPTR AC_Author;
  50. extern struct Window *amiWindow;
  51.  
  52. extern struct FileRequester *otherRexxASL, *netsaveASL, *netloadASL, *scriptASL,
  53.     *scriptsaveASL, *reportASL, *devASL, *loadASL;
  54.  
  55. extern AMIGAGUIDECONTEXT agc;
  56. extern BOOL amigaguide;
  57. __far extern char *guideLinks[];
  58.  
  59. /* guide help links */
  60. #define HELP_KEY    0x5f
  61.  
  62. enum {
  63.     MAIN_PANEL,
  64.     SELTEMP_PANEL,
  65.     NEWTEMP_PANEL,
  66.     EDITTEMP_PANEL,
  67.     FILTER_PANEL,
  68.     SORT_PANEL,
  69.     ANALYSIS_PANEL,
  70.     FORMS_PANEL,
  71.     ENTRY_PANEL,
  72.     RECONCILE_PANEL,
  73.     ACCOUNT_PANEL,
  74.     SEARCH_PANEL,
  75.     CAT_PANEL,
  76.     STATS_PANEL,
  77.     REPORT_PANEL,
  78.     SCRIPT_PANEL,
  79.     QUICKMEMO_PANEL,
  80.     QUICKDATE_PANEL,
  81.     QUICKNAME_PANEL,
  82.     QUICKAMNT_PANEL,
  83.     MEMO_PANEL,
  84.     AMNT_PANEL,
  85.     NAME_PANEL,
  86.     NET_PANEL,
  87.     PRINT_PANEL,
  88.     GROUP_PANEL,
  89.     AREXX_PANEL,
  90.     KEY_PANEL,
  91. };
  92.  
  93. void AmiDisableSel(BOOL);
  94. void AmiUpdateState(char *);
  95. void AmiUpdateCurr(char *);
  96. void AmiUpdateFilt(char *);
  97. void AmiMoveSwap(void);
  98. void AmiLock(void);
  99. void AmiUnlock(void);
  100. void AmiEnterData(void);
  101. void AmiNewTemp(void);
  102. BOOL AmiSave(char *, BOOL);
  103. BOOL AmiGetFile(GUIFront *gui, struct FileRequester *, char *, int); 
  104. void AmiOpen(char *, BOOL);
  105.  
  106. void AmiBaseLink(char *);
  107. void AmiHelpMsg(void);
  108. void AmiHelpKey(struct IntuiMessage *imsg,ULONG panel);
  109. void AmiAnnounce(char *);
  110. #endif
  111.