home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 447.lha / ToolManager_v1.0 / ToolManager.h < prev    next >
C/C++ Source or Header  |  1990-12-08  |  989b  |  38 lines

  1. #include <exec/types.h>
  2. #include <stdlib.h>
  3. #include <stdio.h>
  4. #include <string.h>
  5. #include <exec/libraries.h>
  6. #include <exec/memory.h>
  7. #include <dos/dos.h>
  8. #include <dos/dostags.h>
  9. #include <intuition/intuition.h>
  10. #include <workbench/icon.h>
  11. #include <workbench/startup.h>
  12. #include <workbench/workbench.h>
  13.  
  14. /* Prototypes for system functions */
  15. #include <clib/dos_protos.h>
  16. #include <clib/exec_protos.h>
  17. #include <clib/icon_protos.h>
  18. #include <clib/intuition_protos.h>
  19. #include <clib/wb_protos.h>
  20.  
  21. /* Entry for tool list */
  22. struct ToolNode {
  23.                  struct Node tn_Node;
  24.                  BPTR tn_DirLock;
  25.                  char *tn_Name;
  26.                  char *tn_RealName;
  27.                  struct AppMenuItem *tn_MenuItem;
  28.                  ULONG tn_ID;
  29.                 };
  30.  
  31. /* Prototypes for program functions */
  32. void startup(void);
  33. void mainloop(void);
  34. BOOL WBAddToolNode(struct WBArg *, int);
  35. BOOL AddToolNode(BPTR, char *, char *);
  36. void PrintActTools(void);
  37. void cleanup(int);
  38.