home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 8 / FreshFishVol8-CD1.bin / gnu / os-include / workbench / startup.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  946b  |  40 lines

  1. #ifndef WORKBENCH_STARTUP_H
  2. #define WORKBENCH_STARTUP_H
  3. /*
  4. **    $VER: startup.h 36.3 (11.7.90)
  5. **    Includes Release 40.15
  6. **
  7. **    workbench startup definitions
  8. **
  9. **    (C) Copyright 1985-1993 Commodore-Amiga, Inc.
  10. **    All Rights Reserved
  11. */
  12.  
  13. #ifndef EXEC_TYPES_H
  14. #include "exec/types.h"
  15. #endif
  16.  
  17. #ifndef EXEC_PORTS_H
  18. #include "exec/ports.h"
  19. #endif
  20.  
  21. #ifndef LIBRARIES_DOS_H
  22. #include "libraries/dos.h"
  23. #endif
  24.  
  25. struct WBStartup {
  26.     struct Message    sm_Message;    /* a standard message structure */
  27.     struct MsgPort *    sm_Process;    /* the process descriptor for you */
  28.     BPTR        sm_Segment;    /* a descriptor for your code */
  29.     LONG        sm_NumArgs;    /* the number of elements in ArgList */
  30.     char *        sm_ToolWindow;    /* description of window */
  31.     struct WBArg *    sm_ArgList;    /* the arguments themselves */
  32. };
  33.  
  34. struct WBArg {
  35.     BPTR        wa_Lock;    /* a lock descriptor */
  36.     BYTE *        wa_Name;    /* a string relative to that lock */
  37. };
  38.  
  39. #endif    /* !WORKBENCH_STARTUP_H */
  40.