1 #ifndef WORKBENCH_HANDLER_H
2 #define WORKBENCH_HANDLER_H
5 Copyright © 2003, The AROS Development Team. All rights reserved.
9 #include <exec/types.h>
10 #include <exec/ports.h>
11 #include <workbench/startup.h>
15 WBHM_TYPE_SHOW
, /* Open all windows */
16 WBHM_TYPE_HIDE
, /* Close all windows */
17 WBHM_TYPE_OPEN
, /* Open a drawer */
18 WBHM_TYPE_UPDATE
/* Update an object */
21 struct WBHandlerMessage
23 struct Message wbhm_Message
;
24 enum WBHM_Type wbhm_Type
; /* Type of message (see above) */
30 CONST_STRPTR Name
; /* Name of drawer */
35 CONST_STRPTR Name
; /* Name of object */
36 LONG Type
; /* Type of object (WBDRAWER, WBPROJECT, ...) */
41 #define WBHM_SIZE (sizeof(struct WBHandlerMessage))
42 #define WBHM(msg) ((struct WBHandlerMessage *) (msg))
44 #endif /* WORKBENCH_HANDLER_H */