home *** CD-ROM | disk | FTP | other *** search
- #include <exec/types.h>
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
- #include <exec/libraries.h>
- #include <exec/memory.h>
- #include <dos/dos.h>
- #include <dos/dostags.h>
- #include <intuition/intuition.h>
- #include <workbench/icon.h>
- #include <workbench/startup.h>
- #include <workbench/workbench.h>
-
- /* Prototypes for system functions */
- #include <clib/dos_protos.h>
- #include <clib/exec_protos.h>
- #include <clib/icon_protos.h>
- #include <clib/intuition_protos.h>
- #include <clib/wb_protos.h>
-
- /* Entry for tool list */
- struct ToolNode {
- struct Node tn_Node;
- BPTR tn_DirLock;
- char *tn_Name;
- char *tn_RealName;
- struct AppMenuItem *tn_MenuItem;
- ULONG tn_ID;
- };
-
- /* Prototypes for program functions */
- void startup(void);
- void mainloop(void);
- BOOL WBAddToolNode(struct WBArg *, int);
- BOOL AddToolNode(BPTR, char *, char *);
- void PrintActTools(void);
- void cleanup(int);
-