1 #ifndef __WORKBENCH_HANDLER_H__
2 #define __WORKBENCH_HANDLER_H__
5 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
8 Headers for the Workbench Handler.
11 #include <aros/asmcall.h>
12 #include <exec/types.h>
13 #include <exec/ports.h>
15 #include <workbench/handler.h>
17 /*** Messages ***************************************************************/
20 WBCM_TYPE_LAUNCH
, /* Launch a program */
21 WBCM_TYPE_RELAY
/* Relay a message to the workbench application */
24 struct WBCommandMessage
26 struct Message wbcm_Message
;
27 enum WBCM_Type wbcm_Type
;
33 struct WBStartup
*Startup
;
38 struct WBHandlerMessage
*Message
;
41 struct TagItem
*wbcm_Tags
;
44 #define WBCM_SIZE (sizeof(struct WBCommandMessage))
45 #define WBCM(msg) ((struct WBCommandMessage *) (msg))
47 /*** Prototypes *************************************************************/
50 LONG
, WorkbenchHandler
,
51 AROS_UFPA(STRPTR
, args
, A0
),
52 AROS_UFPA(ULONG
, argsLength
, D0
),
53 AROS_UFPA(struct ExecBase
*, SysBase
, A6
)
56 #endif /* __WORKBENCH_HANDLER_H__ */